Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I use Lerp quite often for moving an item from one position to another with dt, but I require now that there is no "easing" at the end of the Lerp.
Is there another function to use to solve this?
Develop games in your browser. Powerful, performant & highly capable.
-> sprite: set t dt to min(1,sprite.t+dt)
-> sprite: set X to lerp(sprite.xStart,sprite.xEnd,sprite.t)
If you provide a starting point, and end point and t start at 0 it should linearly interpolate between xStart and xEnd.