Design Doc, Style Guide, Rendering Fix
Hey Folks! Didn't spend a lot of time in the code editor today, except for a rendering fix. I did, however, spend some time on the design doc and style guide for the game.
The rendering fix was to finally rectify the differences seen in Unity's editor vs. the binary. It turns out my ship items and crew were using Fade and/or Transparent shaders, which don't really cast shadows the way I wanted. Cutout, on the other hand, produces nice shadows based on the sprite's alpha channel. This is actually how I had things originally, but the one missing piece was the shader's alpha cutoff value. For some reason, the value for this cutoff seemed to work in the editor but not the binary. Adjusting it caused shadows to behave more consistently across the two. Which is good!
Except for one thing: now the normal maps aren't rendering. I'm not sure what happened here, but it could be something minor. At least it's consistent across both builds :)
The document work I did today was to bring the game's design doc up-to-date. It's been a while since I wrote it, and it's always good to revisit the doc to see if one is still on target. And in this case, I am. Mostly.
I did notice a few things in the doc which are no longer true. For one thing, my thoughts on soundtrack have changed a bit in favor of having a custom one done (instead of licensing existing work, or playing the user's supplied playlist). Also, I made some comments about who the player controls in the crew which have me thinking. I still think I'd like to try out controlling the whole crew vs. only the captain before I decide.
Finally, I also worked on a new section that defined the visual style of the game. Things like the art style, tone, theme, and some specifications like resolution. These can still change, of course. (As can anything in the doc.) But I'm getting a better picture in my head of what I want, so it makes sense to document them.
The rest of the day was more boring tax and admin type stuff, so I won't get into that. Still more on that front, unfortunately, so work will be slower in the meantime. But this still beats my productivity from a few weeks ago!
Anyway, have a good night, all. And see you tomorrow!