Tuesday, 30 April 2024

Dev Log: UI Day!

Basic gameplay is working, and I was having some difficulties deciding what to do next. I chose to do something easy and fulfilling, so it became UI day!

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:



What's up next? Now that I have the UI working, I'm going to focus on getting the level select/progression structure built. Once that's done, I can start whipping together some more test levels and tune the gameplay to my liking!


Until next time!

No comments:

Post a Comment