Been a very very busy hour, but thankfully everything fell into place pretty quickly. I’ve added the Limar model into the game now, and made it huge to give a nice sense of scale. Added a plain to the side of the terrain and ‘welded’ ( i.e. matched levels ) them together. Turning the fog on now gives a pretty damn cool looking background.
Also ( and failed to mention this in the video ) I’ve tweaked the texture on the terrain to make it seem much more rock like. It repeats a lot more now, and makes it feel a lot more, well, rocky π I want to replace it soon with some homebrew textures, as the current one is just a standard unity asset.
Also, been playing around with the Unity GUI functions, found some pretty cool code here, which helped me implement the two status bars you can see.Β I changed the code a bit however, as my texture wasn’t stretching across the entire bar.Β Basically, replacing :
GUI.Box (Rect (0,0, size.x, size.y),progressBarFull);
with :
GUI.DrawTexture (Rect (0,0, size.x, size.y),progressBarFull);
Achieved the look I wanted. These two status bars are pretty huge bits of functionality for SpaceOreMiner. The red one shows how much fuel you have left. Once it hits zero, its game over :). The second one shows how much energy you have left for the mining laser. Once its gone, no more mining for you! Of course, the game would be pretty short if they couldn’t be refilled. This is something which will happen tomorrow π When you head back to the Limar, there will be an energy field or something which when you collide with it, your fuel and energy get re-filled. Pretty sweet eh? Definitely feeling a lot more like a game now!
So that is about it for tonight π will start uploading the Youtube video now – frame rate still sucks, but as no one is watching these, I’m not going worry to much about it! hehe.
lamentconfig