voxel / ideas

issue tracker for new voxel.js plugin ideas
4 stars 1 forks source link

Player respawning algorithm #10

Open deathcap opened 10 years ago

deathcap commented 10 years ago

Safely (re)spawn the player at a suitable location. Currently, voxel-player/engine lets you specify initial coordinates directly. But with a random seed, an appropriate coordinate is not always known beforehand (wouldn't want to spawn inside a mountain, too high in the sky, on a dangerous obstacle, etc.).

Similar algorithm could be used for respawning the player after death (possibly with a random offset).

deathcap commented 10 years ago

http://minecraft.gamepedia.com/Spawn/Multiplayer_Details http://sargunster.com/btw/index.php?title=Hardcore_Spawn