How do I make my CustomMovement framerate-independent

Get help using Construct 2

Post » Thu Apr 13, 2017 2:59 pm

How do you set the moving speed of objects owning the 'CustomMovement' behaviour framerate-independent.
Or, should I make my own moving system and move the object every tick adding the dt expression to it's 'distance-per-tick'?
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Thu Apr 13, 2017 7:25 pm

Its Speed in pixels per second, so it is dt corrected.

https://www.scirra.com/manual/92/custom-movement
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: tunepunk and 10 guests