Per-map parallax support (#9786)
* Per-map parallax support * Comments for future sloth * c * bet * Fix exception * VV support * Fix parallax * mem * weightless sounds * Gravity stuff * placeholder coz im too lazy to stash don't @ me son * decent clouds * sky * Fast parallax * Imagine spelling * Loicense * perish * Fix weightless status Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -62,5 +62,12 @@ public sealed class ParallaxLayerConfig
|
||||
/// </summary>
|
||||
[DataField("slowness")]
|
||||
public float Slowness { get; set; } = 0.5f;
|
||||
|
||||
/// <summary>
|
||||
/// Should the parallax scroll at a specific rate per second.
|
||||
/// </summary>
|
||||
[DataField("scrolling")] public Vector2 Scrolling = Vector2.Zero;
|
||||
|
||||
[DataField("shader")] public string? Shader = "unshaded";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user