Hello!!
I am following the tutorials and learning how to make a 2D game but i find myself unable to make an effect ends by itself. I want , for example, a projectile that freezes enemies or my player being “invincible” for a couple of seconds. I can make the effect, but it last forever… can somebody help me please?
I know how to script the effects, but not how to add a timer to it.
or
are a good start for adding timers to your code.