481
Old Bugs (1.x/2.x) / Game and browser freezing collision bug
« on: June 28, 2011, 02:38:21 pm »
Hello, I have run into a problem with my game, while it otherwise is working fine, there is a weird bug that causes the game and browser both freeze when the main character is killed by an object that hits him from straight above or pushes him in between the hazardous object and a wall.
Actually I think the problem lies in the killing object pushing the player against solid blocks.
You can try the game here: http://www.stencyl.com/game/play/4102
Stages 3 and 5 have spears in them and stage 6 and 7 have a sawblades. The stage 6 Sawblade usually freezes the game if it kills you in the final part of the stage when it is moving down, spears usually freeze the game if they kill the character when he is running under them, or he gets hit while walking on the wooden staff part of the spear (try jumping between block and the spear's tip on the bottom spears in stage 5.)
At first I thought the problem was in the Healt Kit behaviours the game was using, but I removed them and changed the hazardous objects to just kill the Players group characters and the problem kept occuring anyway. I have no idea how to fix this. I took a screenshot of the debug mode but I don't understand one bit of it. Something about Box2D.
I will add my logs here too, can someone please try to figure out what's causing this?
Actually I think the problem lies in the killing object pushing the player against solid blocks.
You can try the game here: http://www.stencyl.com/game/play/4102
Stages 3 and 5 have spears in them and stage 6 and 7 have a sawblades. The stage 6 Sawblade usually freezes the game if it kills you in the final part of the stage when it is moving down, spears usually freeze the game if they kill the character when he is running under them, or he gets hit while walking on the wooden staff part of the spear (try jumping between block and the spear's tip on the bottom spears in stage 5.)
At first I thought the problem was in the Healt Kit behaviours the game was using, but I removed them and changed the hazardous objects to just kill the Players group characters and the problem kept occuring anyway. I have no idea how to fix this. I took a screenshot of the debug mode but I don't understand one bit of it. Something about Box2D.
I will add my logs here too, can someone please try to figure out what's causing this?