direction = 0, right
direction = 90, up
direction = 180, left
direction = 270, down
Don't put "set lives" etc. in the Create event of the obj_controller, instead, put in the the "Game start" event. Because when the player loses one life and "restart the current room", the actions in Create event of the obj_controller will be execurated and you will see your number of lives doesn't decrease by 1.
Top Universities in Saudi Arabia
1. King Saud University in Riyadh, the first university established in Saudi Arabia and is known for its strong research output and aca...
-
The difference between mild, medium, and mature Cheddar cheese is their age. Mild Cheddar - about 3 months of age medium Cheddar - about...
-
HSBC Receiving Euros from the EEA: no fee Receiving Less than £100 from outside the EEA: £5 Receiving More than £100 in another currency, ...