godot-platform-mobile

Configures Android/iOS-ready Godot projects with touchscreen UI and battery-saving settings.

488|36|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-platform-mobile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godot-platform-mobile
Source: https://github.com/thedivergentai/gd-agentic-skills/tree/main/skills/godot-platform-mobile
Command: npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-platform-mobile

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the unique challenges of developing Godot Engine games for mobile platforms (Android/iOS), ensuring a smooth, optimized, and user-friendly experience.

Core Features & Use Cases

  • Touch Input Handling: Implements robust touch controls, replacing traditional mouse/keyboard inputs with InputEventScreenTouch and InputEventScreenDrag.
  • Responsive UI & Safe Areas: Manages UI scaling for various screen sizes and correctly handles notches/cutouts using DisplayServer.get_display_safe_area().
  • Performance & Battery Optimization: Provides strategies to reduce Engine.max_fps when the application loses focus, conserving battery life.
  • Use Case: Develop a Godot game that feels native on mobile devices, with intuitive touch controls, a UI that adapts to different screen shapes, and optimized performance to maximize battery life.

Quick Start

Configure your Godot project for mobile deployment by enabling VRAM compression and setting the appropriate orientation in project.godot.

Frequently Asked Questions about godot-platform-mobile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle touch input in Godot for mobile games?

Manage Godot mobile UI scaling and screen cutouts by using DisplayServer.get_display_safe_area(). This adapts your interface to various screen sizes and correctly handles device notches for a native user experience.

What is the best way to optimize battery life for a Godot mobile game?

Optimize Godot mobile game battery life by reducing Engine.max_fps when the application loses focus. This performance strategy minimizes background resource usage, conserving device power while the player is inactive.

How do I configure Godot project settings for Android and iOS deployment?

Configure Godot project settings for Android and iOS deployment by enabling VRAM compression and setting the appropriate screen orientation in project.godot. These essential settings prepare your game for efficient mobile releases.

Does Godot require specific UI scaling for different mobile screen sizes?

Godot requires specific UI scaling for different mobile screen sizes to ensure responsiveness. Implementing proper UI scaling strategies guarantees your game's interface adapts seamlessly across various Android and iOS device dimensions.

Why does my Godot mobile game drain battery when running in the background?

Your Godot mobile game drains background battery because it fails to reduce Engine.max_fps upon losing focus. Implementing performance optimization strategies to lower frame rates when inactive prevents excessive battery consumption.