Twin Stick Shooter - 13 - Respawning the Hero

At this time, if the Hero Character’s health drops to zero or below, it will be destroyed. This causes a problem that we will fix by adding respawn behavior to our game. Keep in mind that this is only one possible way to handle respawning the player character. Many games teleport the character back to a spawn point and reset health, rather than incur the performance cost of having to destroy and respawn an actor. For our purposes however, the method shown here provides an elegant and easy-to-follow approac
Back to Top