Example #1
0
 void TriggerAbout()
 {
     Disable();
     TriggerFade(About, new Color(0, 0, 0, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Up();
 }
Example #2
0
 void TriggerReturnToTitleScreen()
 {
     Disable();
     TriggerFade(ReturnToTitleScreen, new Color(0, 0, 0, 0));
     AudioHandler.Play("selection");
     ArrowFeedback.Up();
 }
Example #3
0
 void ChangeLevelUp()
 {
     GameState.CurrentLevel++;
     if (GameState.CurrentLevel > GameState.MaxReachedLevel)
     {
         GameState.CurrentLevel = GameState.MaxReachedLevel;
     }
     else
     {
         AudioHandler.Play("cursor");
     }
     ArrowFeedback.Up();
 }
Example #4
0
 void ChangePaletteUp()
 {
     if (!EnableSwap || !EnableUp)
     {
         return;
     }
     PaletteSwap.PaletteIndex++;
     if (PaletteSwap.PaletteIndex >= _palettes.Length)
     {
         PaletteSwap.PaletteIndex = 0;
     }
     AudioHandler.Play("palette_change");
     ArrowFeedback.Up();
     UpdatePalette();
 }