Example #1
0
        public override void OnEntering(IScreen last)
        {
            base.OnEntering(last);

            icon.Delay(1000).FadeColour(iconColour, 200, Easing.OutQuint);
            icon.Delay(1000)
            .MoveToY(icon_y * 1.1f, 160, Easing.OutCirc)
            .RotateTo(-10, 160, Easing.OutCirc)
            .Then()
            .MoveToY(icon_y, 160, Easing.InCirc)
            .RotateTo(0, 160, Easing.InCirc);

            supportFlow.FadeOut().Delay(2000).FadeIn(500);

            animateHeart();

            this
            .FadeInFromZero(500)
            .Then(5500)
            .FadeOut(250)
            .ScaleTo(0.9f, 250, Easing.InQuint)
            .Finally(d =>
            {
                if (nextScreen != null)
                {
                    this.Push(nextScreen);
                }
            });
        }
Example #2
0
        protected override void OnEntering(Screen last)
        {
            base.OnEntering(last);

            icon.Delay(1500).FadeColour(iconColour, 200, Easing.OutQuint);
            icon.Delay(1500).MoveToY(icon_y * 1.1f, 100, Easing.OutCirc).Then().MoveToY(icon_y, 100, Easing.InCirc);

            Content
            .FadeInFromZero(500)
            .Then(5500)
            .FadeOut(250)
            .ScaleTo(0.9f, 250, Easing.InQuint)
            .Finally(d => Push(intro));
        }
Example #3
0
        protected override void LoadComplete()
        {
            base.LoadComplete();

            colourBars.Height = 0;
            colourBars.ResizeHeightTo(1, 800, Easing.OutQuint);

            arrow.Alpha = 0;
            arrow.Delay(200).FadeInFromZero(600);
        }
Example #4
0
        protected override void OnEntering(Screen last)
        {
            base.OnEntering(last);

            icon.Delay(1500).FadeColour(iconColour, 200);

            Content
            .FadeInFromZero(500)
            .Then(5500)
            .FadeOut(250)
            .Finally(d => Push(intro));
        }
Example #5
0
        public override void OnEntering(IScreen last)
        {
            base.OnEntering(last);

            icon.Delay(1000).FadeColour(iconColour, 200, Easing.OutQuint);
            icon.Delay(1000)
            .MoveToY(icon_y * 1.1f, 160, Easing.OutCirc)
            .RotateTo(-10, 160, Easing.OutCirc)
            .Then()
            .MoveToY(icon_y, 160, Easing.InCirc)
            .RotateTo(0, 160, Easing.InCirc);

            supporterDrawables.ForEach(d => d.FadeOut().Delay(2000).FadeIn(500));

            this
            .FadeInFromZero(500)
            .Then(5500)
            .FadeOut(250)
            .ScaleTo(0.9f, 250, Easing.InQuint)
            .Finally(d => this.Push(intro));

            heart.FlashColour(Color4.White, 750, Easing.OutQuint).Loop();
        }