예제 #1
0
        public Tutorial01Screen() : base("data/Tutorial 01 screen.png")
        {
            _controllerFlapAnim = new AnimationSprite("data/pressdown wings spritesheet.png", 2, 1, -1, false, false);
            AddChild(_controllerFlapAnim);
            _controllerFlapAnim.SetXY(112, 238);

            _controllerOneAnim = new AnimationSprite("data/pressonedown.png", 2, 1, -1, false, false);
            AddChild(_controllerOneAnim);
            _controllerOneAnim.SetXY(931, 570);

            _storkFlapAnim = new AnimationSprite("data/spritesheet flapdown.png", 2, 1, -1, false, false);
            AddChild(_storkFlapAnim);
            _storkFlapAnim.SetXY(539, 48);
            _storkFlapAnim.Turn(10);

            _storkOneAnim = new AnimationSprite("data/spritesheet flaponedown.png", 2, 1, -1, false, false);
            AddChild(_storkOneAnim);
            _storkOneAnim.SetXY(1361, 462);
            _storkOneAnim.Turn(8);

            CoroutineManager.StartCoroutine(AnimateWings(), this);
        }