Update: I used the custom return by TurboWarp to make this a little neater, so now I have a function for speed-consistent time whenever I need one. However when I made an actual screen saver (separately uploaded), I ended up not needing this function due to More Motion extension, at least for now.

This one appears to be quite math heavy for scratch 😅

Game Development relies heavily on math and physics to simulate it accurately. While playing around in TurboWarp earlier, I used the glide to random block, but I noticed it had a static set time, which means if it was gliding to far away, it would speed up.

So today I attempted to give it a fixed speed, for this I had to manually randomize coordinates, and calculate the distance, then time needed.

So I guess I have basically made a screen saver this time.

I also noticed I didn't upload the source code previous projects, this time I am adding it. You can see the bulky math block in it xD (screenshot attached below)


Download

Download
random-glider.sb3 3.5 kB

Leave a comment

Log in with itch.io to leave a comment.