SS3D icon indicating copy to clipboard operation
SS3D copied to clipboard

Spawn clients on different tiles

Open stilnat opened this issue 5 months ago • 3 comments

Summary

Currently, clients are spawning at the exact same location, resulting in clipping. Before spawning a player, server should choose a free tile, without tile objects or players and spawn the new player there.

One simple solution would be to predefine a list of tile location spawn and spawn the player on any of those, if it's free. If no free location, spawn at (0,0) with an error message for now. We'll improve the algorithm later.

stilnat avatar Mar 10 '24 12:03 stilnat