Menu

#981 Platform deceleration higher than accel treated as accel

open
Davo
Behavior (106)
5
2009-08-03
2009-07-28
AshyRaccoon
No

Construct 0.99.42

Using the platform behavior on a sprite.
If I set the sprite's floor deceleration higher than its floor acceleration, the floor deceleration value is used for acceleration as well.

For example, if I set the floor acceleration to 400, and floor deceleration to 900, it acts as though the floor acceleration is 900.
If I set the floor deceleration lower than the acceleration, then it works as expected.

In a more extreme example, I can set floor acceleration to 1, and deceleration to 2000, and it acts as though the acceleration is 2000.

The last stable version did treat it like this.
I also tried this in a brand new cap, and could reproduce it there as well.

Discussion

  • AshyRaccoon

    AshyRaccoon - 2009-07-28
    • summary: Platform floor deceleration higher than acceleration = accel --> Platform deceleration higher than accel treated as accel
     
  • AshyRaccoon

    AshyRaccoon - 2009-07-28

    This is also the case for air deceleration which is higher than air acceleration. It will act like the air deceleration is the air acceleration setting.

     
  • Ashley

    Ashley - 2009-08-03
    • assigned_to: nobody --> davidclark
     

Log in to post a comment.

MongoDB Logo MongoDB