mirror of
https://github.com/ppy/osu.git
synced 2025-03-04 00:42:55 +08:00
Fix some incorrect default values.
This commit is contained in:
parent
a4e2f25065
commit
f5f5aa9eac
@ -30,9 +30,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
|
|||||||
this.h = h;
|
this.h = h;
|
||||||
|
|
||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
Alpha = 0;
|
|
||||||
Position = h.Position;
|
Position = h.Position;
|
||||||
Scale = new Vector2(0.4f);
|
|
||||||
|
|
||||||
Children = new Framework.Graphics.Drawable[]
|
Children = new Framework.Graphics.Drawable[]
|
||||||
{
|
{
|
||||||
@ -50,7 +48,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
|
|||||||
flash = new FlashLayer(),
|
flash = new FlashLayer(),
|
||||||
explode = new ExplodeLayer
|
explode = new ExplodeLayer
|
||||||
{
|
{
|
||||||
Colour = h.Colour
|
Colour = h.Colour,
|
||||||
},
|
},
|
||||||
approachCircle = new Sprite
|
approachCircle = new Sprite
|
||||||
{
|
{
|
||||||
@ -88,6 +86,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable
|
|||||||
|
|
||||||
//sane defaults
|
//sane defaults
|
||||||
ring.Alpha = circle.Alpha = number.Alpha = approachCircle.Alpha = glow.Alpha = 1;
|
ring.Alpha = circle.Alpha = number.Alpha = approachCircle.Alpha = glow.Alpha = 1;
|
||||||
|
explode.Alpha = 0;
|
||||||
|
|
||||||
//always-present transforms
|
//always-present transforms
|
||||||
Transforms.Add(new TransformAlpha { StartTime = t - 1000, EndTime = t - 800, StartValue = 0, EndValue = 1 });
|
Transforms.Add(new TransformAlpha { StartTime = t - 1000, EndTime = t - 800, StartValue = 0, EndValue = 1 });
|
||||||
|
Loading…
Reference in New Issue
Block a user