How do I calculate the rate of acceleration per second sqred

0 favourites
  • 2 posts
From the Asset Store
Per Pixel Destruction like in "Worms" (perfect performance, no third party plugins)
  • Hello, I'm trying to replicate zelda 2's movement with the platform behavior.

    This is all I have been able to get from 60fps footage.

    Link moves at a maximum speed of 90 pixels per second. (90 pixels in 60 frames.)

    From rest to movement, he moves 75 pixels in one second.

    From rest to 90 pixels it took 70 frames (1.16666667 seconds)

    The time between the 75th pixel and the 90th pixel was 10 frames (0.166666667 seconds)

    Is this enough to find rate of acceleration per second per second? Please help, physics is not my strongpoint.

    Here is the footage ... ccel-1.m4v

    In case you can download it and try to find out too

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You'll need the time when he reaches full speed. Then you can calculate it with:

    Acceleration = 2*distance/(time^2)

    If he reached full speed after one second the acceleration would be 150pixels/sec^2, but I'd guess the max speed was reached before one second, so it wouldn't be correct.

    You can calculate the speed for any range of frames with:

    Speed = distance/time

    Where time = frames/60

    From your info the speed from 75 to 90 pixels would be 90pixels/sec according to that formula, so he'd already be at max speed.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)