Konami Code

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Konami Code

Post by BlackBulletIV »

kikito wrote:must ... resist ... temptation...
I know how you feel... Imagination can be deadly.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Konami Code

Post by Robin »

BlackBulletIV wrote:So those things had the "Konami code" in certain places did they?
AFAIK, there was one game that had that code, and other games started copying that, as a sort of pop-culture reference, and now it's pretty much legendary. Sort of like xyzzy.

EDIT: yay 3000
Last edited by Robin on Thu Apr 28, 2011 9:52 am, edited 1 time in total.
Help us help you: attach a .love.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Konami Code

Post by BlackBulletIV »

Ah ok.

Hey congratulations on 3000 posts! That's awesome.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Konami Code

Post by Lafolie »

kikito wrote:damn. I now want to make a library to make it easier to capture the konami code.

must ... resist ... temptation...
How about the Löve code? :P
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Konami Code

Post by kikito »

Lafolie wrote:
kikito wrote:damn. I now want to make a library to make it easier to capture the konami code.

must ... resist ... temptation...
How about the Löve code? :P
Aaaah don't provoke me further! I was thinking in a way to make it easy to capture codes in general. Not only the konami code. Street Fighter's Hadoukens too. But I will NOT do that.

Yet.
When I write def I mean function.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Konami Code

Post by Lafolie »

I'm really tempted to give the spambot a rep. xD

But really, do it man! It's just a sort of buffered list I'd have thought. Capturing strings of input and comparing it. Tables. Input. Codes.... :P
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Konami Code

Post by miko »

Lafolie wrote:I'm really tempted to give the spambot a rep. xD

But really, do it man! It's just a sort of buffered list I'd have thought. Capturing strings of input and comparing it. Tables. Input. Codes.... :P
True, the temptation was strong! I think it is better to implement it as a tree of states. Here is my code https://github.com/miko/Love2d-samples/ ... odeCapture (sample uses keys as well as mouse buttons).

This could be used for in-game commands (like "menu", "quit" etc).
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Post Reply

Who is online

Users browsing this forum: slime and 204 guests