Search found 15 matches

by GlorifiedPig
Sat Sep 05, 2020 2:54 pm
Forum: Libraries and Tools
Topic: turtle.lua - Drawing library
Replies: 16
Views: 30749

Re: turtle.lua - Drawing library

Good job, looks like you've put a lot of effort into this
by GlorifiedPig
Sat Sep 05, 2020 2:51 pm
Forum: Libraries and Tools
Topic: Hook Library
Replies: 13
Views: 20452

Re: Hook Library

I see. Going over the code I think it closely resembles the publisher->subscriber model. The primary feature which you forgot to mention is that you can attach multiple hooks/callbacks to one particular event/hookID. It's not bad although I'm not 100% sold on having to specify uniqueIDs. Also this ...
by GlorifiedPig
Fri Sep 04, 2020 5:37 pm
Forum: Libraries and Tools
Topic: Hook Library
Replies: 13
Views: 20452

Re: Hook Library

Any examples on how/why this could be used? Also, I should mention that the debug. module has general purpose hooks. This is completely unrelated to the debug module hooks brother, also sure thing: main.lua function love.update( dt ) Hook.Call( "Update", dt ) end otherfile.lua Hook.Attach...
by GlorifiedPig
Fri Sep 04, 2020 3:35 pm
Forum: Libraries and Tools
Topic: A* path finding
Replies: 1
Views: 10137

Re: A* based path finding

Thanks, this is significantly faster than other A* libraries I have found :) could you put it on GitHub so I can fork and perhaps contribute?
by GlorifiedPig
Fri Sep 04, 2020 3:24 pm
Forum: Libraries and Tools
Topic: Hook Library
Replies: 13
Views: 20452

Hook Library

I created a hook library that works similarly to the one in Garry's Mod. Insanely useful for events and code organization, I personally use it for all my projects. MIT licensed and fully documented, feel free to do whatever with it :) You can find the gist here. Example usage: main.lua function love...