pcen
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...
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...
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...
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:...
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...
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