This asset contains 30 functions like the lerp function of gamemaker and it is designed to be used in a very similar way.
Each function is very fast to compute. The parameters can be changed (number of waves, absoprtion...).
Every movement function returns a vector. The first coordinate of the vector is the x position of the interpolated point and the second one is y position of the interpolated point. Launch the project to see how it works. Launch the project and click on the screen : - The red square will move following the movement selected. You can change the movement by comenting/uncommenting the code writtten in the step event of the object "obj_move_on_click". - The blue square draws the marks of the whole movement on click. - The green square performs a random movement selected among the 30 movements of this project.