How can I make a game where when the player collides with the ground they loose a life and restart


1 Like

Hey there, you can put very large thin clear wall on the floor.

1 Like

Thanks, very helpful.

1 Like

You can also code it like this right?

2 Likes

Yeah, you can code it like that. Only one little mistake. When you create variable number is better to use number value . There is β€œ0” in value section of data. You can put it into the variable value place and choose your number.
It’s working otherwise too, but we have to show diffrence between string and int/float.

1 Like