Love Console
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Love Console
Is there a way to attach a console to love, after conf has been called? Like a love._console = true or something? I would like to make the debugging console in my game an option that gets determined by the game's config, rather than something hardwired for everyone.
Kurosuke needs beta testers
Re: Love Console
debug.debug()
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Love Console
Thats... not it (sorry, I can't think of a polite way to say that). I want to control the condition that debug is dependent on (whether or not a console is already bound).
It's not that I want to enter anything in the console, I want to be able to see everything that led up to a crash. That means I need a console, but I don't want to have everyone else testing the game getting inundated with excess information they shouldn't need to even think about.
It's not that I want to enter anything in the console, I want to be able to see everything that led up to a crash. That means I need a console, but I don't want to have everyone else testing the game getting inundated with excess information they shouldn't need to even think about.
Last edited by tentus on Thu Jan 20, 2011 5:44 pm, edited 1 time in total.
Kurosuke needs beta testers
Re: Love Console
You can't open a console after love.conf has been called.
You can however launch LÖVE from the command prompt, but that's as far as you get.
You can however launch LÖVE from the command prompt, but that's as far as you get.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Love Console
That's quite unfortunate. I guess I'll just have to keep a spare copy of conf around for when I share my game.
Kurosuke needs beta testers
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Love Console
There is a function there, but it's undocumented for a reason. What you could do though, is simply use the command line argument to love. IIRC it's -console. (so love -console game.love)
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Love Console
Two hyphens, right?bartbes wrote:There is a function there, but it's undocumented for a reason. What you could do though, is simply use the command line argument to love. IIRC it's -console. (so love -console game.love)
Help us help you: attach a .love.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Love Console
Yeah, two hyphens. I tested it. Although on Mac nothing happens (I did see some console thing in the source for Windows only, so that's probably it).
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Love Console
Mac is unix, and on unix you just run LÖVE in a terminal window.BlackBulletIV wrote:Although on Mac nothing happens (I did see some console thing in the source for Windows only, so that's probably it).
Help us help you: attach a .love.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Love Console
Yeah, that's just what I did. So Windows users can't run it from the command line?
Who is online
Users browsing this forum: Ahrefs [Bot] and 4 guests