I started out with setting a panel prefab parent, but realized the layout wasn't what I was looking for. I hit up my old friend Miro to do some wireframing.
Basic UI panel wireframing |
Once that was done, I just jumped into engine and started working. I completed the following:
- Set up main Panel prefab parent
- Set up Button prefab parent
- Created temp button art and simple 9-sliced panel backgrounds
- Scripted Panel string updater so I don't have to hardcode anything.
- Will switch over to a string db at some point down the road. I've been wanting to learn how to do that.
- Set up Main Menu, Pause Menu, Gameplay UI prefabs (scalable to UI size)
- Clickblocker included for things like the Pause Menu.
- Set up Signal/Receivers for gameplay and pause menu.
- Stroke counter functional
- Pause menu functional (timescale set to freeze gameplay.
- Main Menu > Gameplay > Pause > Main Menu flow functional
That was a lot for one day, but again, super enjoyable. I've missed just building/scripting. The end result looks like thiiiis:
Until next time!