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!
Guidance for path-finding with ATL and ATC
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Guidance for path-finding with ATL and ATC
I've tried messing with Jumper, but I can't wrap my head around it. The documentation seems lacking.
Re: Guidance for path-finding with ATL and ATC
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.
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
- 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
I was thinking the documentation was pretty explicit, and the usage examples provided were simple enough.ac3raven wrote:I've tried messing with Jumper, but I can't wrap my head around it. The documentation seems lacking.
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:
- Inny's Astar
- LuAstar, by me.
- MarekkPie's loveAstar, with binary heaps
- Bartoleo's MRPAS+Length of sight+Astar
- Kikito's Pulsar
- Taehl's TLPath
Hope this helps.
Re: Guidance for path-finding with ATL and ATC
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.
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
A bit offtopic perhaps, but where can I find ATC? (Im only able to find ATL on the library list).
Re: Guidance for path-finding with ATL and ATC
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
https://github.com/Yonaba/Jumper
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests