Ejemplo n.º 1
0
    // Save/Load System

    public void newGame()
    {
        playerLvl    = 1;
        playerHealth = 100;
        playerMana   = 100;
        playerExp    = 0;
        storyCount   = 0;
        newGameBool  = true;
        quests       = new string[1];
        items        = new string[6];
        itemQuant    = new int[6];
        //spells = new string[6];
        //spells[0] = "Wind Scythe";
        items[0]     = "Health Potion";
        items[1]     = "Mana Potion";
        itemQuant[0] = 1;
        itemQuant[1] = 1;
        lvlFade0.FadeToLevel("MainTown");
    }
Ejemplo n.º 2
0
 private void LevelEnd()
 {
     // Load Story Overview screen
     levelFadeScript.FadeToLevel("6 Summary");
 }