Node Navigation for NPCs (Platformer)

This forum is currently in read-only mode.
From the Asset Store
10 Retro songs ideal for platformers or farming games
  • How would I go about having NPCs follow a path of nodes to head towards any specified object, such as a Zombie following nodes to reach a Player.

    Example of what I am talking about:

    <img src="http://img856.imageshack.us/img856/8458/nodeexample.png">

    [Image too large. click "View Image" to get the whole thing]

    Squares = nodes

    Star = Player/Goal

    Diamond = NPC

    The NPC would automatically detect if there is a wall he can jump over, or if there is a ledge he can jump up too.

    Is this possible in Construct, or is there a better way?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yup, that's possible. I saw a similar cap somewhere using the platform behaviour to do this (as platform behaviour has the conditions "wall on left" and "wall on right")

    Not sure if it's the best way to do it, but I'd do something similar if I was making a platformer.

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