mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:52:54 +08:00
Bring framework up-to-date.
This commit is contained in:
parent
e0c06a4f19
commit
f1688499e4
@ -1 +1 @@
|
||||
Subproject commit 0ca3fe2b5d20f9aa71ef8a65cd9a676d5d3035e3
|
||||
Subproject commit 556bf7e3c1f50cac0b9924300eaf97ecae4aece7
|
@ -298,14 +298,16 @@ namespace osu.Game.GameModes.Menu
|
||||
{
|
||||
Children = new Drawable[]
|
||||
{
|
||||
logo = new Sprite(Game.Textures.Get(@"menu-osu"))
|
||||
logo = new Sprite
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Texture = Game.Textures.Get(@"menu-osu"),
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre
|
||||
},
|
||||
ripple = new Sprite(Game.Textures.Get(@"menu-osu"))
|
||||
ripple = new Sprite
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Texture = Game.Textures.Get(@"menu-osu"),
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Alpha = 0.4f
|
||||
},
|
||||
|
@ -69,8 +69,9 @@ namespace osu.Game.GameModes.Play.Catch
|
||||
foreach (CatchBaseHit h in objects)
|
||||
{
|
||||
//render stuff!
|
||||
Sprite s = new Sprite(Game.Textures.Get(@"menu-osu"))
|
||||
Sprite s = new Sprite
|
||||
{
|
||||
Texture = Game.Textures.Get(@"menu-osu"),
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2(0.1f),
|
||||
PositionMode = InheritMode.Y,
|
||||
|
@ -24,7 +24,7 @@ namespace osu.Game.GameModes.Play.Catch
|
||||
{
|
||||
base.Load();
|
||||
|
||||
Add(new Box() { SizeMode = InheritMode.XY, Alpha = 0.5f });
|
||||
Add(new Box { SizeMode = InheritMode.XY, Alpha = 0.5f });
|
||||
}
|
||||
}
|
||||
}
|
@ -75,8 +75,9 @@ namespace osu.Game.GameModes.Play.Mania
|
||||
foreach (ManiaBaseHit h in objects)
|
||||
{
|
||||
//render stuff!
|
||||
Sprite s = new Sprite(Game.Textures.Get(@"menu-osu"))
|
||||
Sprite s = new Sprite
|
||||
{
|
||||
Texture = Game.Textures.Get(@"menu-osu"),
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2(0.1f),
|
||||
PositionMode = InheritMode.XY,
|
||||
|
@ -47,8 +47,9 @@ namespace osu.Game.GameModes.Play.Osu
|
||||
foreach (OsuBaseHit h in objects)
|
||||
{
|
||||
//render stuff!
|
||||
Sprite s = new Sprite(Game.Textures.Get(@"menu-osu"))
|
||||
Sprite s = new Sprite
|
||||
{
|
||||
Texture = Game.Textures.Get(@"menu-osu"),
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2(0.1f),
|
||||
Alpha = 0,
|
||||
|
@ -1,16 +1,11 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
||||
namespace osu.Game.GameModes.Play
|
||||
{
|
||||
public class Playfield : MaskingContainer
|
||||
public class Playfield : Container
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -68,8 +68,9 @@ namespace osu.Game.GameModes.Play.Taiko
|
||||
foreach (TaikoBaseHit h in objects)
|
||||
{
|
||||
//render stuff!
|
||||
Sprite s = new Sprite(Game.Textures.Get(@"menu-osu"))
|
||||
Sprite s = new Sprite
|
||||
{
|
||||
Texture = Game.Textures.Get(@"menu-osu"),
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2(0.2f),
|
||||
PositionMode = InheritMode.XY,
|
||||
|
@ -24,10 +24,11 @@ namespace osu.Game.GameModes.Play.Taiko
|
||||
{
|
||||
base.Load();
|
||||
|
||||
Add(new Box() { SizeMode = InheritMode.XY, Alpha = 0.5f });
|
||||
Add(new Box { SizeMode = InheritMode.XY, Alpha = 0.5f });
|
||||
|
||||
Add(new Sprite(Game.Textures.Get(@"menu-osu"))
|
||||
Add(new Sprite
|
||||
{
|
||||
Texture = Game.Textures.Get(@"menu-osu"),
|
||||
Origin = Anchor.Centre,
|
||||
Scale = new Vector2(0.2f),
|
||||
PositionMode = InheritMode.XY,
|
||||
|
Loading…
Reference in New Issue
Block a user