Menu

#713 platforming behavior behaving strangely on layout changes

Bug report
open
Davo
Behavior (106)
5
2009-04-07
2009-03-08
No

the problem here is attempting to change layouts while platforming behavior is active. everything except the player character is local, while the character's hitbox global, and each time he goes off screen he's moved to the other side of it before the layout change.

if it's done while jumping, everything works just fine, but if walking from one screen to another i gives pretty strange results, with the character often getting thrown high into the air, underground or into similar weird situations. sometimes it even causes the game to crash if the character's placed in some weird place on change.

run forward/backward and try changing screens to see. if you change screens while jumping everything will work right, but during running it'll cause that bug.

construct version 0.98.8

Discussion

  • pirate ninja

    pirate ninja - 2009-03-08

    a quick reproduction of the bug

     
  • Rich Whilding

    Rich Whilding - 2009-04-07
    • assigned_to: nobody --> davidclark
     
  • pirate ninja

    pirate ninja - 2012-09-04

    updated with construct classic, additional debug key

     
  • pirate ninja

    pirate ninja - 2012-09-04

    construct classic r1.2

    the problem still happens.

    i added a new debug key to the new example file, press f2 to instantly change layouts. you'll notice, the player object will often relocate to a random position, if you press it fast enough it'll be shot high into the air for no reason.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.