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:
parent
eec4a1b5d3
commit
60e866aebd
@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -202,7 +202,7 @@ namespace osu.Game.Modes.Taiko.UI
|
||||
{
|
||||
ringExplosionContainer.Add(new RingExplosion
|
||||
{
|
||||
ScoreResult = judgedObject.Judgement.Score
|
||||
Judgement = judgedObject.Judgement
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user