andye456 / RandomRooms

0 stars 0 forks source link

Remove the player from the maze generation so players state can be maintained between levels #12

Open andye456 opened 4 years ago

andye456 commented 4 years ago

Currently the player is generated at the same time as the maze, whenever a new maze is generated a new player is generated. In order to maintain player state between levels then the player needs to be separate from the maze, the only thing that needs to change when a new maze is generated is that the player needs to be placed at (0,0).

Put the player in the maze when the server is started or a new game is started.