Search found 3 matches

by Patman
Wed May 29, 2013 1:53 am
Forum: Libraries and Tools
Topic: Patman's Console Library
Replies: 5
Views: 3350

Re: Patman's Console Library

You should reset the font and color afer you changed it. While I think it's a good idea not to make assumptions about the graphics state after some library's draw function is called, the stealth mode makes it non-obvious that it happens so this is a good idea. I've made it work like this now. I hav...
by Patman
Mon May 20, 2013 4:17 am
Forum: Libraries and Tools
Topic: Patman's Console Library
Replies: 5
Views: 3350

Re: Patman's Console Library

Very nice! Though you should probably localize the script's "buffer" variable, as it could become problematic if someone's game used a variable called "buffer". I just added the line local buffer after line 24. You're right. I removed it when I was debugging a problem. Should be...
by Patman
Sun May 19, 2013 9:06 pm
Forum: Libraries and Tools
Topic: Patman's Console Library
Replies: 5
Views: 3350

Patman's Console Library

Hello LÖVE peoples. I've developed a really simple console library that you can use in pretty much anything. It's inspired by WoW's console and is toggled with the ~ key (though you can change it easily). console.lua: http://paste2.org/zYhxXOXD Usage: 1. Copy console.lua to your project's folder. 2....