Search found 3 matches

by BitCruncher
Sat Jan 31, 2015 5:33 pm
Forum: General
Topic: Printing to console
Replies: 4
Views: 25424

Re: Printing to console

HugoBDesigner wrote:You need to have conf.lua. Inside it, have:

Code: Select all

function love.conf(t)
	t.console = true
end
That worked. Thanks.
by BitCruncher
Sat Jan 31, 2015 4:28 pm
Forum: General
Topic: Printing to console
Replies: 4
Views: 25424

Re: Printing to console

Here is my code. When I run this, nothing is printed to the console.

Code: Select all

function love.load ()
   love.window.setTitle ("Title Goes Here...")
   canUseCanvas = love.graphics.isSupported ("canvas")
   print (canUseCanvas)
end
by BitCruncher
Sat Jan 31, 2015 4:02 pm
Forum: General
Topic: Printing to console
Replies: 4
Views: 25424

Printing to console

Hey Guys, first-time LOVE user here.

Since LOVE2D is built on Lua, can I use print() to send debugging info to the console window? I'm running Windows 7 32-bit.