An online 2D space battler that I have been making for the last couple of weeks, transferring it from old developments and testing the possibility of implementing the network part in default, as well as those things that I have not written here yet. Game
Peculiarities:
- a completely authoritarian server that does all the calculations (the server is now also on Defold)
- real online (of course there are bots when there are few players)
- box2d collision physics
- seamless “endless” world
- leaderboard
- radar for convenience and beauty
- ships, asteroids, bonuses
- and many other small things…
PC control: (everything is obvious from the phone)
- right button (hold) - flight acceleration
- left - shots
The metrics at the top are frame rate, number of incoming data per second and ping from the server.
Some technical details:
The server is located in Poland, written in Bun.
Interpolation is fixed - 150ms, if the ping is higher than this number, then the game will be uncomfortable (dynamic adjustment is disabled).
UPD:
now the server is written in Defold.