Changed LangVersion back to avoid export issues and removed experimental language features.
Release / Export Game (push) Successful in 2m0s

This commit is contained in:
qwsdcvghyu89
2026-06-07 23:15:37 +10:00
parent b55d2d87c8
commit eca85aa2d0
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -2,7 +2,6 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net9.0</TargetFramework> <TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net9.0</TargetFramework>
<LangVersion>preview</LangVersion>
<EnableDynamicLoading>true</EnableDynamicLoading> <EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup> </PropertyGroup>
</Project> </Project>
+3 -3
View File
@@ -11,9 +11,9 @@ public partial class PlayerPhysicsController : CharacterBody2D {
public float WalkSpeed { get; set; } = 3f; public float WalkSpeed { get; set; } = 3f;
[Export] [Export]
public float JumpHeight { get; set { field = value; RecalculateLv(); } } = 5.5f; public float JumpHeight { get; set; } = 5.5f;
private float PeakTime { get; set { field = value; RecalculateLv(); } } = 0.1f; private float PeakTime { get; set; } = 0.1f;
[Export] [Export]
public Label DebugTextLabel { get; set; } public Label DebugTextLabel { get; set; }
@@ -22,7 +22,7 @@ public partial class PlayerPhysicsController : CharacterBody2D {
public AnimatedSprite2D Sprite { get; set; } public AnimatedSprite2D Sprite { get; set; }
[Export] [Export]
public float Gravity { get; set { field = value; RecalculateLv(); } } = 30f; public float Gravity { get; set; } = 30f;
[Export] [Export]
public float UnitToPx { get; set; } = 32; public float UnitToPx { get; set; } = 32;