#1
|
|||
|
|||
Countdown
Want to do a 10 seconds countdown
How to do it thank you!! |
#2
|
|||
|
|||
You could use a timer function or a loop in a task function:
Code:
import viz viz.go() text = viz.addText('',viz.SCREEN) text.setPosition(0.45,0.5) counter = 10 def countDown(): global counter text.message( str( counter ) ) counter -= 1 vizact.ontimer2(1,10,countDown) |
#3
|
|||
|
|||
If I want to stop reading the beginning of time
How can I stop? Clean? Thank |
#4
|
|||
|
|||
Sorry, I'm not sure what you are asking. Can you explain a little more?
|
#5
|
|||
|
|||
I would like to pause time halfway
Countdown at the beginning thank you |
|
|