Lerp (simple example)

2
  • 13 favourites

Attached Files

The following files have been attached to this tutorial:

.capx

lerp-example.capx

Download now 173.81 KB

Stats

5,874 visits, 8,046 views

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Lerp is a math function to find a percentage value between point(a) and point(b).

It has many use's

I have attached a simple capx to demonstrate 1 example.

The percentage value can be changed in the event sheet (lerp_percentage)

Use the arrow keys to move sprite(a) to see the value change in Lerp.

Hope you find this useful.

.CAPX

lerp-example.capx

Download now 173.81 KB
  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!