Game Lab delay in animation

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.

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

1 Like

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.

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

3 Likes