Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

1.1.4 collision (flag) bug


jpdev
 Share

Recommended Posts

When moving a player with enabled y-axis gravity over tiles, that he is walking on the onFloor() flag flickers every frame from true to false.

 

(Effects: No Jump animations are possible, because they rely on the onFloor() (formerly touching.down) to play - and if this is the case, they cancel any walking animation every by starting the jump animation)

 

Steps to reproduce:

 

Just enable line 56 of the starstruck.js example, and walk around.

Effect: The "blocked down" flag is jittering from true to false and back every frame. (same goes for the result of body.onFloor(), which is not displayed but I guess linked to the blocked property.)

 

 

PS: this is one of two bugs I noticed when changing to phaser 1.1.4 .. so compared to some other version changes (of other software products) that I won't go into, this is smooth :)

 

Thanks for all your work Rich!

Link to comment
Share on other sites

yep, I see this too.

 

it also seems like 'blocked.down' isn't reset right away when I apply an upward velocity to a sprite, which causes my jump logic to go wonky (can't get off the ground) - I've worked around by setting it myself, but this is at best a kludge...

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...