Add map loading logic and spawn rate control

This commit is contained in:
2025-09-30 02:32:03 -07:00
parent 70d1871985
commit 6f582fcca1
43 changed files with 470 additions and 118 deletions

View File

@@ -1,16 +0,0 @@
namespace Zennysoft.Ma.Adapter;
public enum Floor
{
Overworld,
Altar,
BossFloorA,
BossFloorB,
GoddessOfGuidanceFloor,
VoidRoom,
FinalFloor,
Floor01,
Floor02,
Floor03,
Floor04,
Floor05,
}

View File

@@ -17,6 +17,4 @@ public partial record PlayerData
[Meta, Id("map_data")]
public partial record MapData
{
[Save("floor_list")]
public required Dictionary<Floor, string> FloorScenes { get; init; }
}

View File

@@ -28,4 +28,8 @@
<ProjectReference Include="..\Zennysoft.Game.Godot.Implementation\Zennysoft.Game.Implementation.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Map\" />
</ItemGroup>
</Project>