I need a (clever) way of pause (stop) an sprite instance movement and resume after a while.
Lets say I have 40 sprite instances moving in a line (side by side) up the screen with the bullet behavior. When one of the instances collide with a small quicksand sprite, it should pause for 5 seconds and then continue its movement. I know how to detect if the instance collides with quicksand, but how to automatic order it to pause 5 sec. AND then resume its movement, thats the issue. Maybe some kind of timer?
Yes, pause and use the Timer behaviour to resume.
Wow! - never used the Timer behavior before, its absolutely a great tool - thanks alot for the suggestion blackhornet
Develop games in your browser. Powerful, performant & highly capable.
Using the wait action would be a lot simpler. Doesn't require adding any new behaviors.
Also, be sure to include For Each conditions or pick by UID if you want only a single enemy to be effected instead of every possible instance.