I’m making a Spider-man game where theres a timer that counts down from 10 seconds, but i want the timer to start back at ten when spider-man touches a pumpkin bomb. can anyone help?
player collision any → reset timer (put 100 in as value)
then delay a frame with a 0 second timer to start
can you give me a screenshot of that?
You go to the triggers tab, put two timers one of 0 s and 100 s (as our friend said earlier) the collision is connected to 0 s which is connected to 100 s then in “out” you put what will happen next
nvm i got it working, but what about the label i cant get it to work
what about a label? i want the label to count down then when he colides it starts back at 10
Use a timer to make it so every second an expression runs, doing A-1, and the output sets A and the value of the label. Then, everytime it is equal to 0, set the expression back to 10, reset the timer, and set the label to 0 alpha.
do you have an example of that in a game?
The timer value goes to a number that adds it to another number that goes to the value input on a Label. That way, the label counts the amount of time on the timer.
Just put the number in the value of the label, write something in the label and test
cheese
What? Why did you post this.
Hey, it’s gettin’ a lot of attention! (At least for my standards anyway.)
Has anyone solved your problem?