How do I create intelligent zombies?

0 favourites
  • 2 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • I would like zombies that not only follow the player, but also break down any walls that the player builds.

    Is there an easy way to do this? I am using the moveto behavior/plugin and I am not able to make the zombies do anything except run into walls and attack the player.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's not that hard, you just need to remember that, for every ability or way you want your zombie to react, you need to break it down and set them up 1 by 1.

    So for your example, if you want the zombie to only break the walls for he is chasing the player, use a variable to determine which mode the zombie is in, than set the events in them.

    If zombie is chasing player, set variable1 to 1. Than, while variable1 is 1, and zombie on collision with player made wall, wall destroy. You can set it to play any animations at that period too if you want.

    Remember that every action you want your zombie to perform, you need to individually define them.

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