# godot-adapt-mobile-to-desktop

godot-adapt-mobile-to-desktop guides a mobile-to-desktop Godot port with mouse and keyboard input, resized UI, display settings, window modes, and platform hooks.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 328 installs · ★ 983 repo stars
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-adapt-mobile-to-desktop/SKILL.md
- Updated: 2026-10-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/godot-adapt-mobile-to-desktop

## What it does

This skill lays out a desktop port plan for a mobile Godot game. It covers replacing touch actions with mouse and keyboard input, adjusting compact mobile controls, adding hover behavior, and exposing resolution, graphics, fullscreen, and window choices.

The package includes GDScript files for input bridging, captured mouse movement, key rebinding, cursor state, frame-rate settings, resolution selection, window placement, and quit confirmation. Other scripts handle UI density and wheel-based zoom. A captured FPS or orbit camera needs `mouse_capture_look.gd`; `desktop_input_adapter.gd` alone provides top-down aiming.

The suggested order starts with input and UI, then moves to window handling, display quality, and optional GDExtension integrations. Steam and Discord setup should stay behind feature checks or editor-safe stubs. Before calling the port complete, run `desktop-port-testing-checklist.md`.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-mobile-to-desktop -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/godot-adapt-mobile-to-desktop/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/godot-adapt-mobile-to-desktop/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-mobile-to-desktop -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/godot-adapt-mobile-to-desktop/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-mobile-to-desktop -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-adapt-mobile-to-desktop/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills skills/godot-adapt-mobile-to-desktop
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-adapt-mobile-to-desktop/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-mobile-to-desktop -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-adapt-mobile-to-desktop
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-adapt-mobile-to-desktop/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-adapt-mobile-to-desktop -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-adapt-mobile-to-desktop/SKILL.md

## When to use it
- map touch actions to mouse and keyboard
- resize mobile controls for desktop UI
- add fullscreen, borderless, and windowed modes
- configure resolutions, VSync, and graphics quality
- persist key bindings and confirm window close

## Example prompts
- Adapt this Godot mobile game for desktop mouse and keyboard input.
- Port the game to desktop and set up window modes, resolutions, UI density, and multi-monitor placement.
- Check the scripts needed for an FPS camera, key rebinding, wheel zoom, and quit confirmation.

## Similar
- [scenario-godot-performance-export](https://affpapa.org/en/nevibecode/skills/scenario-godot-performance-export.md) — skill · 452 installs
- [godot-ui-control](https://affpapa.org/en/nevibecode/skills/godot-ui-control.md) — skill · 13100 installs
- [godot-animation](https://affpapa.org/en/nevibecode/skills/godot-animation.md) — skill · 12900 installs
- [godot-ui](https://affpapa.org/en/nevibecode/skills/godot-ui.md) — skill · 2700 installs
- [godot-asset-generator](https://affpapa.org/en/nevibecode/skills/godot-asset-generator.md) — skill · 1000 installs
- [spritecook-use-assets-in-godot](https://affpapa.org/en/nevibecode/skills/spritecook-use-assets-in-godot.md) — skill · 773 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 100 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
