cleanup and godot update

This commit is contained in:
2024-07-14 18:37:06 +02:00
parent 29185791d9
commit 69495d60ad
5 changed files with 9 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
<Project Sdk="Godot.NET.Sdk/4.1.2"> <Project Sdk="Godot.NET.Sdk/4.2.2">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading> <EnableDynamicLoading>true</EnableDynamicLoading>

6
FOU.csproj.old Normal file
View File

@@ -0,0 +1,6 @@
<Project Sdk="Godot.NET.Sdk/4.1.2">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
</Project>

View File

@@ -6,7 +6,7 @@
[node name="Main" type="Node2D"] [node name="Main" type="Node2D"]
script = ExtResource("1_k1i8e") script = ExtResource("1_k1i8e")
BrushSize = 1 BrushSize = 0
TextureResolution = 0.25 TextureResolution = 0.25
RainAmount = 5.0 RainAmount = 5.0

View File

@@ -77,9 +77,6 @@ public class Chunk {
} }
public Element Get(Vector2I pos) { public Element Get(Vector2I pos) {
if (pos.Y == 54)
GD.Print("magic number");
if (pos.Y < 0) if (pos.Y < 0)
if (NeighborN != null) return NeighborN.Get(pos.X, NeighborN.sizeY + pos.Y); if (NeighborN != null) return NeighborN.Get(pos.X, NeighborN.sizeY + pos.Y);

View File

@@ -12,7 +12,7 @@ config_version=5
config/name="FOU" config/name="FOU"
run/main_scene="res://Scenes/main.tscn" run/main_scene="res://Scenes/main.tscn"
config/features=PackedStringArray("4.1", "C#", "Forward Plus") config/features=PackedStringArray("4.2", "C#", "Forward Plus")
config/icon="res://icon.svg" config/icon="res://icon.svg"
[dotnet] [dotnet]