dcrew's Forum Posts

  • sorry it seems i dont have this behavior in my construct.how did you get it? how is it done? if it a plug-in how did you install it? please teach me,am really new in this.thank you very much :)

    I've been away at college for long, so sorry I've not had the time to visit the sites I love and reply to others.

    I'm sure you've probably figured this out by now so I'm not sure I'll be much use by now, sorry but if not feel free to private message me. Also this did not use a plugin, download the source of the game provided in the link given in the very first post and see for yourself. =)

  • 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!

  • I'd love to see multi-player (online) play a part in HTML5 gaming - it's also intriguing to me and very interesting indeed for how it will work around its current nature of flow in its problems, we can only wait now to see.

  • 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.

  • 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.

  • My apologies, the capx from here will most certainly reproduce the bug: http://www.scirra.com/forum/topic62849.html

    A video reproducing the bug can be found here:

    1. The pathfinding sprites (zombies) will always try and find a path to you

    2. Once found a path they will take it

    3. If it does not find a path it will keep trying

    4. As the player you can move around (8-directional movement)

    5. Stand still - let the pathfinding sprites come to you

    6. Move anywhere else

    7. They will freeze (from finding a new route)

    8. The will circle around in circles in a frozen state

  • <font size="5">A video reproducing the bug can be found here:

    </font>

    Link to .capx file (required!):

    http://www.scirra.com/forum/topic62849.html

    Steps to reproduce:

    1. The pathfinding sprites (zombies) will always try and find a path to you

    2. Once found a path they will take it

    3. If it does not find a path it will keep trying

    4. As the player you can move around (8-directional movement)

    5. Stand still - let the pathfinding sprites come to you

    6. Move anywhere else

    7. They will freeze (from finding a new route)

    8. The will circle around in circles in a frozen state

    Observed result:

    Expected result:

    The sprite will stick to it's destination and never stop, go around in small circles onto it's destination - regardless of what options you use for the behaviour.

    Browsers affected:

    Chrome: Yes

    Firefox: Yes

    Internet Explorer: Yes

    Operating system & service pack:

    Windows 7 Ultimate

    64-bit OS

    Intel(R) Celeron(R) CPU G540 (Service Pack 1)

    2.50 GHz 8.00 GB RAM

    Construct 2 version:

        BETA Release r117

  • Weird, I have never encountered such problems :S Hope it gets fixed however guys/girls.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • GeometriX is right, the may be already in your project, but not your layout. They should be available in your events though.

  • What's wrong with using physics? That's the approach I would take, why a bullet behaviour? This is possible with the bullet behaviour, but I would like to know why the approach before I help if that's no problem.

  • I managed to replicate exactly what you want, with ease!

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

  • They're all being created at the same exact position, from what I can see (since I can't figure out exactly the values), so are you sure it's not creating them all - but on the same position so you can't see them?

  • 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.

  • Good one! <img src="smileys/smiley20.gif" border="0" align="middle" />

    Thank you!

  • <font size="6">5,201 PathFinders Cell-Size of 4 60 Frames-Per-Second!</font>