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: 60
Joined: Tue May 19, 2009 1:14 am

Guidance for path-finding with ATL and ATC

Post 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!
bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey »

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:58 am, edited 1 time in total.
User avatar
ac3raven
Citizen
Posts: 60
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post by ac3raven »

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 »

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:57 am, edited 1 time in total.
User avatar
ac3raven
Citizen
Posts: 60
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post 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.
Attachments
shootstuff7.love
(252.22 KiB) Downloaded 282 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 »

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: 60
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post 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.
User avatar
Jeeper
Party member
Posts: 611
Joined: Tue Mar 12, 2013 7:11 pm
Contact:

Re: Guidance for path-finding with ATL and ATC

Post by Jeeper »

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 »

-snip-
Last edited by bekey on Fri Jan 24, 2014 1:57 am, edited 1 time in total.
User avatar
ac3raven
Citizen
Posts: 60
Joined: Tue May 19, 2009 1:14 am

Re: Guidance for path-finding with ATL and ATC

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests