(1) Spawning
77 Write code to Spawn the Player
77 Write code to Spawn the Player
78 Add an instance variable to the PlayerController
78 Add an instance variable to the PlayerController
Type is Number
Type is Number
Value is 3 (to represent hearts)
Value is 3 (to represent hearts)
79 Create a new Event Sheet to store Global Variables
79 Create a new Event Sheet to store Global Variables
80 Add a global variable to the evGlobal , call it PlayerLife with a value of 3 (RIGHT-CLICK Add Global Variable)
80 Add a global variable to the evGlobal , call it PlayerLife with a value of 3 (RIGHT-CLICK Add Global Variable)
It will represent the players health
It will represent the players health
Global means it's usable throughout every event sheet in the project without including the sheet.
Global means it's usable throughout every event sheet in the project without including the sheet.
81 Update the Player Spawn
81 Update the Player Spawn