Windows: conf.lua console appears but doesn't work
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Windows: conf.lua console appears but doesn't work
As I said, use io.read to get to that input.
Shallow indentations.
Re: Windows: conf.lua console appears but doesn't work
I remember having a similar issue, I had to use love._openConsole() too to have Bartbes' Repler working correctly
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Windows: conf.lua console appears but doesn't work
t.console = true makes LÖVE call love._openConsole() after requiring main.lua and before love.load/love.run is called.
Re: Windows: conf.lua console appears but doesn't work
Yeah, I noticed I was being stupid as always and requiring Repler (so, calling io.read) before love.load
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
-
- Prole
- Posts: 36
- Joined: Wed Jul 25, 2012 10:51 pm
- Location: Right behind you. I know you looked. Heck, even I looked
Re: Windows: conf.lua console appears but doesn't work
Here's your answer:T-Bone wrote:You still haven't uploaded a .love containing the code that doesn't work for you. love.conf should be enough.
If you upload it, we can probably tell what's wrong.
B-Man99 wrote:I am using Love 0.8.0, the normal one, and I have tried this with everything from my own .love files to Mari0 (stabyourself.net) and Platform Guy (from these forums).
Thank you. I think I understand now.Boolsheet wrote:As I said, use io.read to get to that input.
Okay. Thanks for the explanationslime wrote:t.console = true makes LÖVE call love._openConsole() after requiring main.lua and before love.load/love.run is called.
RECAP: My problem, though not fixed, have enough alternatives that I don't need anything else. If you have more info, please tell me about it, but things are good for now. Thanks everyone for all of your help.
- slime
- Solid Snayke
- Posts: 3162
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Windows: conf.lua console appears but doesn't work
In 0.9.0, love._openConsole will be called before main.lua is loaded, so print will behave as expected (except when used in conf.lua).
-
- Prole
- Posts: 36
- Joined: Wed Jul 25, 2012 10:51 pm
- Location: Right behind you. I know you looked. Heck, even I looked
Re: Windows: conf.lua console appears but doesn't work
Thanks for the info Slime
Who is online
Users browsing this forum: No registered users and 1 guest