ranguna / lovedebug Goto Github PK
View Code? Open in Web Editor NEWLoveDebug - A whole new way of debugging your game
License: MIT License
LoveDebug - A whole new way of debugging your game
License: MIT License
When Ctrl and/or Alt are pressed, textinput stops getting called while at the console.
You (accidentally, I assume) commented out the main draw calls.
Steps to reproduce :
Observed : The application crash (see the trace)
Expected : The application dont crash
Trace :
cls
Error: lovedebug.lua:146: bad argument #1 to 'print' (string expected, got nil)
stack traceback:
[string "boot.lua"]:637: in function <[string "boot.lua"]:633>
[C]: in function 'print'
lovedebug.lua:146: in function 'onTop'
lovedebug.lua:804: in function lovedebug.lua:664
[C]: in function 'xpcall'
Hello. Thank you for that awesome tool! I have a problem with live coding. Please, look at this example client.love.zip. There is a commented line in main.lua
(#25): app:print("hello", 100, 100)
. If you run the app, you will see background grid, but if you uncomment this line in livecode mode (or make any other change), background disappears. I have no idea why. This background is rendered in canvas and saved to app.canvasImages.bgGrid
on first launch (look into app.lua
). Then it should be drawed in love.draw() event, but something going wrong.
Hi, im wondering why when i cloned the repo, it is about 23mb, but the actual library itself is less than a mb.
https://love2d.org/wiki/love.load documents that command line arguments are available inside love.load via "arg". When using this library, this stops working.
Line of interest:
Line 511 in e3ea896
I require as stated in the readme, start, press any single key (e.g. ctrl) and this happens:
Program starting as '"/usr/bin/love" "/home/turbo/Projects/love/example"'.
Program 'love' started in '/home/turbo/Projects/love/example' (pid: 23937).
LOVE - Warning: lovedebug.lua:36: Using deprecated function love.filesystem.getLastModified (replaced by love.filesystem.getInfo)
Error: main.lua:33: bad argument #3 to 'keypressed' (boolean expected, got nil)
stack traceback:
[string "boot.lua"]:637: in function <[string "boot.lua"]:633>
[C]: in function 'keypressed'
main.lua:33: in function 'keypressed'
lovedebug.lua:692: in function <lovedebug.lua:647>
[C]: in function 'xpcall'
[string "boot.lua"]:650: in function <[string "boot.lua"]:639>
[C]: in function 'xpcall'
Program completed in 21.75 seconds (pid: 23937).
Awesome project!!!
Issue:
When you have the lovedebug console open and your program is issuing print() calls the console does not update with the new print call strings. You must close and re-open the console for the print calls to show.
Hi, awesome lib and very helpful.
But the unfixable repo size is bothering me, seeing that this lib is under the MIT license, I've decided to make a new repo for it which is now trimmed and updated to work with the latest version of love which is 11.0
Here's the link, adding this to the readme.md would be helpful :)
https://github.com/flamendless/lovedebug
Thanks
I got error when I type space key while debug console is visible.
This is because here:
Line 723 in 43efb82
key
is properly set to "space"
and this is handled properly, but then at the same place key
has value " "
, which is set from here Line 682 in 43efb82
My love version is
LOVE 11.3 (Mysterious Mysteries)
Error
lib/lovedebug.lua:723: Invalid key constant:
Traceback
[C]: in function 'isDown'
lib/lovedebug.lua:723: in function <lib/lovedebug.lua:647>
[C]: in function 'xpcall'
[C]: in function 'xpcall'
There's some deprecated functions with LÖVE 11, one example is love.filesystem.getLastModified
.
Please add a license sighting to the github repo or within the lovedebug.lua file directly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.