Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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 was trying to make a drag & drop object move back into it's original place (not just apper there) once is released.
You could use lerp in set position.
Object set position to: lerp(self.x, target.x, speed you want it to move 0-1), lerp(self.y, target.y, speed you want it to move 0-1)
It helps me move things smoothly from self to target.
https://dl.dropboxusercontent.com/u/659 ... _drop.capx
Develop games in your browser. Powerful, performant & highly capable.
Thanks guys, worked great!
Is there any book or manual about this kind of expressions?
I never heard about lerp.
Yes ---> https://www.scirra.com/manual/126/system-expressions