Devlogs
Successful 6-Man Multiplayer Match! Asteroidains Release v0.4.1.140
Posted May 19, 2021 by Bamboy
#update #stability #multiplayer
I am ecstatic to announce that a week ago, a full multiplayer game of 6 players was completed successfully! On top of this, I have been working to polish the overall experience one would expect of any game or program.
Gameplay:
- Grapple logic for rope bending around the terrain. WIP and this still needs improvements!
- Jumping now prevents you from moving at the same time.
- Jumping will now finish even if the turn timer runs out during the jump.
- Fixed turn being ended if you were to take fall damage, but game rules have fall damage disabled.
- Fixed weapon not changing at the start of the turn, if that weapon had no ammo left.
- Fixed visual error with pickaxe not showing the correct aiming angle after switching weapons.
General:
- After a game is completed, you will now be returned to the lobby you came from. No mandatory need to restart after every match!
- Windows tray flashes to alert you that it is your turn, if game window is not selected.
- Added keybinds for panning the camera.
- Added keybind "presets" to the options menu. You can now easily play with W:A style controls!
Multiplayer Lobby:
- Entirety of game rules are now sent to newly connected clients. No need to wait for clients to connect before configuring the rules, teams, or choosing a level.
- Game rules shown in lobby UI now properly show the real game rules as they change.
- Added player "ready" indicator.
- Better management of client authority changing. (Who can change the game rules)
Backend:
- Refactored game rules to be extremely versatile, extendable, and event driven. Server now has command "rules".
- Upgraded DarkRift 2 to v2.9.1 (Multiplayer backend plugin)
It was important to me that I get a multiplayer-stable build of the game released, so while I did do a lot to polish the multiplayer side of things (especially in the lobby), there are still some things that will soft lock the game.
Known Multiplayer Softlock Bugs:
- There is no connection "timeout" for clients or server.
- Clients do not get notified of the server closing.
- There are infrequent cases of Reliable messages not being sent/received. I'm still looking into the cause of this. Depending on the kind of message, this will softlock everyone connected to the game. (Like ready state messages, or loading done messages)
- Clients disconnecting while taking their turn in game will softlock everyone else.
- Clients disconnecting while in game, in general. I need to do more testing lol.
If you like the game, it would mean a lot if you could throw me a few bucks! :)