Search found 15 matches

by GlorifiedPig
Sun Mar 07, 2021 1:35 pm
Forum: Libraries and Tools
Topic: Luafinding - fast, efficient & easy A* pathfinding library
Replies: 7
Views: 1717

Re: Luafinding - fast, efficient & easy A* pathfinding library

Luafinding Luafinding is an A* module written in Lua with the main purposes being ease of use & optimization. Feel free to open any issues you find and make pull requests. Is it faster than Jumper? https://www.love2d.org/wiki/Jumper Nope, Jumper takes the cake for being the most optimized - I w...
by GlorifiedPig
Wed Mar 03, 2021 11:45 pm
Forum: Libraries and Tools
Topic: Luafinding - fast, efficient & easy A* pathfinding library
Replies: 7
Views: 1717

Re: Luafinding - fast, efficient & easy A* pathfinding library

You should be able to modify the Vector class and add support for 3 dimensions super easily, just make sure the :ID() function generates a unique number for each Vector, or am I misunderstanding you? Well sure I could modify everything around the A* algorithm to adapt it to other topologies, but I'...
by GlorifiedPig
Wed Mar 03, 2021 7:30 pm
Forum: Libraries and Tools
Topic: Luafinding - fast, efficient & easy A* pathfinding library
Replies: 7
Views: 1717

Re: Luafinding - fast, efficient & easy A* pathfinding library

You've locked into using a 2-dimensional regular grid. My maps aren't regular grids, so I can't use this. A generic pathfinding library wouldn't care about the topology of the game world, and would instead implement callbacks to get neighboring cells, etc. which is topology-agnostic. You should be ...
by GlorifiedPig
Wed Mar 03, 2021 6:31 pm
Forum: Libraries and Tools
Topic: Luafinding - fast, efficient & easy A* pathfinding library
Replies: 7
Views: 1717

Luafinding - fast, efficient & easy A* pathfinding library

Luafinding Luafinding is an A* module written in Lua with the main purposes being ease of use & optimization. Feel free to open any issues you find and make pull requests. https://github.com/GlorifiedPig/Luafinding Performance Tests To run a performance test yourself, see "performance/perf...
by GlorifiedPig
Sat Sep 26, 2020 12:49 pm
Forum: Libraries and Tools
Topic: Hook Library
Replies: 13
Views: 12973

Re: Hook Library

Nekyia wrote: Tue Sep 08, 2020 3:46 pm Hello! I think it is similar to: https://hump.readthedocs.io/en/latest/signal.html
Am I right?
Hello there, yep this is correct! That looks very similar to that library.
by GlorifiedPig
Sun Sep 06, 2020 9:03 am
Forum: Libraries and Tools
Topic: Hook Library
Replies: 13
Views: 12973

Re: Hook Library

This would work but I cannot find a use case for having it in a specific order There's this thing called "the principle of least surprise", and library code is usually expected to adhere to it. In this case it means that hooks should be called in the order they were added, instead of the ...
by GlorifiedPig
Sat Sep 05, 2020 3:47 pm
Forum: Libraries and Tools
Topic: Hook Library
Replies: 13
Views: 12973

Re: Hook Library

I think the lib would be much better if you just stored your hooks in a list and used ipairs. You can also use the func pointer as a unique id anyways. This goes completely against what the library was made for, the unique IDs are for direct reference to the table. I believe you are having trouble ...
by GlorifiedPig
Sat Sep 05, 2020 3:02 pm
Forum: Ports
Topic: LÖVR - a LÖVE-like engine for virtual reality
Replies: 31
Views: 77124

Re: LÖVR - a LÖVE-like engine for virtual reality

GlorifiedPig wrote: Sat Sep 05, 2020 2:58 pm Looks good. Is there any way to debug without putting your VR headset on everytime?
Nevermind lol, I found out, turns out you can, good stuff mate
by GlorifiedPig
Sat Sep 05, 2020 2:58 pm
Forum: Ports
Topic: LÖVR - a LÖVE-like engine for virtual reality
Replies: 31
Views: 77124

Re: LÖVR - a LÖVE-like engine for virtual reality

Looks good. Is there any way to debug without putting your VR headset on everytime?
by GlorifiedPig
Sat Sep 05, 2020 2:55 pm
Forum: Games and Creations
Topic: DRÖM, a DREAM 6800 emulator
Replies: 2
Views: 5054

Re: DRÖM, a DREAM 6800 emulator

Looks really good, great job