Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search. I am currently programming an iPhone game and I would like to create an online multiplayer mode. In the future, this app will be port to Android devices, so I was wondering how to create the game-server?
Setup and system requirements
No waiting for lengthy downloads or updates
If your game uses a backend server, we recommend that you use Google Sign-In to authenticate players and securely pass the player's identity to the backend server. This also enables your game to securely retrieve the player's identity and other data without being exposed to potential tampering while passing through the device. In this scenario, your game prompts the player to sign in to Google Play games services as usual. When the player signs in successfully, the GoogleSignInAccount object contains a special single-use code called the server auth code that the client passes to the server. Then, on the server, exchange the server auth code for an OAuth 2. For additional guidance on adding sign-in in your games, see Sign-in in Android Games. To see a detailed code sample showing how to use Google Sign-In to authenticate players, see the clientserverskeleton sample on GitHub. Google Play Game services does not provide back-end support for Web games. However, it does provide back-end server support for your Android game's server.
Before you begin
How to use cloud gaming. Note Cloud gaming is not currently supported on iOS devices. Also, while cloud gaming as part of Xbox Game Pass Ultimate may work on devices running modified, alternate, or emulated versions of Android OS, those systems are still being evaluated and players may see an unexpected or degraded play experience. Collapse all Setup and system requirements.
Learn how to globally deploy and scale to 1M players in less than 10 minutes. Register to download this report. Game Servers takes the pain out of managing your global game server infrastructure, so you can focus on creating great games faster, without increasing complexity or compromising on performance. Game Servers fully manages Agones , an open source game server management project that runs on Kubernetes. Automatically scale your fleet for daily peaks, game events, or content drops, and easily manage multiple versions of your game server code. Automate fleets of game servers across multiple Agones clusters, schedule scaling events, and monitor the health of your fleets using familiar tools like Terraform. Benefit from the flexibility of open source and avoid vendor lock in. Opt out of management at any time to manually manage game server fleets.