deeen's Forum Posts

  • 6 posts
  • Humm, but lets say the layout is bigger than screen. I was thinking about to use a collision on the top layer.

  • JWstudios, ome6a1717 is right. The case is, I have a topview game using 8 directions behavior and 2 players. I want to make sure that both of players will be on the screen. They can't pass through the screen border. I was thinking about to have a collision on the edge of the top fixed layer that would avoid the players to go out. But it would also avoid other actors, like enemies, to go into the player. Because of this I was thinking about to have a collision that would work only with a kind of object. Is there another idea about how to make it work?

    Thanks.

  • I tried different. I compared the Y, if it's bigger then "Move to front", if it's smaller "move behind". It will be a bit complicated if there are many objects, but it's working well.

    Another thing,I'm using the 8 direction behavior. How can I simulate a jump? The behavior has 8 directions and works well, but how can I pressing a button (jump button) can do the player go up on Y and after go back to the original Y? When it does it it can call a jump animation for example.

  • I'm thinking how to have a Z order sort to know each object is in front of another, but dynamically/in real time. The idea is to work in a game like Streets of Rage that when the player is in the lower part of the screen he is in front of something that is a bit upper. But to make it works it needs to be in real time, the game must compare the Y position of each element and put them in the correct order. Is it possible?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is it possible to have a collision that affect only one object or a group? How can I have a solid object that works only with the player?

  • Hello everyone.

    I would like to know if it's possible to make an objects follow a circular path and how can I do it? And another thing, how can I make an object follow a circular path following another central object, like in the image. (the red square is the central object and the blue circle is the follower object).

    Thank you

    <img src="http://s14.postimg.org/6ms3akwgx/Untitled_1.png" border="0" />

  • 6 posts