godot-platform-desktop
Installation
SKILL.md
Platform: Desktop
Settings flexibility, window management, and kb/mouse precision define desktop gaming.
NEVER Do (Expert Desktop Rules)
Window & Display
- NEVER hardcode resolution or fullscreen modes — Always provide a settings menu with resolution + mode toggle.
- NEVER ignore DPI scale factors — Use
DisplayServer.screen_get_scale()/ usable rects. - NEVER skip a borderless window option — Offer
WINDOW_MODE_FULLSCREEN(borderless) for multi-monitor focus.
Input & Persistence
- NEVER use
keycodefor movement rebinds — Usephysical_keycodefor AZERTY/Dvorak. - NEVER save settings or user data to
res://— Alwaysuser://. - NEVER skip
NOTIFICATION_WM_CLOSE_REQUEST— Flush ConfigFile beforeget_tree().quit().