PathFinding: Zombies (Free Source)

0 favourites
  • 11 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • This is a small project I created to try out the new PathFinding behaviour and felt like sharing what I had produced - A small zombie prototype (a prototype replica of the "nazi zombies" mode from the infamous call of duty" where zombies break barriers to get to you)

    <img src="http://gyazo.com/fd7497bfec54db303a29b90fddaa0833.png" border="0">

    <img src="http://gyazo.com/49d27a8b9d829fa4afd3eb0fba7452ed.png" border="0">

    <font size="6">Download Links

    Uppit

    Mediafire</font>

  • Good one! <img src="smileys/smiley20.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
  • Good one! <img src="smileys/smiley20.gif" border="0" align="middle" />

    Thank you!

  • That's pretty neat! So all the zombies have solid behaviours so they don't clump together? I wonder if there's a way to make some of them take a longer path

  • That's pretty neat! So all the zombies have solid behaviours so they don't clump together? I wonder if there's a way to make some of them take a longer path

    I think I have a way of making them take a longer path, heck if you look at the video you can see some already take shorter paths than others.

    The path-finding I would assume since it's only just released it isn't fully stable, I've already come across a couple of bugs with it, but I know they will be fixed because Scirra are awesome.

  • I like it, very nice way to have enemies swarm to the player, but why is it that when the zombies reach the player.x/y they stop and spin in circles? I thought maybe because of the last event but when I toggle disable it, they still have the same behavior: they get "stuck". Also, is there a way to make them "solid"? I agree, when they overlap it looks kind of weird, but still very nice! :D

  • I like it, very nice way to have enemies swarm to the player, but why is it that when the zombies reach the player.x/y they stop and spin in circles? I thought maybe because of the last event but when I toggle disable it, they still have the same behavior: they get "stuck". Also, is there a way to make them "solid"? I agree, when they overlap it looks kind of weird, but still very nice! :D

    What you mentioned is a bug - Take a look: http://www.scirra.com/forum/topic62913.html

    If you want me to make the zombies unable to pass through each other I can fix that if you want.

  • Haven't used the path finding yet, but is there an option to get the current paths target? If so you could get the current target XY and compare it to the players XY and then force it to recalculate?

  • Haven't used the path finding yet, but is there an option to get the current paths target? If so you could get the current target XY and compare it to the players XY and then force it to recalculate?

    I would think of a way to do that - I could only assume that they would add a feature such as this in the pathfinding behaviour itself, it is a vital part of pathfinding after-all.

  • Hi, thank you for the sharing. It will be helpful in my upcoming game that will probably involves some pathfindings.

    Regard to the previous posts, can you please share how can you make the zombies not to passing through each other?

    And, is it possible to keep the zombies from overlapping onto the player sprite when they get close to the player?

    Many thanks! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hi, thank you for the sharing. It will be helpful in my upcoming game that will probably involves some pathfindings.

    Regard to the previous posts, can you please share how can you make the zombies not to passing through each other?

    And, is it possible to keep the zombies from overlapping onto the player sprite when they get close to the player?

    Many thanks! <img src="smileys/smiley1.gif" border="0" align="middle" />

    Sorry I've been away at college for long, so I've not had much free time to visit the sites I love and reply to people.

    I'm sure you've figured the whole thing out now in my absence, but if not then feel free to private message me!

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