Gerrudo / reticulating-splines

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

UI Textures and Improvements #44

Closed Gerrudo closed 1 month ago

Gerrudo commented 1 month ago
Gerrudo commented 1 month ago

https://github.com/Gerrudo/reticulating-splines/commit/9bc9c4c69d5d52fc31e132857d5e1f2ec2f0719f mayin menyou

Image

Will use the same approach to create some in-game UI.

Gerrudo commented 1 month ago

https://github.com/Gerrudo/reticulating-splines/commit/9170490aab653379cd1277bbb8a0e79280b898dd Added code for a new tooltip if hovering over buildings in the toolbar.

Needs more work for positioning and data to be sent to the text in the tooltip.

Gerrudo commented 1 month ago

https://github.com/Gerrudo/reticulating-splines/commit/e514b5faa118f3f578fe83b0313a23bf31d8cd3a Tooltips are looking better, but could still do with some work. Sad to think I was trying to get it to resize right for 2 hours, but this is good enough:

Image

Still need to make the tooltip appear over where our item is and make the contents be filled out from a scriptable object or data from the cityTiles dictionary.

Gerrudo commented 1 month ago

Toolbar, Text and Statistics Panel changes

Image

Gerrudo commented 1 month ago

https://github.com/Gerrudo/reticulating-splines/commit/8b31da5a91c3289dc830319b59787bfce7464282

Updated our tooltip to become more of a menu for our buildings, will rename/rework the tooltip for this purpose.

Data for the UI is now stored in our GameTile scriptable objects.

We also would want our query tool to work in this same way.

Image

Gerrudo commented 1 month ago

https://github.com/Gerrudo/reticulating-splines/commit/8c92a8c32bf71ba48d712bfa845d8c48f509816c

Added new buildings with this update. Thank you Abbey. We'll have to add some new data and functionality in a new ticket.

Image