Search found 492 matches
- Wed Jan 03, 2024 1:29 pm
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 78417
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 was using 1.8.1, but that misses Theta*. Crashing is probably due to a larger map. I tested 1.8.1 and it worked ...
- Wed Jan 03, 2024 9:54 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 78417
Re: How to path around blocked tiles with jumper?
Check this:
https://github.com/Yonaba/Jumper/tree/m ... per/search
and maybe update your code to this version.
https://github.com/Yonaba/Jumper/tree/m ... per/search
and maybe update your code to this version.
- Tue Jan 02, 2024 2:55 pm
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 78417
Re: How to path around blocked tiles with jumper?
Hey, Brah, check this out: https://ambience.sk/simple-pathfinding- ... -lua-love/
- Mon Jan 01, 2024 11:53 am
- Forum: Support and Development
- Topic: How to path around blocked tiles with jumper?
- Replies: 12
- Views: 78417
Re: How to path around blocked tiles with jumper?
Are you referring to Yonaba's Jumper? https://github.com/Yonaba/Jumper Stating which library you are using would be helpful. You need to create and provide a callback function that will return simple 0 (wall)/1 (path) based on walkability, e.g.: function isWalkable(sector) if sector=='path' then ret...
- Sun Dec 31, 2023 10:17 am
- Forum: General
- Topic: New User / Game Idea Help
- Replies: 5
- Views: 23569
Re: New User / Game Idea Help
You can check an input library good for you here: https://github.com/xiejiangzhi/input But basically you can just use this function and add entered characters to a stack: https://love2d.org/wiki/love.textinput You can also look for some basic text parsers to help you with tokenization, but really ol...
- Thu Dec 28, 2023 6:02 pm
- Forum: Games and Creations
- Topic: Started My Very First Love2d Game
- Replies: 25
- Views: 281523
Re: Started My Very First Love2d Game
Dragging a line is just a way of showing that selection is in progress. But I should have mentioned that. Soon I'll make a readme that can be updated as progress is made. I meant having an option to drag a line from one planet to another as an alternative to clicking first and clicking second. I tr...
- Thu Dec 28, 2023 3:42 pm
- Forum: Games and Creations
- Topic: Started My Very First Love2d Game
- Replies: 25
- Views: 281523
Re: Started My Very First Love2d Game
So maybe I should just zip the files and not the folder? I'll try that. Okay done. Thanks Very simple space game indeed. It took me a minute to understand what a player should be doing. Dragging a line would help in addition to clicks. Also it's not clear what the starting planet is and also why in...
- Thu Dec 28, 2023 11:04 am
- Forum: Games and Creations
- Topic: Started My Very First Love2d Game
- Replies: 25
- Views: 281523
Re: Started My Very First Love2d Game
Probably incorrectly packaged: Error [love "boot.lua"]:321: No code to run Your game might be packaged incorrectly. Make sure main.lua is at the top level of the zip. Traceback [love "callbacks.lua"]:228: in function 'handler' [C]: in function 'error' [C]: in function 'xpcall' [C...
- Sun Dec 24, 2023 12:48 pm
- Forum: General
- Topic: [Just for fun] Roast my code.
- Replies: 14
- Views: 233578
Re: [Just for fun] Roast my code.
He roasted you well. All the good, basic pointers to improve your code. Just read some tutorial about code standards. Also lots of ifs in loops, maybe some could be replaced by recursive functions, but I am lazy to check in detail, sorry. Anyway, the code is bit overcomplicated and difficult to read...
- Sun Dec 24, 2023 12:47 pm
- Forum: Support and Development
- Topic: How to make a main menu using HUMP?
- Replies: 3
- Views: 1029
Re: How to make a main menu using HUMP?
You don't specify which part of the hump lib you are using for your menu. It does not really make sense to use camera for menu. Although it's possible to create it that way, it's non standard at the best. Check the UI libs that might help you laying out a menu: https://github.com/love2d-community/a...