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)
B
95
S
18
G
8
Posts: 1,026
Reputation: 12,403

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
408
S
242
G
92
Posts: 24,916
Reputation: 198,680


Return to Construct 2 General

Who is online

Users browsing this forum: MPPlantOfficial and 3 guests