bevy-adapt-desktop-to-mobile
Installation
SKILL.md
Bevy adapt desktop to mobile
When to use
Load this when a desktop window game must accept touch and a smaller layout. Platform features are on bevy-platform-mobile.
ECS shape
- Input:
touchandgesturesfeatures exist. Action mapping lives on bevy-input-handling. - UI: scale nodes with
Nodelayout. Check the window docs for a dpi component before writing one.WindowResolutionand scale-factor events exist on the window page (WindowScaleFactorChanged). - Textures: ASTC is mentioned only as a compression feature blurb.
Coming from Godot
| Godot idea | Bevy idiom |
|---|---|
| Mouse | Touch feature. Check the input docs for pointer unification before writing it. |
| Hover menus | Replace hover-only actions. UI picking exists as ui_picking. Check that feature's docs for behavior before writing it. |
| Safe margins | Unverified. |