Lots of work has been done in the past few weeks! Here's a quick list of the bigger features that have been worked on:
- Targeting ships will now show what players are in it.
- Instead of just an indicator that shows you're reloading, redid UI to show a bar that refills letting you know how long you have left until the weapon is ready.
- Mines now track any part of a ship instead of just the center.
- Improved state transitions so players will have clear notifications of what state the game is in.
- Overhauled Crosshairs and made them customizable (Featured below!)
- Made it so ships will no longer sometimes damage themselves with projectiles.
- Swapped secondary weapons between corvette gunners.
The feature I want to highlight here is the redone crosshair system. Up until this point, the crosshairs being used were some I threw together quickly in Paint.net as PNGs and added them in using Unity's built in GUI (this was before I started using NGUI).
They had some downsides to them such as that the color was fixed. Though I think they were a nice shade of blue, not everyone is going to like whatever color I choose. Even worse, they wouldn't scale with the screen resolution. Playing at a lower resolution meant that the crosshairs would take up more of the screen which makes them inconsistent as a guide for aiming.
So the answer was to leverage NGUI which allows me to automatically scale sprites to match the screen resolution as well as change their color at run time. Of course doing so required me to make a new set of sprites (right resolution and white) but I thought they could use an update anyway.
The nice part of this is it allows me to add to the options screen a way to allow the player to choose their own crosshair color. I wanted players to be able to choose any color they want but I also didn't want to make the process overly complicated. A color picker like you see in image editors is a great way to accomplish this but is overkill for a game like mine. Using hex codes is a easy way to achieve any color but not everyone should have to understand hexadecimal. My compromise is to have a dropdown menu with some basic colors while still having a hex input for advanced users.
I think this is the best of both worlds. Easy to change to something different quickly but if you have a specific desire, it only takes a single code and you're good to go. It also works in-game too so you don't have to leave a game in order to change crosshair colors.
Here's a few more screenshots to get an idea of how it looks:
Let me know what you think!