thedivergentai avatar

Godot Adapt Desktop To Mobile

This covers the full workflow of porting a desktop Godot game to mobile, from touch controls to performance management. You get production-ready scripts for dynamic virtual joysticks that spawn where fingers land, adaptive resolution scaling that drops render quality to hold 60fps, and gesture recognition for swipes and pinch-to-zoom. The battery saver script is critical: it hooks the app pause notification to throttle FPS and prevent the OS from killing your game in the background. Also includes safe area handling for notches, haptic feedback, and shader fallback systems that strip expensive materials on weak GPUs. Use this when you need more than just slapping TouchScreenButtons onto a desktop game and calling it mobile.

skills.sh installs
220
GitHub stars
464
last updated
Aug 21, 2026

Install

$ npx -y skills add thedivergentai/gd-agentic-skills --skill godot-adapt-desktop-to-mobile --agent claude-code

Installs into .claude/skills of the current project.

Files

Adapt: Desktop to Mobile

Expert guidance for porting desktop games to mobile platforms.

NEVER Do

  • NEVER use mouse position directly — Touch has no "hover" state. Replace mouse_motion with screen_drag and check InputEventScreenTouch.pressed.
  • NEVER keep small UI elements — Apple HIG requires 44pt minimum touch targets. Android Material: 48dp. Scale up buttons 2-3x.
  • NEVER forget finger occlusion — User's finger blocks 50-100px radius. Position critical info ABOVE touch controls, not below.
  • NEVER run at full performance when backgrounded — Mobile OSs kill apps that drain battery in background. Pause physics, reduce FPS to 1-5 when app loses focus.
  • NEVER use desktop-only features — Mouse hover, right-click, keyboard shortcuts, scroll wheel don't exist on mobile. Provide touch alternatives.

Available Scripts

MANDATORY: Read the appropriate script before implementing the corresponding pattern. Do not paste joystick/gesture/UI tutorials inline.

Sponsors

Details

Repository
github.com/thedivergentai/gd-agentic-skills
Categories
AI & Agent Building, Debugging, Mobile Development, Game Development
First seen
Jun 3, 2026

More from thedivergentai/gd-agentic-skills

All 51
1get-convex avatarschema-builderget-convex/convex-agent-pluginsDesign and generate Convex database schemas with proper validation, indexes, and relationships. Use when creating schema.ts or modifying table definitions.219skills.sh installs
2thedivergentai avatargodot-genre-action-rpgthedivergentai/gd-agentic-skillsComprehensive blueprint for Action RPGs including real-time combat (hitbox/hurtbox, stat-based damage), character progression (RPG stats, leveling, skill trees)218skills.sh installs
3gleapsdk avatargleap-sdk-setupgleapsdk/agent-skillsIntegrates the Gleap customer feedback SDK into projects. Detects the platform (JavaScript, iOS, Android, React Native, Flutter, Ionic Capacitor, Cordova, Flutt217skills.sh installs
4intellectronica avatarmonologue-notes-apiintellectronica/agent-skills>217skills.sh installs
5leeguooooo avatarzentaoleeguooooo/zentao-mcpDEPRECATED — prefer the official zentao-cli (https://github.com/easysoft/zentao-cli) and its skills (https://github.com/easysoft/zentao-skills) for new setups. 217skills.sh installs
6liangdabiao avatarcitation-validatorliangdabiao/claude-code-stock-deep-research-agent验证研究报告中所有声明的引用准确性、来源质量和格式规范性。确保每个事实性声明都有可验证的来源,并提供来源质量评级。当最终确定研究报告、审查他人研究、发布或分享研究之前使用此技能。217skills.sh installs