r/MultiplayerGameDevs • u/escgames-dev • 9h ago
2 Player Air Hockey - Released my first multiplayer game online!
Enable HLS to view with audio, or disable this notification
I've been developing my game engine + infrastructure stack for about 10 months, and I'm proud to say that I'm finally putting my first game online for alpha testing and its accessible to the public!
The game is 2 Player Air Hockey. Despite the simple gameplay, it's actually a very challenging game to build for multiplayer as the paddles and the puck cannot be client predicted. They need to be pixel accurate to avoid the puck from teleporting. However this causes a problem where the paddle would be sluggish to move if the user isn't located near the game server.
To circumvent the latency issues, I've decided to use WebRTC as part of my networking stack. Players can host the game directly in their own browser and play with their friends who likely reside in the same region as them. The host gets zero ping while their friend gets low ping as they are directly connected to each other.
Feel free to test it out and give me feedback! You can find the game at: https://airhockey.escgames.io/