hackerspace-ntnu / Red-Planet-Rampage

Red Planet Rampage is a dieselpunk western-themed arena shooter where players face off with wacky modular guns.
https://store.steampowered.com/app/2717710/Red_Planet_Rampage/
BSD 4-Clause "Original" or "Old" License
19 stars 0 forks source link

Refactor player spawning so server just starts spawning the required players, and we only wait for initialization #780

Open toberge opened 3 months ago

toberge commented 3 months ago

Essentially, the messages sent in SendSpawnRequestsAfterSceneLoad should be replaced with direct calls to spawn methods. Initialization needs to be handled on each client afterward, as usual. Note that we might need to wait until the clients are ready before spawning? I'm not sure though