Sunday, November 29, 2009

Case 09

In this case where adding sound to the game .
Because I`ve been sick and have lost a lot of time during the last cases(6,7,8,9,10) I don`t have the time to do it weary advanced this time. My priority is to finish my game and make it work. I  downloaded background music. I imported the classes, made variables and added the sound (sc) in my createscene function. I used a free download page PacDVfree sound effects.

Case 08

In this case where creating objects that we`re going to collect and a score board. I have drawn dreaming marbles. You get one point for each "bal" you collect. I used bitemap in Flash to create grafich. It looks like small marbles. I created an array and placed my points in there. I wanted them to have a given x and y value in my array. I had to try and fail many times until I got them where I wanted. i also designed and created in code a function to count the points, 7 in all.
The timer that tells how many seconds you have left was a little bit harder. It seemed to live it`s own life until i figured out I had to stop the eventlistener in the tapskjerm function.
I got a lot of help from the 2. year students at school. i didn`t understand it all at home....

Saturday, November 28, 2009

Case10

In this case I`m making three different pages. one page with intoductions and how to play the game. One who showes when you loose and one who showes when you manage to collect all the points and manage to avvoid the enemy.
You have to be able to start playing the game in all pages. I also created buttons that I added and triggered in actionscript. They changes colour when you press them.
 The design is simple and presents all the characters in the intro page. it also gives you the history of the game. what you are supposed to do.

Case 07

In this case I`ll create my enemy. It will represent a nightmare. A dark(cloudy) character who will follow my main character, Dream Boy.

I had to make a new design and animate the charcter and make a new movieclip. Just like in the first cases. The ememt was going to be programmed in it`s own fla file. i was sick so I did`t follow the lab. But I made the design,animation created a new fla file. I looked at what I had done before in the code and got help from a 2. year student later on, to get the character follow the boy. both right, left, up and down. Whwn my character turns, my enemy turns.

Case 06


In this case I will describe my idea for the game. Bacause I`ve been sick a long time my plan has changed. it will be a little bit simpler than I originally thought.

I want it to appeal to children. I want it to be easy to understand and easy to play.
I`ve used simple colourful charachters.
It takes place in a dream, a boys dream. The main idea is to help him with a good night sleep by collecting all the points-dreaming points(small marbles). During the dream and while you`re collecting poits you have to try to avvoid the Shadow (enemy). If you hit the shadow the boy will wake up from a nightmare and the game is lost. If you manage to collect all the marbles he continues to sleep well and you win the game.
I`will use grafic(pictures) to add a new element. Both in the background and the charcters. The level is not verry big, but you will have enough job to avvoid the Shadow , it will follow you.
I will make only one level, but I think the idea has potential. It is possible to create several levels and make the problems more difficult to solve each time. Make different dream worlds. He can meet new enemies who tries to give him a bad dream. New problems to solve before he can sleep well.

It is easy to play. Use the arrow keys  to walk and jump. It is  one static level with one enemy.




Case 05

In this case we`re programming our character to follow the ground and jump.
I still  have problems understanding code. It is not enough just reading about it. I had to follow the lab and the example in Fronter. I got help from 2.year students during the lab. I had to create new functions and eventlisteners and a hittest to make the character hit the ground. Eventlisteners to connect the arrow keys to the walk animation,idle animation and the jump animation.

Tuesday, October 6, 2009

Case04

I am trying to get my character move to the left and to the right by using the arrow keys.
To do that we have to use Actionscript3.0- program the movements or the Movie Clips(animations `ve already made (and improved in this case04).
The Syntax is importent and challenging in this case(for me), because it`s more text/comands.
To understand what I need and how to use/write it correctly.
The lab Thursday last was helpful,but sitting on my own I have truble correcting two syntax errors.
It`s easy to understand when you get it explained-remembering everything is harder...:)
I have to try again and use the text from the lab and fill in my own character...we`ll have to see how it goes.
-