skunheal's Forum Posts

  • 1 posts
  • Heey,

    Im making a small top down shooter in construct. Now I had the problem that all the enemys took the same path towards the player. Even with solid on they all started to overlap eachother etc.

    Now I came with an idea where I add hidden walls. Every enemy has a random value, Enemy with random value 1 cant walk trough hidden wall 1 etc. This way all enemy's take another path. But I cant get this system to work.

    I managed to give all the enemy's a random number on creation. Now I try to give every enemy a diffrent obstacle map by doing:

    But this doesnt seem to do the trick.

    So my question. How can I create an obstacle map which is diffrent for each enemy based on a number

    Hope to hear from anyone soon!

    Greetings,

    Merijn

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1 posts