How do you do animate this reliably?

I saw there are geometry dash recreations on makecode, but not a single Rolling Sky one so i decided to try to make one, however i am stuck because i do not know how to set up the jumping animation in such a way that it will travel exactly 4 tiles, so i’d like to get help with that.

If you also know how to stop the ball from jittering it would be great to get it fixed.

1 Like

Hey fractal! Welcome to the forums! :tada:
Rolling Sky is so fun and I can’t wait to see this finished!4

For the jumping, I was able to get it to work by messing around with those pause(60) lines of code in your jump function. It might not get perfect with this setup, but I think if you place regular tiles inbetween, where the player can “cool down” so to speak, it could work!

As for the jittering, I think it’s stemming from how you position the camera.
Try this extension:

You can find a bunch of helpful extensions on @UnsignedArduino’s Extensions Page:

3 Likes

Thank you, i was initially going to use camera-offset for something else, but ended up not using it because i couldn’t find how to call the block in JavaScript

I think you forgot to include your solution, though.

1 Like

Hey! Welcome @fractal!

Excited Kid Cheers: Let's Get This Party Started!

Cant wait for the next update! Looks really fun!