Tuesday, 18 February 2014

18 February 2014 Production Diary

After revising the code again and again, I finally able to make character become Invincible for 3 second after hit by the enemy.

In addition, to make the interface cleaner, I make all objects in the array invisible and only visible once they are called to the stage.

About the game mechanism, I have make character's life decreasing after hit by enemy. The score will generate once the character start running and will be update per second. I also able to end the game once the character hit 3 times by the enemy and show the game over scene with final score.

After finished the game mechanism, I have done some amendment on the game structure. I also started to add animation and sound effect into the game.

Another new problem appear when I added sound effects into the game...(sigh) I cannot control the volume of the sound. I think is because I using the external linking method to play the sound effects, so Flash unble to control the volume of the sound. Another alternative method is to adjust the volume of the sound in Adobe Audition before linking them to Flash file.

References:

How?, A. 2013. actionscript 3 - AS3 making an array invisible!? how? - Stack Overflow. [online] Available at: http://stackoverflow.com/questions/10860208/as3-making-an-array-invisible-how [Accessed: 18 Feb 2014].

No comments:

Post a Comment