Hey guys, need a little help with something. I’m making a game and it has a 20sec timer in it and I want to make a button/powerup thing that adds 5 seconds to the timer when you press it.
I’m currently using: -
timerBTN.onPress = function(){
_root.countdown += 5;
gotoAndPlay (2);
}
stop();
This doesn’t work, is there something wrong with my code, or is my method not the best? Any help would be really helpful.
Thanks