How do I move object smoothly ?

Get help using Construct 2

Post » Tue Jan 06, 2015 7:34 pm

Hi, i want to move my object, every tap, by 640 px. Now my sprite is blinking for those 640px every tap, but i want to smoothly slide. Any ideas ? I tried pathfinding, and bullet, but doesnt work.
B
5
Posts: 22
Reputation: 269

Post » Tue Jan 06, 2015 10:40 pm

bump
B
5
Posts: 22
Reputation: 269

Post » Tue Jan 06, 2015 10:48 pm

B
21
S
5
Posts: 196
Reputation: 1,984

Post » Tue Jan 06, 2015 11:04 pm

There is any siplest solution for this ?
B
5
Posts: 22
Reputation: 269

Post » Tue Jan 06, 2015 11:37 pm

Try Lerp()
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Wed Jan 07, 2015 12:24 am

Behaviors (like LiteTween) are as simple as it gets... basically no thinking required.

Lerp can accomplish the same thing though it requires you to think a little bit about how to use events.
B
21
S
5
Posts: 196
Reputation: 1,984

Post » Wed Jan 07, 2015 12:51 am

ggibson1 wrote:Behaviors (like LiteTween) are as simple as it gets... basically no thinking required.

Lerp can accomplish the same thing though it requires you to think a little bit about how to use events.


Yep, I use MoveTo a lot. OP check that out too
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Wed Jan 07, 2015 3:19 am

Hmm, its a great tool ! But any ideas why its working only for first tap ? Not continue from current position.

Edit:
I did this, i've just set start from beggining, from current position. This tool is rly awesome !
B
5
Posts: 22
Reputation: 269


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests