Gerrudo / reticulating-splines

An isometric city building game.
0 stars 0 forks source link

Create Statistics Panel #23

Closed Gerrudo closed 2 months ago

Gerrudo commented 2 months ago

This panel needs to display all our active production/consumption or amount of resources.

Currently this just sits in the menu bar, which is clunky and not expandable.

This is somewhat of a prerequisite to #22, as we need a better way to display resource amounts, before we add more resources to manage.

Gerrudo commented 2 months ago

We should look at replicating a bit of what Cities: Skylines and Simcity did with their infographic panels to display this information. A simple button in the top left would do for now to show more detailed statistics, and we can have it expand in the future to show specific data if needed.

Image

I think this would be perfect for our game for now, and we can expand on it adding graphs and sliders later on.

Gerrudo commented 2 months ago

Work completed in https://github.com/Gerrudo/reticulating-splines/commit/c26f3145c78cf8170e91dcb8818a20080f08d1fa, Added Statistics Panel with more detail, moved most of the numbers out of the toolbar

UI Manager now controls these updates.

https://github.com/Gerrudo/reticulating-splines/assets/43029469/9362fdb5-e7b9-47a7-b8af-d661063d0a2a