0 Favourites

Plugin-free pathfinding

  • Hey all,

    I ran into so issues when using pathfinder plugins, namely performance issues on phones. So, I decided to see if I could event one! And I must say I am quite pleased with it. Since I have seen many people having trouble with pathfinding (particularly for RPGs), I decided to post it here.

    Now it isn't a true pathfinder, it is only concerned with getting around small obstacles that are directly around it. So while useful navigating a cleanly laid out town for instance, it won't be any good for navigating mazes or the like.

    Also I recommend using the 'moveTo' plugin to make movement fluid, or some lerping formula (I am no good with that, but have seen it used to great effect by others).

    So to sum up, it's a neat little system for a basic RPG and easy to tinker with if you want it to do some custom functions. Like in my project, if you touch certain objects it will set the target to a specified location. Or maybe you could do something with platforms and 'against wall' to help him get around large obstacles. Hope it helps someone!

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
105 16,947
Magistross's avatar
Magistross
Unread hot topic
42 6,334
cranberrygame's avatar
cranberrygame
Topic
21 473
YoHoho's avatar
YoHoho