Player Death and Saving - 15th Feb
- Ibrahim Hussain
- Feb 15, 2024
- 1 min read
Added player death (disable input, stop movement etc)
When player dies, death screen appears
Player can press any button to respawn
Added respawn points, which also save the player data so players can continue after they exit the game and play again
Respawn points work with the interact system
Added respawn checks so two players don't spawn on same respawn point Issues
Players needed to be able to interact with the save points but also other actors so added an interact component which can be attached to any actor.
Player data needs to be saved so added a USaveGame class which saves important data such as player location for respawning
Comments