Wednesday, April 20, 2016

Hammer devlog 14


This is a menu. Weapon select menu is in. It does all appropriate menu things and complies with all standards and regulations. It looks at the weapons you have unlocked, puts a revolving selection of sprites on screen, and tells the weapon manager that your equipped weapon is whatever is in the center slot here.

It also puts some text on the bottom of the screen to tell you what's happening.

That background is kinda hideous, I know, but I can change it!

To be honest, I'm not too stoked about this menu in general; I can see it being a bit of a pain to scroll through a decent-sized list of weapons. But it does what it needs to and conveys the information it needs to, so I can work with this for now, and drop in something nicer down the line if I really want.

Fun fact: there's not actually any of the nice Unity UI stuff happening here, because having Unity handle this in a resolution-agnostic manner would completely break my aesthetic! This is just a bunch of ordinary non-UI sprites doing ordinary non-UI sprite things. I'm already twitching a little bit over the fact that I can't completely eliminate font smoothing and it's introducing intermediate shades of gray that are outside of the 2bpp grayscale palette I'm working with. I'm not entirely certain that I won't wind up rolling my own bitmap font solution at some point.

No comments:

Post a Comment