This is a simple test project where the Scratch Cat gravitates towards the nearest planet. Use the arrow keys to move and jump, and you can play with how the Scratch Cat moves depending on his position.
Some code for this project was taken from my Get Distance and Direction scripts. These can be found here: https://scratch.mit.edu/projects/701325746/ Changelog: v0.01: Initial Release, which features two circular (yoshi-egg) planets and simple movement mechanics. v0.02: Minor Updates--there are three planets and non-circular shapes. v0.03: Update to the engine allows support for moving platforms. The "Reset Platform Data" is constantly broadcast, which constantly updates where the player should gravitate towards.