Walk and stop AI

0 favourites
  • 7 posts
From the Asset Store
Character Sprite Pack: Walk 4 Directions made in illustrator
  • Hello!

    I have some problem with it.. I try make an AI, what will walk from object to object, stop for a some time with changing animation and walk again.

    The problem is that when a person goes to object a successful, normal stopping where necessary, and even the second time it turns out well, the next time he passed the object will not stop and will pass, but the animation will continue to change.

    I think it is something trouble with System - Wait event or with stop animation of my character, or with organization events.

    Here is all screens:

    Game looks:

    <img src="http://imageshack.us/a/img842/1407/n7qj.png" border="0" />

    AI movement system:

    <img src="http://imageshack.us/a/img849/6125/gsu9.png" border="0" />

    AI event system:

    <img src="http://imageshack.us/a/img826/5302/if8h.png" border="0" />

    Thank you!

  • for more understanding will give an example: the AI suited to the object #1 and stop (change animation, wait 3 seconds) and then goes back (change of animation) and goes to another object and stops (change animation, wait) and so on. By doing this a few times, the character no longer stop and passes the objects. And then obtained this troubles with moving AI

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • need a .capx

  • I'm seeing way too much system wait actions.

    Couldn't you take away a lot of them?

    Replace them with on animation end or something like that?

  • Its bad to have much Wait?

    take this .capx example:


  • have any idea?

  • Hey! I found a mistake in my system ladder, it select an event: walking the ladder or walk past it. I removed the extra code from the event "walk past" and he stopped kink with stops.

    Thanks all :D

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