Hello there! This is my Bezier Glide engine! How to use: 1. Save the blocks to your backpack 2. Drag them into your project 3. Add the control points for the bezier curve (https://cubic-bezier.com/) or use a preset 4. Set the glide time 5. Be amazed! Feel free to remix!
How it works: The custom block called "get val of B(t) of curve (x1) (y1) (x2) (y2)" evaluates the x and y values of the curve The "smooth glide to (x), (y) for (s) seconds with bezier curve (x1) (y1) (x2) (y2)" block uses that to position the sprite. Want to see the math? https://www.freecodecamp.org/news/nerding-out-with-bezier-curves-6e3c0bc48e2f/