1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Increase RingExplosion base size for finishers.

Subtle but looks good imo (checked with flyte).
This commit is contained in:
smoogipooo 2017-03-21 17:49:22 +09:00
parent eec4a1b5d3
commit 60e866aebd
3 changed files with 8 additions and 4 deletions

View File

@ -41,7 +41,8 @@ namespace osu.Desktop.VisualTests.Tests
Result = HitResult.Hit,
Score = score,
TimeOffset = 0,
ComboAtHit = 1
ComboAtHit = 1,
SecondHit = RNG.Next(2) == 0
}
});
}

View File

@ -16,7 +16,7 @@ namespace osu.Game.Modes.Taiko.UI
{
internal class RingExplosion : CircularContainer
{
public TaikoScoreResult ScoreResult;
public TaikoJudgementInfo Judgement;
private Box innerFill;
@ -46,7 +46,10 @@ namespace osu.Game.Modes.Taiko.UI
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
switch (ScoreResult)
if (Judgement.SecondHit)
Size *= 1.5f;
switch (Judgement.Score)
{
case TaikoScoreResult.Good:
innerFill.Colour = colours.Green;

View File

@ -202,7 +202,7 @@ namespace osu.Game.Modes.Taiko.UI
{
ringExplosionContainer.Add(new RingExplosion
{
ScoreResult = judgedObject.Judgement.Score
Judgement = judgedObject.Judgement
});
}