I’m happy to show you my first finished game, made with Phaser.
For many years I’m using Phaser in my spare time. Some years ago, I started programming this game with Phaser 2 and Box2D as physics engine. Some month ago, I restarted developing it by using Phaser 3 and the build-in MatterJS support.
For the multiplayer support, I’m using the realtime database of Firebase. I think the most effort I spent to get the multiplayer running. It was very challenging, because the physic simulations on different browsers and system may differ slightly. This was due, that browsers on different system uses different implementation for mathematical functions like Math.sin(x).
Now I’m overwriting these function in startup by using Trigfills (GitHub - strainer/trigfills: Sin, cos, tan, asin... polyfills for when cross browser consistency is desired.). The simulation now runs on all system exactly identical.
The singleplayer mode uses a very simple AI, but sometimes it looks ‘smart’. My children love to play against this simple AI, as they will often win
You will have the most fun, if you play a multiplayer game. As it is nearly impossible, that another player will be online at same time, you should play with friends.
Link to the game: https://hechsagon.itch.io/ultimate-air-soccer
I would be very happy to receive feedback.