Android game developers who have previously focused on small-screen mobile devices and touch-centric input will have some considerations to take into account when adapting their game to Chrome OS.
Large screens and a windowed operating system bring a lot of opportunities for enhancements, as well as responsibilities toward your users to meet expectations. Likewise, keyboard, mouse, trackpad, and gamepad support are a must for stand-out games in a desktop environment. Getting all these components working well together across the Android ecosystem may take some profiling and tuning. Here are some code snippets, pointers to documentation, and some Chrome OS specific tips and tricks here to help you get started:
- Input support to learn about keyboard, mouse, controller, stylus input handling.
- Large screens has information about window management.
- Optimizing display size explains how to determine display resolution for rendering.
- Publishing considerations to learn about x86/arm support, including properly packaging 32/64 bit support to achieve high performance.
- Multiplayer networking to learn about network support for multi-player.
- Performance profiling to learn how to profile and find performance bottlenecks in your game.
- Game engines for resources and tips for using common game engines (Unity, Unreal, Cocos2d).
Create games for Chrome OS
A recap of Google at the Game Developer Conference 2019 with some helpful coding tips and tricks.
More than 100,000 players have already played War Robots, averaging longer sessions on Chromebooks compared other Android devices, thanks to just two weeks time of a five member team.