Okay, you have this noLoop() Statement already.
You could also go to another screen by setting a new variable state to 1 when the car crashes
Then in draw evaluate state: if ==0 the code you have in draw() now otherwise text() you lost
Okay, you have this noLoop() Statement already.
You could also go to another screen by setting a new variable state to 1 when the car crashes
Then in draw evaluate state: if ==0 the code you have in draw() now otherwise text() you lost