Smooth moving object

Discussion and feedback on Construct 2

Post » Tue Sep 11, 2012 11:56 am

Hello. Here is a question - how to Construct 2 to smooth moving object at a certain distance?

For example there is a button. When you click on it the sprite moves smoothly on the job distance.
B
3
Posts: 1
Reputation: 277

Post » Tue Sep 11, 2012 12:18 pm

Can you confirm what is meant by "job distance?" Might lerp be what you are looking for? It eases an objects movement in and out.

lerp(x1,x2,1)
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
68
S
8
G
6
Posts: 930
Reputation: 9,358

Post » Tue Sep 11, 2012 12:21 pm

Have you seen the 'move to mouse' example in Construct 2's examples folder?
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests