Simple Counter-Strike-like console

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
hamsterready
Prole
Posts: 2
Joined: Fri Aug 22, 2014 11:08 am

Simple Counter-Strike-like console

Post by hamsterready »

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,
User avatar
Doctory
Party member
Posts: 441
Joined: Fri Dec 27, 2013 4:53 pm

Re: Simple Counter-Strike-like console

Post by Doctory »

Sweet :nyu:
Gonna use it in my game.
User avatar
Astro
Prole
Posts: 10
Joined: Fri May 02, 2014 12:02 pm
Location: Illinois, United States of America

Re: Simple Counter-Strike-like console

Post by Astro »

Looks like it has great potential! Looking forward to see more!
Never underestimate the power of a programming language.
User avatar
Doctory
Party member
Posts: 441
Joined: Fri Dec 27, 2013 4:53 pm

Re: Simple Counter-Strike-like console

Post by Doctory »

Image
I had to make some modifications to fit the size of my window, but overall it turned out great!
User avatar
Cryogenical
Prole
Posts: 49
Joined: Mon Apr 28, 2014 5:23 pm

Re: Simple Counter-Strike-like console

Post by Cryogenical »

just a side note but I'm pretty sure the console in CS is just the Source Console
Used in tf2, CS, gmod, etc
hamsterready
Prole
Posts: 2
Joined: Fri Aug 22, 2014 11:08 am

Re: Simple Counter-Strike-like console

Post by hamsterready »

Thanks for comments guys. Pull requests welcome. There is no support for ctrl-shift-alt keys so uppercase is kind of problem.

Cheers,
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: Simple Counter-Strike-like console

Post by Positive07 »

hamsterready wrote:Pull requests welcome. There is no support for ctrl-shift-alt keys so uppercase is kind of problem.
Made some haha in hope to fix that

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)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest