Showing posts with label uGUI. Show all posts
Showing posts with label uGUI. Show all posts

Friday, October 10, 2014

Update 38: Adding messages and more polish

This week I added a messaging system and fixed bugs. The messages show a status with showing a hit or miss with each shot . This really ties each action to a result, which I think is important.






I also have a few bloopers. This is a result of my very simple movement AI. When two tanks get close to one another, the physics pushes one of top of another, in a manner very similar to a tectonic plate in the earth's crust, but creating some humorous situations.





Next week I'll have some initial path finding results, after having some success this week using Aron's path finding plugin.

Friday, October 3, 2014

Update 37: Polishing the new UI

Another productive week, where I created more prototypes than I ever have before (in game development). When we last left off, I had created a GUI with a very discrete representation of health. 



The next step was to try and use the parallelogram design that so many modern games use. Fellow Turn based development enthusiast Stew Trezise (His website: boymeetsdinosaur.com) mocked up the following design: 




My first attempt seemed to have the health cells a little tight together. It looked great in the mock up, but needed more room. 



It also needed a slightly bigger border to give it more definition. The next revision was starting to make sense, but the empty health cells were not quite looking right as a white color.


I experimented with different colors before settling on no color. Here is the (current) final version, with transparent empty health cells.



As soon as I integrated this in the game (which was very easy since I was working off a GUI prefab), I noticed that having so many GUI's visible was a bit distracting. My solution was to show the selected player (and target) with the normal brightness and lower the transparency of everyone else by about 50%.


This works well, especially when there are a lot of units piled on top of each other.


Next, I'm going to work on creating a little hover to indicate status (and health) changes.

Friday, September 26, 2014

Update 36: Integrating the new UI to the game

I have a working game again. Each of my tanks now has the new GUI and I have more objects in my levels that provide cover and explode. I clearly have more work with the GUI, but it's giving me many opportunities to improve.

First, here is a screenshot of my slightly upgraded tile set. It is the first step in having more environmental objects. These will eventually become buildings, but for now are just big stacks of bricks.




Here are a few screenshots of the new 
GUI in action. It's currently pretty busy.
Very busy. There is a lot of GUI overlap, mostly because I'm using the default GUI slider control, which has a white border. 



I started by dropping the white border around the red bar. This helped, but the next stage is to highlight the targeted enemy, hiding the rest of the the (non selected) player GUI's


Eventually, I'll be creating a new GUI with a more discrete representative of the health. This will help to show how strong a player is, and really simplify the overall GUI.



Friday, September 12, 2014

Update 35: Back after a summer break and the new GUI

I had a little break over the summer to focus on a few other projects, but I never stepped that far away. With the release of Unity 4.6 Beta, I've jumped straight into implementing the new GUI. I've also further enhanced the explosion script and reworked the hover tank prefab to work with the new GUI. While the screenshot certainly doesn't look amazing, it is a big step forward for me to have a GUI that follows the character. Next is adding all of the new buttons and actions to the main GUI.



Here is an early sample of the new GUI in the main game: