bevy-adapt-mobile-to-desktop
Installation
SKILL.md
Bevy adapt mobile to desktop
When to use
Load this when a touch-first game gains a window, mouse, and keyboard. Window setup is bevy-platform-desktop.
ECS shape
- Window:
Window,WindowMode, andPrimaryWindow. - Input: keyboard, mouse, and gamepad features are named on the crate page and already used by bevy-input-handling.
- Cursor:
CursorGrabModeandCursorOptionsare on the window page. Check that page for grab semantics before writing them.
Coming from Godot
| Godot idea | Bevy idiom |
|---|---|
| Touch buttons | Keyboard and mouse via bevy-input-handling. |
| Portrait layout | A wider Node tree. No orientation type was opened. |
| Cursor lock | CursorGrabMode exists. Check the window page for variants before writing them. |