Solid Behavior

0 favourites
  • 3 posts
  • Link to .capx file (required!):

    dropbox.com/s/lmieydfu1g66hdu/prob.capx

    Steps to reproduce:

    1. Play game

    2. Using arrow keys, move character around

    3. Hit a house or a tree

    Observed result:

    Character partially passes through/into object OR hits an invisible wall several pixels around the object

    Expected result:

    Character bumps into object but cannot pass through/into it

    Browsers affected:

    Chrome: n/a

    Firefox: yes

    Internet Explorer: n/a

    Operating system & service pack:

    Vista

    Construct 2 version:

    r137

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • This isn't a bug - you've incorrectly aligned your PlayerAnimation and Player object. You need to set PlayerAnimation's position to the Player object before pinning it.

  • Your issue is due to the fact that you don't position the animation over the collision object well before pinning it.

    Try to paint a color in the texture of your "Player" object and set it to be visible, you will directly see what's going wrong.

    Also when reporting bugs, always try to strip down the capx to something simpler.

    Also in that case, it's not a bug, but something that would have fit better in the "How do I" forum.

    Closing as not a bug.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)