Can someone tell me why the sun sprite is not moving?

@jmarro,

A few things you will want to look at…

You only need one draw loop. It can get buggy with more than one, so put everything inside the single draw loop.

Also, the drawSprites block needs to be inside the draw loop. If not, it is only running one time and it can’t redraw the sun at it’s new x location.

Once you try those two things, let us know if there are still problems and click on the “Share” button and share the link with us and we can look at it again and help you debug if necessary!

Good luck! Looks like a fun animation!

Mike

1 Like