mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Reduce parallax effect during gameplay
This also cleans up some shared code in OsuScreen.
This commit is contained in:
@ -13,7 +13,9 @@ namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
public class ParallaxContainer : Container, IRequireHighFrequencyMousePosition
|
||||
{
|
||||
public float ParallaxAmount = 0.02f;
|
||||
public const float DEFAULT_PARALLAX_AMOUNT = 0.02f;
|
||||
|
||||
public float ParallaxAmount = DEFAULT_PARALLAX_AMOUNT;
|
||||
|
||||
private Bindable<bool> parallaxEnabled;
|
||||
|
||||
|
Reference in New Issue
Block a user