bevy-platform-mobile
Installation
SKILL.md
Bevy mobile platform
When to use
Load this when targeting touch devices. Store listings and OS permission dialogs stay outside the crate. XR is a separate topic.
ECS shape
- Input:
Touchesholds active contacts.PinchGestureis a message for two-finger pinch on iOS and macOS. - Android: enable the
android-game-activityfeature.android-native-activityis the legacy activity. - Power:
WinitSettings::mobile()waits on input while focused and drops to a one-second wait when unfocused. - iOS edges:
Window::preferred_screen_edges_deferring_system_gesturestakes aScreenEdge. - Textures: ASTC shows up as
TextureFormat::Astcon anImagedescriptor after the asset loads.