How do I Follow the Object (Bullet)with Pathfinding Behavior

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • hi guys, i need some help, to resolve some problem

    so, i make a games with touch and pathfinding behavior

    and the i want to MainChar go to the object when we click the Object

    but if the Object has Bullet behavior, the MainChar not follow the object but only follow the first place i click the Object, so the MainChar and Object not meet...

    Thanks before......and sorry about my grammar and vocabularies...

  • You probably have set the pathfinding behaviour to go to the point where the touch was, right?

    This only works for non-moving objects.

    To follow a moving object, you need to update the pathfinding every second or so. (depends on your liking how regularly it gets updated. The more often the more ressource intensive the program will be)

    I created a .capx for you, have a look: https://www.dropbox.com/s/xrh10x5z7mmbnwy/FollowBullet.capx?dl=1

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You probably have set the pathfinding behaviour to go to the point where the touch was, right?

    This only works for non-moving objects.

    To follow a moving object, you need to update the pathfinding every second or so. (depends on your liking how regularly it gets updated. The more often the more ressource intensive the program will be)

    I created a .capx for you, have a look: https://www.dropbox.com/s/xrh10x5z7mmbnwy/FollowBullet.capx?dl=1

    Really thanks randomly, well done, thanks for helping me. finally i get it, i will try to implement with touch now....once again thanks randomly

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