stho's Forum Posts

  • 4 posts
  • Thanks guys.

    Yeah, making the "player" collision rectangle span from (0.1, 0.1) - (31.9, 31.9) makes it so that I can test the "Is overlapping with offset" condition with more predictable results

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hi guys.

    I'm in the process of learning Construct 2, and started to try my hand on making a simple Sokoban clone.

    Since such a game is grid based, the movement should be constrained to the grid's cells.

    However, I noticed something that I thought was a little weird, and I hope someone can enlighten me about it.

    File URL (not allowed to post links yet - but just remove the space from behind the https:// and you'll get it):

    https:// drive.google.com/file/d/0B6we8Zrx-RfLYmtqOWdoelVBdEk/edit?usp=sharing

    Description of linked .capx file

    • A small room built from 32x32 pixel wall segments
    • Within, a "player" object (also 32x32 pixels) resides
    • All the walls and the player are aligned to a 32x32 grid
    • The "player" is movable by repeatedly pressing the arrow keys, jumping 16 pixels (half a grid cell) in wanted direction
    • Any wall segment that is overlapped by the "player" will be half transparent

    The weird part of this is that even though the "player" is placed next to a wall, that wall will be considered overlapped by the player.

    I guess this is by design, but it feels like it's not really overlapping, or am I missing something terribly obvious?

    Thankful for any help

  • Yup; that was it! Thanks Ashley :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi.

    Just noticed a problem when I tried to follow the Platformer tutorial and was about to add a behaviour to the blue box - nothing happened.

    The Construct 2 window frame flashes, but no window is opened.

    I probably am doing something strange, but I can't think of anything I'm doing wrong.

    Examples that accompany the Construct 2 all have behaviors available, but I can't add more on them either.

    My version is: Release 78 (32-bit)

    Hope anyone can help!

    BR

    /Stefan

  • 4 posts