//Print out the dragon in the main menu public static void DragonPrint() { Print.Blue(" / /"); Print.Blue(" / ' .,,,, ./ "); Print.Blue(" / ';' ,/"); Print.Blue(" / / ,,//,`'` "); Print.Blue(" ( ,, '_, ,,,' `` "); Print.Blue(@$ " | /@ ,,, ; ; ` "); Print.Blue(" / . ,'' / ' `,`` "); Print.Blue(" / . ./, `,, ` ; "); Print.Blue(@$ " ,./ . ,-,',` ,,/''\,'"); Print.Blue(" | /; ./,,'`,,'' | | "); Print.Blue(" | / ',' / |"); Print.Blue(@$ " \___ / ' ' | |"); Print.Blue(@$ " `,,' | / `\ "); Print.Blue(@$ " / | ~\ "); Print.Blue(" ' ( "); Print.Blue(" : "); Print.Blue(@$ " ; . \--"); Print.Blue(@$ " ; . \--"); Print.Blue(@$ " \ ;"); }
//Dragon animation endfight public static void DragonAnimation(Player player, Enemy enemy, List <string> fightText, Menu _menuObject) { List <String> dragon = new List <String>(); { dragon.Add("<~>"); dragon.Add(@" \ \,_____"); dragon.Add(@" ___`\"); dragon.Add(@" \('>\`-__"); dragon.Add(" ~ ~~~--__"); dragon.Add(@" ______(@\"); dragon.Add(@" /******~~~~\"); dragon.Add(@" \ `--____"); dragon.Add(" / ~~~--_____ ~~~/"); dragon.Add(" / `~~~~~ "); dragon.Add(" / "); dragon.Add(" / "); } List <String> dragonFire = new List <String>(); { dragonFire.Add("<~>"); dragonFire.Add(@" \ \,_____"); dragonFire.Add(@" ___`\"); dragonFire.Add(@" \('>\`-__"); dragonFire.Add(" ~ ~~~--__*****"); dragonFire.Add(@" ______(@\ ******* **** ******* ******"); dragonFire.Add(@" /******~~~~\**********************************"); dragonFire.Add(@" \ `--____******************************************"); dragonFire.Add(" / ~~~--_____ ~~~/ ***************************************"); dragonFire.Add(" / `~~~~~ ******************************"); dragonFire.Add(" / **** **************"); dragonFire.Add(" / *** *********** "); } WeaponAnimation(true, _menuObject); EnemyPrint("End fight", 80, 10); Print.FightConsole(); var sounds = _menuObject.SoundList(); AudioPlaybackEngine sound = new AudioPlaybackEngine(); sound.PlaySound(sounds[8]); FightConsolePrintText(fightText, player, enemy); SetTopLeftCursorPosToStandardDragon(); for (int j = 0; j < dragon.Count; j++) { Console.SetCursorPosition(left, top); Print.Blue(dragon[j]); top++; } Thread.Sleep(500); SetTopLeftCursorPosToStandardDragon(); for (int j = 0; j < dragonFire.Count; j++) { Console.SetCursorPosition(left, top); Print.Red(dragonFire[j]); top++; } Thread.Sleep(500); sound.Dispose(); Print.ClearAllScreen(); EnemyPrint("End fight", 80, 10); player.PrintCurrentPlayerStatus(); Print.FightConsole(); SetTopLeftCursorPosToStandardDragon(); for (int j = 0; j < dragon.Count; j++) { Console.SetCursorPosition(left, top); Print.Blue(dragon[j]); top++; } WeaponAnimation(true, _menuObject); }
//Weapon animation during endfight public static void WeaponAnimation(bool dragonTurn, Menu _menuObject) { List <String> sword = new List <String> { " ¤¤", " ¤¤¤¤", " |§ |", " | §|", " |§ |", " | §|", " |§ |", " | §|", " |§ |", " | §|", " |§ |", " | §| ", " |§ | ", @$ " /¯¥¯¯¯¯¯¯¥¯\ ", @$ " ¯¯¯¯|¯¯|¯¯¯¯ ", " |¥¥| ", " |¥¥| ", @$ " /¯¯¯¯\ ", " ¯¯¯¯¯¯ " }; List <String> swordSwing = new List <String> { @"¤ ¤ ", @"¤ §\ ", @" \§ \ ", @" \ §\ ", @" \§ \ ", @" \ §\ ", @" \§ \ ", @" \ §\ ", @" \§ \ ", @" \ §\ ", @" \§ \ ", @" \ §\ /¯/ ", @" \§ \ ¥ ¥ ", @" \ §\ / ", @" \§ / ", @" / / \ ", @" ¥ ¥\¥¥\ ", @" / / \¥¥\ ", @" ¯¯ \ / " }; if (dragonTurn) { SetTopLeftCursorPosToStandardSword(); for (int j = 0; j < sword.Count; j++) { Console.SetCursorPosition(left, top); Print.Blue(sword[j]); top++; } } else { for (int i = 0; i < 2; i++) { SetTopLeftCursorPosToStandardSword(); for (int j = 0; j < sword.Count; j++) { Console.SetCursorPosition(left, top); Print.Blue(sword[j]); top++; } Thread.Sleep(300); SetTopLeftCursorPosToStandardSword(); for (int j = 0; j < swordSwing.Count; j++) { Console.SetCursorPosition(left, top); Print.Blue(swordSwing[j]); top++; } //LJUD HÄR var sounds = _menuObject.SoundList(); AudioPlaybackEngine sound = new AudioPlaybackEngine(); sound.PlaySound(sounds[10]); Thread.Sleep(300); sound.Dispose(); SetTopLeftCursorPosToStandardSword(); for (int j = 0; j < sword.Count; j++) { Console.SetCursorPosition(left, top); Print.Blue(sword[j]); top++; } } } }