How do I move an object in a given amount of time ?

Get help using Construct 2

Post » Thu Apr 10, 2014 5:37 pm

What is the best way to move an object from point A to point B (distance measured in pixels, is always the same) in a given amount of time (sometimes is 1s, other times is 2s ... etc) ?

At the moment I am using the Bullet behavior ;)
B
49
S
15
G
6
Posts: 534
Reputation: 7,195

Post » Fri Apr 11, 2014 1:45 am

Bullet same here
B
17
S
7
Posts: 360
Reputation: 2,202

Post » Fri Apr 11, 2014 1:56 am

distance / deltatime * time

^ That's the equation you're looking for.
B
77
S
43
G
24
Posts: 525
Reputation: 20,580

Post » Fri Apr 11, 2014 4:18 pm

@digitalsoapbox

Thank you :D
B
49
S
15
G
6
Posts: 534
Reputation: 7,195


Return to How do I....?

Who is online

Users browsing this forum: blue visionary, OBLIVION and 16 guests