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: 536
Reputation: 7,199

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
90
S
48
G
25
Posts: 535
Reputation: 21,952

Post » Fri Apr 11, 2014 4:18 pm

@digitalsoapbox

Thank you :D
B
49
S
15
G
6
Posts: 536
Reputation: 7,199


Return to How do I....?

Who is online

Users browsing this forum: angryscientist and 29 guests