Enemys Movement/Colision acting weird

0 favourites
  • 2 posts
From the Asset Store
Run and Jump in 3 Dimensions! Take your platformer to the next level!
  • Hi once again ^^

    I'm doing a Top Down View game but the enemys are all acting weird... I did the "Beginner's guide to Construct 2" and modified it in a way that the enemies has health and when they colide with us we start loosing pieces of our health. The problem came when i added collisions to the enemys, what happens is that when the enemys colides with each other they start pushing each one and even the Player and if the player or the enemy gets stuck close to a wall he is teleported to the nearest empty space <img src="smileys/smiley5.gif" border="0" align="middle" />

    So i used the search button to find if someone had a problem like mine and what i found out was that the "bullet behavior" doesn't handle well with colisions and that the best option was to use an "8 direction behavior" or "Custom Movement Behavior", so that's what i did but with no luck so far (can't even make the enemys move using this method 0o).

    If there is someone that knows a capx or a tutorial that explains how to control enemys with an "8 direction behavior" or "Custom Moviment Behavior" please let me know, i'll be very thankfull.

    Thank you and have a nice day <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley2.gif" border="0" align="middle" /> (sorry if there is any mistake in my english)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is an example file that shows in an easy way what's my problem:

    dl.dropbox.com/u/18148396/construct/Being%20pushed%20and%20teleported.capx

    If you let the enemies come close to you and there is a wall behind you you get telported to the nearest empty space <img src="smileys/smiley5.gif" border="0" align="middle" /> I want a way to avoid this but at the sime time i want the enemys to colide with each other.

    Thanks

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