How do I make Tile Movement works with Solid behaviour?

0 favourites
  • 2 posts
From the Asset Store
_______ Huge collection of metal fixtures ________
  • Hello everyone!

    I'm actually working on a little game with tile movement and I meet a problem.

    My main character has the "Tile movement" behaviour and the obstacles have the solide behaviour. I manage to go behind them but I seem to not be able to go in front of them (the size of the sprites are 100 width and 200 height). I tried to put a hitbox for my character and the obstacles in the 100x100 bottom square of each of them.

    So I don't really understand why I can overlap an obstacle from behind and not from the front.

    You can move 100 pixels each time (with Tile Movement).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, some news arrived. I removed the behaviour from my main character and pin him to a sprite which is 100x100 and apparently it works. I can now move in front and behind objects with the Tile movement. A bit weird I think but at least it's solved.

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