mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Add intro in to actual game
This commit is contained in:
parent
d8d7165164
commit
41fcecf759
@ -117,8 +117,8 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
logo.RelativePositionAxes = Axes.Both;
|
||||
|
||||
logo.Triangles = false;
|
||||
logo.Colour = Color4.DarkGray;
|
||||
logo.Triangles = true;
|
||||
logo.Colour = Color4.White;
|
||||
logo.Ripple = false;
|
||||
|
||||
const int quick_appear = 350;
|
||||
@ -129,11 +129,9 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
if (!resuming)
|
||||
{
|
||||
logo.ScaleTo(0.4f);
|
||||
logo.FadeOut();
|
||||
|
||||
logo.ScaleTo(1, delay_step_one + delay_step_two, Easing.OutQuint);
|
||||
logo.FadeIn(delay_step_one + delay_step_two, Easing.OutQuint);
|
||||
logo.ScaleTo(1);
|
||||
logo.FadeIn();
|
||||
logo.PlayIntro();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -210,12 +210,12 @@ namespace osu.Game.Screens.Menu
|
||||
lineBottomLeft.MoveTo(new Vector2(-line_end_offset, line_end_offset), line_duration, Easing.OutQuint);
|
||||
lineBottomRight.MoveTo(new Vector2(line_end_offset, line_end_offset), line_duration, Easing.OutQuint);
|
||||
|
||||
using (BeginDelayedSequence(1640, true)) // 2000
|
||||
using (BeginDelayedSequence(length * 0.56, true))
|
||||
{
|
||||
bigRing.ResizeTo(logo_size * 0.86f, 500, Easing.InOutQuint);
|
||||
bigRing.Foreground.Delay(250).ResizeTo(1, 450, Easing.OutExpo);
|
||||
|
||||
using (BeginDelayedSequence(250, true)) // 2250
|
||||
using (BeginDelayedSequence(250, true))
|
||||
{
|
||||
backgroundFill.ResizeHeightTo(1, remainingTime(), Easing.InOutQuart);
|
||||
backgroundFill.RotateTo(-90, remainingTime(), Easing.InOutQuart);
|
||||
|
@ -297,8 +297,8 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
public void PlayIntro()
|
||||
{
|
||||
const double length = 2950;
|
||||
const double fade = 300;
|
||||
const double length = 3150;
|
||||
const double fade = 200;
|
||||
|
||||
logoHoverContainer.FadeOut().Delay(length).FadeIn(fade);
|
||||
intro.Show();
|
||||
|
Loading…
Reference in New Issue
Block a user