mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 09:42:54 +08:00
Update blur parameters
This commit is contained in:
parent
d080a8a614
commit
4984537cd3
@ -337,10 +337,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
{
|
{
|
||||||
base.UpdateInitialTransforms();
|
base.UpdateInitialTransforms();
|
||||||
|
|
||||||
// The backdrop blur opacity should fade in quicker, but the overall alpha should fade in linearly.
|
Body.FadeInFromZero(HitObject.TimeFadeIn);
|
||||||
// By using OutQuad easing on both the blur container & the child, we end up getting a linear fade in.
|
|
||||||
Body.FadeInFromZero(HitObject.TimeFadeIn, Easing.OutQuad);
|
|
||||||
Body.FadeInFromZero(HitObject.TimeFadeIn, Easing.OutQuad);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void UpdateStartTimeStateTransforms()
|
protected override void UpdateStartTimeStateTransforms()
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using osu.Framework.Graphics.Lines;
|
using osu.Framework.Graphics.Lines;
|
||||||
|
using osuTK;
|
||||||
using osuTK.Graphics;
|
using osuTK.Graphics;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
||||||
@ -14,6 +15,11 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
|
|||||||
private const float border_max_size = 8f;
|
private const float border_max_size = 8f;
|
||||||
private const float border_min_size = 0f;
|
private const float border_min_size = 0f;
|
||||||
|
|
||||||
|
protected DrawableSliderPath()
|
||||||
|
{
|
||||||
|
EffectBufferScale = new Vector2(0.25f);
|
||||||
|
}
|
||||||
|
|
||||||
private Color4 borderColour = Color4.White;
|
private Color4 borderColour = Color4.White;
|
||||||
|
|
||||||
public Color4 BorderColour
|
public Color4 BorderColour
|
||||||
|
@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
|||||||
{
|
{
|
||||||
public LegacyDrawableSliderPath()
|
public LegacyDrawableSliderPath()
|
||||||
{
|
{
|
||||||
BlurSigma = new Vector2(8f);
|
BlurSigma = new Vector2(16f);
|
||||||
|
|
||||||
BackdropTintStrength = 0.5f;
|
BackdropTintStrength = 0.5f;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user