Yeah, that got me too at first.bartbes wrote:It probably uses love.timer.sleep somewhere, in which case you should divide that value by 1000.
Debug - A whole new way of debugging your game
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Debug - A whole new way of debugging your game
Re: Debug - A whole new way of debugging your game
and event names "keypressed"
but still - love freeze
any one have code for 0.8.0?
but still - love freeze
any one have code for 0.8.0?
Re: Debug - A whole new way of debugging your game
How did you do that input, read() or local a = read() ect doesnt work?
Re: Debug - A whole new way of debugging your game
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:
Oddly, debug.lua exists in the same directory as main.lua.
Code: Select all
require("debug")
For some reason typing this also gives an error:
Code: Select all
require("debug.lua") --error module 'debug.lua' not found
Re: Debug - A whole new way of debugging your game
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.Redshft wrote: For some reason typing this also gives an error:
Code: Select all
require("debug.lua") --error module 'debug.lua' not found
Short version: remove the .lua part
Re: Debug - A whole new way of debugging your game
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
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
Sorry for the huge bump, but are you still working on this? It would be great to see it in 0.8.0
-
- Prole
- Posts: 36
- Joined: Wed Jul 25, 2012 10:51 pm
- Location: Right behind you. I know you looked. Heck, even I looked
Re: Debug - A whole new way of debugging your game
It won't go up for me when I press shift-f8...
Re: Debug - A whole new way of debugging your game
I updated vrdl.love-console to LÖVE v0.80. A handy tool
https://github.com/kruegsch/love-console
https://github.com/kruegsch/love-console
- Attachments
-
- love-console.love
- (31.57 KiB) Downloaded 203 times
Who is online
Users browsing this forum: No registered users and 1 guest