Lerp (simple example)

2

Attached Files

The following files have been attached to this tutorial:

.capx

lerp-example.capx

Download now 173.81 KB

Stats

7,240 visits, 10,375 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.

Published on 29 Jan, 2015. Last updated 19 Feb, 2019

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

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