Movement along path determined with nodes

0 favourites
  • 3 posts
From the Asset Store
Node Downloader is a plugin for download file for Construct 3 and construct 2 game engine
  • Hi, whats the easiest way of making movement along path created by nodes hard-placed on the map ?

    I want to place invisible objects on layer, set order id for each of them, and then make an object move to each of them ?

    I want to make a simple tower defense with determined path on the map, and make enemies follow that path.

    Pathfinding in such situation in complete overwhelming.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • MMM maybe add a instance variable... so when a sprite touches one of the nodes it will add 1 to such variable

    and then have like this

    if instance viriable=0

    move to node 1

    when it reaches the node

    add +1 to instance viriable

    if instance viriable=1

    move to node 2

    when it reaches the node

    add +1 to instance viriable

    if instance viriable=2

    move to node 3

    when it reaches the node

    add +1 to instance viriable

    and on and on

    try chaning the pathfinding behaviour to "ignore diagonals"??

    this is a very shallow idea... but if you dont find any answers try it

  • If you are looking for simple waypoint movement, check out

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