Phaser is perfect for single-player games since physics and collision happen on the client side. But what if you want to create a multiplayer game? Enter Rune, a social gaming app with millions of people playing HTML5-based games together across iOS and Android.

Rune multiplayer

Their mission is to make mobile gaming more social and enable indie game developers to get their games into the hands of millions of players. By leveraging the Rune SDK, developers can add multiplayer capabilities to their Phaser games and get access to tons of new players by adding their app to the Rune platform. Now that's a win-win!

In Rune's new tutorial, they cover how to extend the Phaser 3 tutorial game by running its physics on both the client(s) and validating server. Here's the final result in action:

Rune multiplayer

Add multiplayer to your Phaser game