making a power up in a rockfall game

Blitz3D Forums/Blitz3D Beginners Area/making a power up in a rockfall game

Kairu(Posted 2010) [#1]
how would you make a power-up like a speed boost that last for a limited time work? the idea is that when a falling rock hits your mine it leaves a power-up.


Guy Fawkes(Posted 2010) [#2]
use a timer, and set a variable for it. when the timer runs out, shut off the variable


Nate the Great(Posted 2010) [#3]
or use a variable to count down the frames depending on how your game timing works.