increpare / PuzzleScript

Open Source HTML5 Puzzle Game Engine
MIT License
903 stars 160 forks source link

rigid problem #369

Closed increpare closed 7 years ago

increpare commented 7 years ago

Ok, this just got really weird, I tried to remove anything that isn't necessary to reproduce it and the key components are really weird, test it out here. Sumo simply moves in a way that's the easiest to test this bug. If you push the sumo with both pants and a shirt on, you drop both of them. If you wear only the pants or only the shirt, you keep them in the fight without embarrassing yourself. If you remove Rigid, everything works just fine but you obviously drop the clothes on the sumo when you try to push him out of the scene.

Now this is where it really gets weird: All of this only works if the sound Player Move or Action is defined (I chose the latter for less noise). If you do Clothes Action instead, you can't pick up any clothes, while Clothes Move plays a sound when you try and fail to carry them. Shirt Action/Move is also interesting.

http://www.puzzlescript.net/editor.html?hack=bc1e18314d3e0aa4913b28859ade34cc

increpare commented 7 years ago

simplier example http://www.puzzlescript.net/editor.html?hack=ee54d03acfaf94f70218068f77aa4563