Search found 13 matches
- Sun Jan 21, 2024 11:58 pm
- Forum: Support and Development
- Topic: Isometric Pathfinding Bugs
- Replies: 3
- Views: 1134
Re: Isometric Pathfinding Bugs
Yes they do. I didn't notice that
- Sun Jan 21, 2024 8:31 am
- Forum: Support and Development
- Topic: Isometric Pathfinding Bugs
- Replies: 3
- Views: 1134
Re: Isometric Pathfinding Bugs
I solved the first problem by using math.floor. Would still like to know why Jumper doesn't want to use the tiled map table as it's grid.
- Sun Jan 21, 2024 8:05 am
- Forum: Support and Development
- Topic: Isometric Pathfinding Bugs
- Replies: 3
- Views: 1134
Isometric Pathfinding Bugs
I have encountered two bugs using the Simple Tiled Implementation and the Jumper pathfinding library when using an isometric map. The first one is that only valid grid coordinates that I can move to when clicking on the map are 9,9. Everything else gives me: Error jumper/pathfinder.lua:331: Invalid ...
- Wed Jan 03, 2024 11:40 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 99399
Re: How to path around blocked tiles with jumper?
Either Dijkstra, Breadth First Search or Flood Fill. I have no idea which one to use
- Wed Jan 03, 2024 10:24 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 99399
Re: How to path around blocked tiles with jumper?
Check this: https://github.com/Yonaba/Jumper/tree/master/jumper/search and maybe update your code to this version. I tried using that version of Jumper and it causes my games to crash. I think I have an older version of jumper because I don't have THETASTAR and my getPath coordinates are X,Y... Do ...
- Wed Jan 03, 2024 8:02 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 99399
Re: How to path around blocked tiles with jumper?
I think I have an older version of jumper because I don't have THETASTAR and my getPath coordinates are X,Y...
Do you have any stuff on weighted grids and movement costs?
Do you have any stuff on weighted grids and movement costs?
- Tue Jan 02, 2024 1:39 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 99399
- Mon Jan 01, 2024 3:52 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 99399
Re: How to path around blocked tiles with jumper?
I figured out this problem by myself but I have another another question. How do I write a walkable tile function for jumper?
- Sun Dec 31, 2023 4:06 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 99399
How to path around blocked tiles with jumper?
I'm using jumper for pathfinding and was wondering how to get the algorithm to take into account tiles blocked by enemies and other objects when finding a path.
- Sun Oct 30, 2022 10:52 am
- Forum: Support and Development
- Topic: How to teleport?
- Replies: 2
- Views: 3502
Re: How to teleport?
Thanks for the idea! This fixed it
Code: Select all
function player:keypressed(k)
if k == "space" then
self.body:setPosition(mouse_x, mouse_y)
print("teleport")
end
end