All skills
thedivergentai avatar

/godot-adapt-desktop-to-mobile

@9d6e91e

Expert patterns for porting desktop games to mobile including touch control schemes (virtual joystick, gesture detection), UI scaling for small screens, performance optimization for mobile GPUs, battery life management, and platform-specific features. Use when creating mobile ports or cross-platform mobile builds. Trigger keywords: TouchScreenButton, virtual_joystick, gesture_detector, InputEventScreenTouch, InputEventScreenDrag, mobile_optimization, battery_saving, adaptive_performance, MOBILE_ENABLED.

Use this Skill: https://skilld.dev/gh/thedivergentai/gd-agentic-skills/godot-adapt-desktop-to-mobile

This session only. Nothing lands on disk.

referencesmigration-notes.md

≈692 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Migration notes: godot-adapt-desktop-to-mobile

Incremental upgrade for topics this skill covers. Apply one hop, stabilize/test, then next. Never skip hops.

If the project is < 4.0, follow godot-version-migration era bridges (legacy → 3→4) until 4.0, then these hops. Official 3→4: Upgrading from Godot 3 to Godot 4.

4.0 → 4.1

Official: Upgrading to Godot 4.1

No skill-relevant breaking changes for this hop.

4.1 → 4.2

Official: Upgrading to Godot 4.2

  • Mesh compression upgrade — mobile download size jumps if desktop meshes were uncompressed.

4.2 → 4.3

Official: Upgrading to Godot 4.3

  • Android permissions require explicit OS.request_permission() — desktop-origin projects often miss VIBRATE/storage prompts.
  • auto_translate_mode inherit semantics — HUD strings may stop translating after port.
  • Default font outline color black — retheme dialogue/HUD copied from desktop.

4.3 → 4.4

Official: Upgrading to Godot 4.4

  • Motion sensors off by default — enable before porting tilt/gyro desktop prototypes.

4.4 → 4.5

Official: Upgrading to Godot 4.5

  • C# Android export requires .NET 9 when shipping C# mobile builds.
  • ProjectSettings.add_property_info() stricter validation for mobile-specific settings.

4.5 → 4.6

Official: Upgrading to Godot 4.6

  • Mobile renderer glow rewrite — retune bloom when downscaling desktop HDR looks.
  • Android src/main/java/... layout — update any JNI bridges added during port.
  • New Windows dev machines default D3D12 — keep desktop iteration separate from mobile renderer choice.

4.6 → 4.7

Official: Upgrading to Godot 4.7

  • Built-in virtual joystick — replace desktop keyboard hints with native touch controls.
  • New stretch defaults canvas_items + expand — re-run safe-area and orientation layout tests.
  • HDR mobile output — verify tonemapping when adapting desktop color grading.

Source: SKILL.md on GitHub

1 alert16d5 checks · Risk HIGH
  • Gen Agent Trust Hub16d

    The skill provides Godot scripts for porting desktop games to mobile but contains a high-severity security finding due to a hardcoded encryption key in the save synchronization logic. This undermines the security of user data. Additionally, it identifies a low-risk attack surface for indirect prompt injection via unvalidated input events.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    3/3 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 9d6e91e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 2 months ago

README badge

README badge for thedivergentai/gd-agentic-skills/godot-adapt-desktop-to-mobile