platform-desktop
Installation
SKILL.md
Platform: Desktop
Settings flexibility, window management, and kb/mouse precision define desktop gaming.
Available Scripts
desktop_integration_manager.gd
Expert desktop integration (Steam achievements, settings persistence, window management).
NEVER Do in Desktop Development
- NEVER hardcode resolution/fullscreen — 1920x1080 fullscreen on 4K monitor? Blurry mess. ALWAYS provide settings menu with resolution dropdown + fullscreen toggle.
- NEVER save settings to
res://—res://is read-only in exported builds. Useuser://settings.cfgfor persistent config via ConfigFile. - NEVER ignore Alt+F4 or Cmd+Q — Player presses Alt+F4, nothing happens = frustration. Handle
NOTIFICATION_WM_CLOSE_REQUESTto quit gracefully. - NEVER lock rebinding — Fixed WASD movement ignores AZERTY/Dvorak keyboards. MUST allow InputMap rebinding via settings.
- NEVER use
linear_to_db()wrong — Volume slider 0-1 directly to AudioServer? Perceptually wrong curve. UseAudioServer.set_bus_volume_db(0, linear_to_db(slider.value)). - NEVER skip borderless fullscreen option — Exclusive fullscreen breaks Alt+Tab on Windows. Offer
WINDOW_MODE_EXCLUSIVE_FULLSCREEN+WINDOW_MODE_FULLSCREEN(borderless).