7 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
5 star 7
4 star 0
3 star 0
2 star 0
1 star 0
Compatible with
  • iOS
  • Android

Eggs-To-Go 1.1.1

Redth

Cross platform mobile library for implementing Easter Egg gestures

Eggs-To-Go

Eggs-To-Go is a Xamarin Cross Platform mobile library for implementing Easter Egg gestures!

Features

  • Konami and Mortal Kombat code
  • Create your own Custom sequences
  • Xamarin.iOS and Xamarin.Android support
  • Xamarin Component store

Quick and Simple

//Create our new instance, specifying the UIView to recognize gestures on
var easter = new EggsToGo.Easter (this.View, new KonamiCode());

//Event for when a egg/code has been detected (eg: Konami Code)
easter.EggDetected += egg => Console.WriteLine("Egg: " + egg.Name);

//You can see each individual command as it happens too
easter.CommandDetected += cmd => Console.WriteLine("Command: " + cmd.Value);

Default Egg Sequences

By default I've included the Konami code and Mortal Kombat code:

  • Konami Code: UP, UP, DOWN, DOWN, LEFT, RIGHT, LEFT, RIGHT, TAP, TAP
  • Mortal Kombat Code: DOWN, UP, DOWN, DOWN, LEFT, RIGHT, LEFT, RIGHT, TAP, TAP

Custom Egg Sequences

By default the Konami and Mortal Kombat codes are built in, but you may want to add your own sequences!

var easyEgg = new CustomEgg("Easy")
    .WatchForSequence(Command.SwipeUp(), Command.SwipeDown(), Command.Tap());

var easter = new Easter(this.View, easyEgg);

Thanks

Thanks to Eight-Bot software for their original post on getting this working with Mono for Android: http://eightbot.com/writeline/developer/konami-code-detection-with-mono-for-android/

This was definitely my inspiration for making this simple component!

Release Notes

1.1.1

  • iOS: Updated Unified support

1.1

  • iOS Unified API Support
Write a Review

1 review

Benedikt Huebschen rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Konami Code =)

Posted on: September 16, 2013 / Version: 1.0