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
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
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
Develop games in your browser. Powerful, performant & highly capable.