#mario life system
1 messages · Page 1 of 1 (latest)
Global variable lives
When dying
If lives > 0
Set lives - 1
Else
[Game over]
And for 1 ups just do
When colliding with main actor
Set lives + 1
Execute command self destroy
1 messages · Page 1 of 1 (latest)
Im making a retro engine and i have a problem,i don't know how to make the life system,how do I do that?
Global variable lives
When dying
If lives > 0
Set lives - 1
Else
[Game over]
And for 1 ups just do
When colliding with main actor
Set lives + 1
Execute command self destroy