1. Set variable for player as and value to however much HP you want
2. Create event -collision with bullet, guard, rabid dog, etc. -set variable to negative (how much HP you want to lose and make it relative) -IF variable is less than 1 (check by using test variable), destroy instance (the player)
HOW TO MAKE HEALTH 4 PLAYER!!!!11
ReplyDelete1. Set variable for player as and value to however much HP you want
2. Create event
-collision with bullet, guard, rabid dog, etc.
-set variable to negative (how much HP you want to lose and make it relative)
-IF variable is less than 1 (check by using test variable), destroy instance (the player)
Information taken from: Google