Using Bezier Curves to Tween Object Movement
Bezier curves are commonly used for two-dimensional graphics. A tutorial from a veteran HTML game developer gives us basic pointers on how to use this type of curve for tweening animations.
A Bezier curve is composed of points that are connected by handles. You can move the handles to change the curve’s shape.
You can create the curve with just a single line on Phaser 3. Then, you can add points on both ends of the line to define its shape.
The game developer also shared his code for tweening the animation.
Read the rest of the tutorial here.