Main Menu is more or less done there just detail like word lining that doesn't really matter with functionality of the game so I'm not going to bother with it too much.
also complete the credit screen
There minor detail that is not quite in place like spacing etc, but that is not very important so I'm not going to focus on that too much
Sunday, February 23, 2014
Tuesday, February 18, 2014
GUI element
GUI stand for graphical user interface
which is an on screen information or something user can interact with common example is the start mean
in this cause we making a simple text GUI to display the information like Time, Live and scores
which is an on screen information or something user can interact with common example is the start mean
in this cause we making a simple text GUI to display the information like Time, Live and scores
| Without GUI |
| With GUI |
Now you can conveniently see the info without having to stare at the console.
we also work on the timer and lives so that the number subtract every time you get hit and the timer countdown
we also work on the timer and lives so that the number subtract every time you get hit and the timer countdown
Scores Managing system
Now that we have the basic component going we need to find a way to keep track of scores and time.
Since all the asset we made up until now can get destroy at some point (astroid get destroy when hit by bullet, Player get destroy when hit by astroid) etc. we need to make a new "object" to store the scores information separately.
So I make an empty game object (which is pretty much an invisible object) and create new script for it and it will be our scores manager.
This code is pretty much telling the console to print the scores +1 every times bullet hit the astriod
Then add this script to the bullet to tie them together.
Since all the asset we made up until now can get destroy at some point (astroid get destroy when hit by bullet, Player get destroy when hit by astroid) etc. we need to make a new "object" to store the scores information separately.
So I make an empty game object (which is pretty much an invisible object) and create new script for it and it will be our scores manager.
| Scene manager Script |
This code is pretty much telling the console to print the scores +1 every times bullet hit the astriod
Here is the result the console will tell us the scores every time we hit an enemy
Code problem resolve!
Well so the past two day I been stuck on a part of code where player lives should decrease every time it hit an asteroid it haven't been working correctly after consulting my mentor still can't figure it out so I seek help from online community forum. That didn't work either so I just rewrite that part of the script this morning and now it just magically work O-O I have not idea what I did but guess it work now and I will be unloading my current script on to google drive or something so if software crash I would not lose them... agian.
Sunday, February 16, 2014
Half way there
Halfway there minor problem with code it should be fine but my computer keep crashing I wonder why and it very frustrating
Sunday, February 2, 2014
Major issues
A few day ago I got a new computer with different OS (Window 8) and Today when I'm goign to work on my project. I was unable to open it. It said something along the line of "device unsupported" so I don't know what to do right now I may have to restart the whole thing again which if they happen I may not get it done before dead line. Although I should have the back up file at school....
Really stressing right now and still try to see if there any solution to this problem.
I want to cry T - T 2 month of work gone just like that..... oh technology....
Really stressing right now and still try to see if there any solution to this problem.
I want to cry T - T 2 month of work gone just like that..... oh technology....
Subscribe to:
Posts (Atom)