Game Lab delay in animation


#1

I have a student who wants to animate an explosion. The sprites that represent the different parts of the explosion need to display slower than the usual frame rate. How can you do this in the draw loop? I tried sprite.pause() but it doesn’t seem to work.


#2

Try this block
image
Read the documentation (“See examples” when you hover over it in Game Lab) to read about its usage.


#4

Thanks but that is not what I’m looking for. My student wanted to just slow down one sprite’s animation, not the whole world. He figured out a solution that works for him last week though.


#5

I made an example with some comments to illustrate how I’ve shown students to solve this problem in the past.