Hi, is there a way to slow down a FOR/NEXT loop? I've tried several things like timers, but the only outcome is that my whole game gets paused.
Anyway, I want it to set the gravity (falling speed) of the player starts at 0 and then count down to -100, yet at a rate I want. The LOOP is instantaneous.
Here is my code :
Thanks!
Edit : whoops, I saw I posted this in coding, while it is meant for the beginners area. my apologies...
Anyway, I want it to set the gravity (falling speed) of the player starts at 0 and then count down to -100, yet at a rate I want. The LOOP is instantaneous.
Here is my code :
If Not EntityCollided(player,world_col) Then For i=0 To -100 Step -1 TranslateEntity player, 0,i, 0 Next EndIf
Thanks!
Edit : whoops, I saw I posted this in coding, while it is meant for the beginners area. my apologies...