Page 1 of 2

Guidance for path-finding with ATL and ATC

Posted: Sat Nov 30, 2013 3:11 am
by ac3raven
I'm using Advanced Tiled Loader and Advanced Tiled Collider (ATC) in my player/enemy movement system for a top-down game. I need to do path-finding for the enemies such that they will avoid terrain marked as "obstacle" in ATC.

Can someone point a complete beginner to resources or tutorials for getting started?

Thanks!

[]

Posted: Sat Nov 30, 2013 3:21 am
by bekey
-snip-

Re: Guidance for path-finding with ATL and ATC

Posted: Sat Nov 30, 2013 6:08 pm
by ac3raven
I've tried messing with Jumper, but I can't wrap my head around it. The documentation seems lacking. :(

[]

Posted: Sat Nov 30, 2013 6:26 pm
by bekey
-snip-

Re: Guidance for path-finding with ATL and ATC

Posted: Sat Nov 30, 2013 6:39 pm
by ac3raven
Attached is my .love file.

In atl.lua, I began to implement jumper, but I have no idea what to do.

In enemy.lua I defined "enemy.tileX" and "enemy.tileY" in anticipation of implementing jumper, but again I have no idea what needs to happen.

I'm making the game for Love 0.9.0, fyi.

Jumper seems like a nice library, and I'd like to use it, but I have no clue how to.

Thanks.

Re: Guidance for path-finding with ATL and ATC

Posted: Sat Nov 30, 2013 6:40 pm
by Roland_Yonaba
ac3raven wrote:I've tried messing with Jumper, but I can't wrap my head around it. The documentation seems lacking. :(
I was thinking the documentation was pretty explicit, and the usage examples provided were simple enough.
Can you please let me know what parts were not explicit enough ? I am eager to have feedback to improve.

That said, if you *still* want to take a crack at it, here is the latest stable release (1.8.1).
Please go through the Readme. The full documentation is available here.
And in case you have questions on how to use it, I am always available to answer, or just open a thread for us to help.

But it would be unfair not to mention that there are lots of very nive pathfinding implementations out there that might suit your needs. So you have the choice.Here is a non exhaustive list:
And, naturally, you can also try implementing your own pathfinding. As for tutorials, the best one, IMO is Patrick Lester's.
Hope this helps.

Re: Guidance for path-finding with ATL and ATC

Posted: Sat Nov 30, 2013 6:55 pm
by ac3raven
The link to Jumper's readme file on the wiki page for Jumper leads here:

https://github.com/Yonaba/Jumper/blob/master/README.md

Which is remarkably less useful than the link you provided. I didn't realize there was another readme file. Perhaps the wiki link should point to the 1.8.1 readme file instead of the master.

I'll try to implement Jumper with these clearer instructions, and then I'll get back to you.

Re: Guidance for path-finding with ATL and ATC

Posted: Sat Nov 30, 2013 8:18 pm
by Jeeper
A bit offtopic perhaps, but where can I find ATC? (Im only able to find ATL on the library list).

[]

Posted: Sat Nov 30, 2013 8:43 pm
by bekey
-snip-

Re: Guidance for path-finding with ATL and ATC

Posted: Sun Dec 01, 2013 3:14 pm
by ac3raven
FYI Roland, a lot of the links in your readme file (and perhaps elsewhere) don't work. They all go straight here:

https://github.com/Yonaba/Jumper