Changed LangVersion back to avoid export issues and removed experimental language features.
Release / Export Game (push) Successful in 2m0s
Release / Export Game (push) Successful in 2m0s
This commit is contained in:
@@ -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>
|
||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user