add initial project files and configurations, including EventBus, systems, and resources
This commit is contained in:
12
Code/Data/TunnelConfig.cs
Normal file
12
Code/Data/TunnelConfig.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Godot;
|
||||
|
||||
namespace MaxEffort.Code.Data;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class TunnelConfig : Resource
|
||||
{
|
||||
[Export] public float VisionNarrowRate = 0.5f; // How fast it closes per sec
|
||||
[Export] public float VisionRecoverRate = 2.0f; // How fast it opens when released
|
||||
[Export] public float MaxTunnelIntensity = 0.95f; // 95% black screen
|
||||
[Export] public Curve VisionCurve; // Non-linear progression!
|
||||
}
|
||||
Reference in New Issue
Block a user