Really janky physics engine. It does not work. Im bored i feel smart making this. its not really that hard tho
How it works: explained for dummies like me Every second the program runs a script which checks for what the cat's current x position is. Then it assigns that to the two variables x1 and y1. Then it waits a bit, then sets another two variables to the NEW x and y position, basically checking how far the player has moved the cat. Then, as the player lets go, it will move the cat the DIFFERENCE between the two variables. So if the player moved the cat a lot along the x axis, then it will move the cat a lot by itself in that direction. If the player throws the cat upward, it will continue going upward (before I add gravity, which is really simple - just add 5 to the velocity values). Heres an even dumber version Mouse move cat. Take reading. Wait one second. Mouse has moved cat, so new reading. Minus readings, and yeet with that value.