I need a timer for one scene in my game. I need the game to switch to a different scene after 20 seconds. Im not really sure how to do this. Can anyone help me?
Yea. Add a property of type “timer”, and give it a value of 0.
Sensor: Property
19.8 < timer < 20.2
|
AND
|
Set Scene: Scene2
OR like that:
import GameLogic as GL
import time
...
time.sleep(20)
...