Guidance for path-finding with ATL and ATC

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
ac3raven
Citizen
Posts: 55
Joined: Tue May 19, 2009 1:14 am

Guidance for path-finding with ATL and ATC

Post by ac3raven » Sat Nov 30, 2013 3:11 am

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!

bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey » Sat Nov 30, 2013 3:21 am

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:58 am, edited 1 time in total.

User avatar
ac3raven
Citizen
Posts: 55
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post by ac3raven » Sat Nov 30, 2013 6:08 pm

I've tried messing with Jumper, but I can't wrap my head around it. The documentation seems lacking. :(

bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey » Sat Nov 30, 2013 6:26 pm

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:57 am, edited 1 time in total.

User avatar
ac3raven
Citizen
Posts: 55
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post by ac3raven » Sat Nov 30, 2013 6:39 pm

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.
Attachments
shootstuff7.love
(252.22 KiB) Downloaded 98 times

User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Guidance for path-finding with ATL and ATC

Post by Roland_Yonaba » Sat Nov 30, 2013 6:40 pm

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.

User avatar
ac3raven
Citizen
Posts: 55
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post by ac3raven » Sat Nov 30, 2013 6:55 pm

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.

User avatar
Jeeper
Party member
Posts: 546
Joined: Tue Mar 12, 2013 7:11 pm

Re: Guidance for path-finding with ATL and ATC

Post by Jeeper » Sat Nov 30, 2013 8:18 pm

A bit offtopic perhaps, but where can I find ATC? (Im only able to find ATL on the library list).

bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey » Sat Nov 30, 2013 8:43 pm

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:57 am, edited 1 time in total.

User avatar
ac3raven
Citizen
Posts: 55
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post by ac3raven » Sun Dec 01, 2013 3:14 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests