So, I'm creating a side scroller and there are some powerups. When the player pick up a powerup, I want a countdown timer to show onscreen, displaying how long the powerup will last.
What I've created so far, and didn't work:
There are basically two events: the first one to create the timer (there's a text object for the number and a sprite to identify which powerup the time refers to) and the second one where I tried to make the timer actually work. Note that the "else" statement in the first event is for, in case the player picks up a powerup it already has, the game doesn't create a second timer on top of the first, just reset the timer for the powerup duration.
Any thoughts on what I'm doing wrong?
P.S: I want the timer to display in the format 5.0 > 4.9 > 4.8 > 4.7...