The second video its self is dedicated to the debug console. However, I'm having a problem. I can't get my Console to open.
I am using Windows 8, and I hope it's not a problem with it. Any ideas?
EDIT: Fixed. t.modules.keyboard = true was missing the "s" for modules. Now it works.
Conf.lua
Code: Select all
function love.conf(t)
t.modules.joystick = true -- Enables joysticks
t.modules.aduio = true -- Enable audio
t.module.keyboard = true -- Enable keyboard
t.modules.event = true -- Enable event
t.modules.image = true -- Enable image
t.modules.graphics = true -- Enable Graphics
t.modules.timer = true -- Enable timer
t.modules.mouse = true -- Enable mouse
t.modules.sound = true -- Enable sound
t.modules.thread = true
t.modules.physics = true -- Enable physics
t.console = true -- Enable console (windows only)
t.title = "Wolfenstein Test"
t.author = "reaply"
t.screen.fullscreen = false
t.screen.vsync = false
t.screen.fsaa = 0
t.screen.height = 600
t.screen.width = 800
end
main.lua
Code: Select all
function love.load()
love.graphics.setBackgroundColor( 255, 255, 255 )
end
function love.draw()
end
function love.update(dt)
end
function love.focus(bool)
end
function love.keypressed( key, unicode )
end
function love.keyreleased( key, unicode )
end
function love.mousepressed( x, y, button )
end
function love.mousereleased( x, y, button )
end
function love.quit()
end