In the CocosCreator version, I had a real struggle figuring out what features are necessary for a smooth multiplayer experience and in what order should they be implemented.
Here's the order of the necessary steps for taking the "(relatively) easy mode" this time.
- No recovery upon reconnection & Websocket Only + Lockstep
- No BackendDynamics is needed in this version
- We need the
RoomManager
on backend to put connected players into correct rooms - We need the prediction algorithm of change#1 & change#2 to help frontend predict movements smoothly
- We need the Lockstep-ish implementation in spot#1 & spot#2 to cope with the potential avalanche from
ACTIVE SLOW TICKER
in ConcerningEdgeCases
- Add UDP capability (including the backend tunnel)
- Add BackendDynamics & type#1 & type#2 force confirmation