Search found 47 matches

by rxi
Fri Apr 18, 2014 6:53 pm
Forum: Libraries and Tools
Topic: Lovebird : A browser-based debug console
Replies: 17
Views: 16852

Re: Lovebird : A browser-based debug console

[...] One problem though. I notice that when running my game, the thread constantly stalls for a quarter of a second. I traced this down to the client:receive() call on line 540 here: https://github.com/rxi/lovebird/blob/master/lovebird.lua It might be worth making the lua socket calls asynchronous...
by rxi
Wed Apr 16, 2014 8:16 pm
Forum: Libraries and Tools
Topic: Lovebird : A browser-based debug console
Replies: 17
Views: 16852

Lovebird : A browser-based debug console

Lovebird is a browser-based debug console for LÖVE. https://www.love2d.org/w/images/9/9a/lovebird_0.3.0pre_screenshot.png Check out the README for instructions on how to get it set up. The github repo is over here: https://github.com/rxi/lovebird Once you have it running you can enter lua commands ...
by rxi
Tue Apr 15, 2014 10:31 am
Forum: Games and Creations
Topic: Concerned Joe
Replies: 137
Views: 74117

Re: Concerned Joe

http://concernedjoe.com/devblog/misc-monday-34-shiny-crowns-and-real-time-shaders/ Writing shaders is a lot easier when you can instantly see the changes you're making. Holy cow - I want!... My library lurker provides this functionality and can be used the exact same way on shaders as is demonstrat...
by rxi
Wed Mar 12, 2014 5:43 pm
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

I had some function ideas for Lume: [...] polygonScale(polygon, x, y) // Scales a polygon polygonTranslate(polygon, x, y) // translate a polygon getPolygonBoundingBox(polygon) // returns the polygon bounding box. derp [...] getFontSize(font, text) // the same as doing "font:getWidth(text), fon...
by rxi
Sun Mar 09, 2014 9:39 pm
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

https://love2d.org/imgmirrur/fpr9VCV.gif Lurker Updates ...my only suggestion is to add a screen/warning for syntax errors, the console notification is nice but sometimes it's easy to miss... This is now the default behaviour. If lurker tries to load a file with a syntax error, assuming it's in pro...
by rxi
Sun Mar 09, 2014 3:29 pm
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

I'm sorry if I'm annoying you, I definitely like the way lurker does things. I'm just being a bit over-inquisitive, I guess. :) I suppose what I had in mind wasn't reloading the whole project, but only reconstructing the object that has a change in its constructor. Although now that I think about i...
by rxi
Sun Mar 09, 2014 2:48 pm
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

Yes, I get that. But what if the gravity or bullet speed is set up in an object constructor? Then, the program is already running, and the object is already constructed with the previous values. Then the quick tweak would be ineffective, correct me if I'm wrong. Then you recreate the object -- If i...
by rxi
Sun Mar 09, 2014 2:29 pm
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

but is there a way for you to add a call that reloads the entire project? so that whatever is changed in there is reconstructed (at least that's what it seems like). I'm getting the sense you may be misunderstanding the purpose of lurker: the fact that the entire project is not reloaded was the poi...
by rxi
Sun Mar 09, 2014 1:38 am
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

This new version doesn't work on my project anymore. After using lurker.scan once another scan is never triggered whenever I press the key I set to scan. Whoops. I was just about to head off to bed but I think I managed to find the bug, haven't tested this version out yet so I've not pushed it to t...
by rxi
Sat Mar 08, 2014 11:49 pm
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34793

Re: Lume & Lurker : Utility functions and auto-hotswapping

Now, the question is whether I use this or this, or some combination of the two. I believe lurker and lovedebug provide completely different functionality, I'd say give both of them a shot to see which one offers you what you want :) -- to get lurker up and running you just copy two files to your p...