While you have the power up, the player is invincible.
Once the timer reaches 15 seconds, the player turns back to normal.
If you touch an enemy, I want to add 1+ second to the timer’s current value so that you get punished for it, making the invincible phase run out quicker.
Is there a way? There doesn’t seem to be an action that allows you to modify the value of a timer, unless I simply can’t see it.
Thank you guys, I will try it once I go back home!
Also @ZeroX4 hahaha I know it sounds weird Basically in my game there is a power up that can turn you into a giant. If you are a giant you can destroy everything! Since this power up is making the game significant easier I want to at least reduce the power up time, by punishing you for hitting very strong objects such as lasers or asteroids but without taking away the joy you can get from destroying them.