Page 6 of 11
Re: Debug - A whole new way of debugging your game
Posted: Tue Feb 07, 2012 2:22 pm
by Jasoco
bartbes wrote:It probably uses love.timer.sleep somewhere, in which case you should divide that value by 1000.
Yeah, that got me too at first.
Re: Debug - A whole new way of debugging your game
Posted: Tue Feb 07, 2012 4:14 pm
by gfreak
and event names "keypressed"
but still - love freeze
any one have code for 0.8.0?
Re: Debug - A whole new way of debugging your game
Posted: Wed Mar 21, 2012 2:44 pm
by rickydaan
How did you do that input, read() or local a = read() ect doesnt work?
Re: Debug - A whole new way of debugging your game
Posted: Fri Apr 13, 2012 3:59 am
by Redshft
I'm new to Lua and Love2D, and i'm having trouble integrating this script. Do I need to do anything other than:
If I type that, and launch the game, and try shift+f8 nothing happens. Ctrl+f8 doesn't work either.
For some reason typing this also gives an error:
Code: Select all
require("debug.lua") --error module 'debug.lua' not found
Oddly, debug.lua exists in the same directory as main.lua.
Re: Debug - A whole new way of debugging your game
Posted: Fri Apr 13, 2012 4:36 am
by Kadoba
Redshft wrote:
For some reason typing this also gives an error:
Code: Select all
require("debug.lua") --error module 'debug.lua' not found
For lua, a period can also be a separator for directories. So you can require things like "scripts.library.enemy" instead of "scripts/library/enemy". Prior to 0.8.0 love allowed you to end a file with ".lua" even though pure lua doesn't let you do that. It was decided this was a bad idea so it was taken out. require "debug.lua" actually now looks for a lua file in the debug folder. This probably doesn't exist, of course.
Short version: remove the .lua part
Re: Debug - A whole new way of debugging your game
Posted: Fri Apr 13, 2012 4:41 am
by Redshft
Ok, thanks. Also, do I need to run anything, to get this script to work? Right now the console is not working when I press control and F8 or shift and f8.
Re: Debug - A whole new way of debugging your game
Posted: Thu May 17, 2012 4:05 am
by Qcode
Sorry for the huge bump, but are you still working on this? It would be great to see it in 0.8.0
Re: Debug - A whole new way of debugging your game
Posted: Thu May 17, 2012 4:05 am
by Qcode
Sorry for the huge bump, but are you still working on this? It would be great to see it in 0.8.0
Re: Debug - A whole new way of debugging your game
Posted: Sat Aug 25, 2012 2:38 pm
by B-Man99
It won't go up for me when I press shift-f8...
Re: Debug - A whole new way of debugging your game
Posted: Mon Sep 03, 2012 2:59 pm
by kruegsch
I updated vrdl.love-console to LÖVE v0.80. A handy tool
https://github.com/kruegsch/love-console