1 decade ago by igr
Hi! I have a strange problem which I cannot figure out. I have Hero and boxes entities in my game. When Hero stands on one box -- everything is OK. When I put two boxes on each other and Hero on top, the Hero offsets down. He also feels "uneasy" in a way :) trying to play the jump-animation. If I place three boxes on top of each other, then the third box offsets down and feels "uneasy" (tries to fall down). When I place four boxes on each other and Hero on top than the forth box and the Hero are OK with the right offset and staff. But the third box offsets down and "trembles" as if wanting to fall down.
I thought first it was due to the Hero size and offset properties, but I have the same problem when I remove offset for Hero and set the size property equal to sprite size. The boxes have size equal to sprite size and no offset.
Thank you!
I thought first it was due to the Hero size and offset properties, but I have the same problem when I remove offset for Hero and set the size property equal to sprite size. The boxes have size equal to sprite size and no offset.
Thank you!