Skip to content

MauriceButler/gaffa-konami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#gaffa-konami

Gaffa konami code behaviour

Install:

npm i gaffa-konami

Add to gaffa:

var Konami = require('gaffa-konami');

gaffa.registerConstructor(Konami);

Usage

var konami = new Konami();

interval.actions.trigger = [myCoolAction];

API

Actions

trigger

Is triggered when the conami code is entered as below

####On the keyboard ↑ ↑ ↓ ↓ ← → ← → B A ENTER

####As touch input ↑ ↑ ↓ ↓ ← → ← → TAP TAP TAP

About

Gaffa behaviour to trigger on konami code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published