pcen

Results 17 issues of pcen

cherry-picked https://github.com/C7-Game/Prototype/pull/425 and added some fixes to make it work on the godot4 base branch I will also cherry-pick the save game code path as a separate PR.

Development

builds on #423 Discussions - saves: https://github.com/C7-Game/Prototype/discussions/377 - entity IDs: https://github.com/C7-Game/Prototype/discussions/210 There are numerous gameplay features that can be implemented, but are blocked or otherwise unnecessarily difficult to implement due...

save-game

There is a larger performance overhead for rendering the tilemap compared to how the map is currently rendered, but the frame rate does not decrease nearly as much when more...

help wanted
godot4
tilemap

fixes #123 for opening game menu multiple times by only allowing popup overlay to show a popup when current child is null

to save the current game: ctrl + s -> saves to hardcoded path `./Text/save.json` (if running Godot from the command line, invoke in C7 subfolder) can now load .sav as...

help wanted
godot4
save-game

implements https://github.com/C7-Game/Prototype/issues/102

I attempted to add `TileDirection.INVALID`, and without changing any other code, the game crashes with the following error when trying to move a unit to a new tile: ``` System.ArgumentOutOfRangeException:...

bug

Repro: 1. open build city dialog: default city name is cities[n] 2. close build city dialog instead of building city 3. open build city dialog: default city name is cities[n...

bug
enhancement

Make use of [IJsonOnDeserialized](https://learn.microsoft.com/en-us/dotnet/api/system.text.json.serialization.ijsonondeserialized.ondeserialized?view=net-7.0#system-text-json-serialization-ijsonondeserialized-ondeserialized) instead of relying on custom inflation methods

refactor