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
79
S
12
G
7
Posts: 963
Reputation: 10,721

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
395
S
233
G
88
Posts: 24,376
Reputation: 193,842


Return to Construct 2 General

Who is online

Users browsing this forum: delgado and 11 guests