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
69
S
8
G
6
Posts: 934
Reputation: 9,391

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
363
S
216
G
75
Posts: 23,124
Reputation: 180,557


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests