Things to consider when building a cross-platform game:
- Minimum button sizes for touch displays and small screen (eg steamdeck, mobile, nintendo switch hand held mode) is about 60 pixels. Anything smaller will fail lotcheck (Apple, Android, Nintendo).
- Visual feedback of UI interactions (Android, Apple lotcheck -> they'll reject a feature/showcase of your game if you don't have this).
- Safe area/layout considerations. Avoid things like notches and app switch "chin". If you're making a game that can render edge to edge/without letter boxing. Test at an aspect ratio of 21:12 (1680x960). Your safe are should be centered with an aspect ratio of 16:9.
- Button input detection with keyboard, touch, and gamepad. Navigation using keyboard, gamepad, mouse.
- Anything below 22px font size is pretty much unreadable on small screens (mobile, Steam Deck, Switch Lite).
- Text fields is a world of pain on console and is delegated to the OS (think javascript alert box).
- Scrollable/overflow UIs are extremely inaccessible to the blind and those with disabilities related to motor function.