Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Animation Bug

I have this wierd animation bug. When player attacks enemy, hurt animation is played, and after that it proceed to the idle animation. Like this .


But sometimes this bug can appear. Leg get's stuck in this position.

So, how do i fix it?

Answers

  • you have to type this AT YOUR OWN RISK!

    //quiz 1 result1

                Console.WriteLine("what is 3+3");

                double result1 =Convert.ToInt32(Console.ReadLine());

                

                if (result1==6)

                {   Console.ForegroundColor=ConsoleColor.Green;

                    Console.WriteLine("correct answer!");

                } 

                else

                {

                    Console.ForegroundColor=ConsoleColor.DarkRed;

                    Console.WriteLine("wrong answer");

                }

                //quiz 2 result2

                Console.ForegroundColor=ConsoleColor.White;

                Console.WriteLine("what is 3*4");


                double result2 =Convert.ToInt32(Console.ReadLine());

                

                if (result2==12)

                {

                    Console.ForegroundColor=ConsoleColor.Green;

                    Console.WriteLine("correct answer!");

                } 

                else

                {

                    Console.ForegroundColor=ConsoleColor.DarkRed;

                    Console.WriteLine("wrong answer");

                }

                //quiz3 result3

                Console.ForegroundColor=ConsoleColor.White;

                 Console.WriteLine("what is 10-3");


                double result3 =Convert.ToInt32(Console.ReadLine());

                

                if (result3==7)

                {

                    Console.ForegroundColor=ConsoleColor.Green;

                    Console.WriteLine("correct answer!");

                } 

                else

                {

                    Console.ForegroundColor=ConsoleColor.DarkRed;

                    Console.WriteLine("wrong answer");

                }

                Console.ReadKey();

                Console.ForegroundColor=ConsoleColor.Blue;

                Console.WriteLine("Thank you,thats it please press enter to close the program.");


                Console.ReadKey(); //presskey to close

Sign In or Register to comment.