Screen Saver math - TurboWarp - 3
Also interesting note here: I previously set sprite to start at 0,0 but that broke the game. The variables would keep randomizing and the sprite would not move at all. I set it to 1,1 and then it works. I have now found why this is the case, one of the checks in destination is that of multiplicative inverse. It is multiplying current position, which here is zero, and checking if it is less than zero. This leads to infinite generation as zero will never be less than zero. And it will not cause any further issue after start because we are always intercepting and checking these conditions when the sprite is at an edge, which never has zero coordinates. Any zeroes in this generation itself are weeded out by this very problem in the condition.
And I used another extension to just add a fun snippet:
This makes the sprite inflate and deflate when you stop it. And this extension of more event blocks has many cool triggers and additions. There is a lot to explore in extensions, it seemed daunting at first because there are so many with so many expansions, but now that I can spend time on this, I am finding them intriguing.
Get Screen Saver
Screen Saver
A TurboWarp Experiment
More posts
- Screen Saver math - TurboWarp - 2Jul 13, 2024
- Screen Saver math - TurboWarpJul 13, 2024
Leave a comment
Log in with itch.io to leave a comment.