No-Solid & Solid tweek

0 favourites
  • 5 posts
From the Asset Store
6 JRPG Inspired Battle Tracks. Amp up your battles with these epic tracks!
  • Hello everyone, I am new in this software and I am still getting used to it, and I got a question, hopefully you can help me <img src="smileys/smiley19.gif" border="0" align="middle" />

    I recently did the How to make a Platform game tutorial, but a doubt popped my mind while in the step of making collisions with the Snail Page 7.

    If the enemies are not solid, then the player can pass them, with damage of course, because they arent solid. But if you make the enemies solid, then the enemies cant pass each other (which is essential for the kind of game I want to make) and also somehow it becomes difficult to kill them with the Platform Jump (as shown in the tutorial).

    Isnt there a tweek or something you know that can make the enemies solid against the player but not solid between them or the same family?

    Please note that I do not posses a licensed version yet (I am still learning)

  • You can check the distance between Player and nearest enemy, when nearest enemy going near player, just creat some blank solid object and pin it to enemy everytick. And when enemy too faraway from player, destroy the blank solid.

    I know there're a lot of way to do it.

  • Would you have an example perhaps? <img src="smileys/smiley18.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Simplest way is add "solid" behavior for your " player", If enemy is a platform object, they can not pass when touching player.

  • That worked! Thanks a lot :3

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