Hi guys,
I just wanted to share with you my first little module for Love: https://github.com/hamsterready/love-console
It is simple console which appears at the top of the game window and displays logs or whatever you want it to do. It has simple mechanics to grab input from user and (optional) callback to handle it according to your needs (for instance one can use Lua loadstring() to change state of the game for debugging, etc...).
Docs, generic screenshot and demo at github.
Cheers,
Simple Counter-Strike-like console
-
- Prole
- Posts: 2
- Joined: Fri Aug 22, 2014 11:08 am
Re: Simple Counter-Strike-like console
Sweet
Gonna use it in my game.
Gonna use it in my game.
- Astro
- Prole
- Posts: 10
- Joined: Fri May 02, 2014 12:02 pm
- Location: Illinois, United States of America
Re: Simple Counter-Strike-like console
Looks like it has great potential! Looking forward to see more!
Never underestimate the power of a programming language.
Re: Simple Counter-Strike-like console
I had to make some modifications to fit the size of my window, but overall it turned out great!
- Cryogenical
- Prole
- Posts: 49
- Joined: Mon Apr 28, 2014 5:23 pm
Re: Simple Counter-Strike-like console
just a side note but I'm pretty sure the console in CS is just the Source Console
Used in tf2, CS, gmod, etc
Used in tf2, CS, gmod, etc
-
- Prole
- Posts: 2
- Joined: Fri Aug 22, 2014 11:08 am
Re: Simple Counter-Strike-like console
Thanks for comments guys. Pull requests welcome. There is no support for ctrl-shift-alt keys so uppercase is kind of problem.
Cheers,
Cheers,
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Simple Counter-Strike-like console
Made some haha in hope to fix thathamsterready wrote:Pull requests welcome. There is no support for ctrl-shift-alt keys so uppercase is kind of problem.
Nice lib
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Who is online
Users browsing this forum: Bing [Bot] and 4 guests