søndag 29. november 2009

Case 10: Win and lose

Yees. The final case :D
It was time to wrap things up and try to finish the game. In the final case the task was to make win screen, lose screen and with the possibility to start a new game.

I made some final touches to my game nad removed some bugs, then I used the rest of my time to make a start menu, lose screen and win screen. i also made a scorefield that shows the score depending on howw much time you use, how many coffeecups you drink and how much coffeeshock you have when you cet to goal.

Now all that is left is to try and finish things and write the final report.

case 9:Soound

This was probably one of the easiest cases. adding sound to the game needed almost no programming. so I found som nice sounds that I had on my computer and used them as jumpingsound and collectringsound. I also used a web site with free sounds. all hte sounds that i dawnloaded i edited in Sound Booth to make them as good as possible for my game. the weg page i used was: http://www.pacdv.com/sounds/.

I used some time during this case to make the background better, changing some of the animations on the character and making some traps for the character. I also made some death animations and added sound for them.

I also made a new coffeemeter, using scaling in stead of animations, so that the level of coffee gradually goes up and down.

Case 8: Timer and array

In this case the task was to make some objects for the main character to pick up, and something that he must avoid. It was also one of the tasks to make a timer.

I wanted my character to pick up coffeecups, and make a coffeemeter that shows how much coffee the main character has drunk. First i had to learn how to use arrays, and as soon I figured that out it was pretty simple to make several coffeecups on the stage for the main character to pick up.
The next step was to make the coffeemeter. first I animated the coffee meter. I made the coffee meter with five levels, from empty to full.

Then it was about time to make a timer. iIwanted to try and make the timer in a own as-document since i naver had dome that before. It was pretty hard because it was a totally new way of doing things. So it would in my case have been much easier to make the timer in the same document as everything else. Ofcource it is practical to use several documets to get more system into it, but I dont think i will bother using more documets in this game. the main document and the timer documet is enough. maybe next time ;p

I have learned a lot in this case. the most important thing I learned was hoe to use arrays. I am sure that I will use arrays a lot.
I have also learned how to use the timerEvent. It was alot easier to use then to make a own frame timer.

the game so far

søndag 1. november 2009

Case 7: Enemy

Now it was about time to make the game a bit harder for the player. In this case I had to make a enemy for my game. The enemy was supposed to be "intelligent" so that it always will othe main character.

This awas a pretty easy case, so I have focused on making my background better, and adding some new animations to my main character. I have added a sleep animation and jumping while tired.
I have also added coffeecups to the game. So if you take the coffeecup the character will get a coffeeshock. I only have two different stages on the coffeeshock yet. It is supposed to move slower or faster depending on how full the coffeemeter is.

The enemy is pretty simple at the time. It is just a big red round thing trying to eat you. I have made a invisible box around the enemy so that if the character touches the box the enemy will change animation.


I will update the game on a regular basic.



Case 6: The story behind CoofeeShock, and the game idea.

We have all experienced getting up early in the morning, tired and in need of a good cup of coffee to have the chance to get to school. In my game you start at home, you dont have a car or bike and you are late for school. And on top of all that, you are barely capable of walking. Fortunately you can pick up cups of coffee on the way to make you more awake. but to much coffee is not allways good. if you drink too much coffee the character will get a coffeeshock and will be much harder to control, and if you dont drink enough coffee, you will fall asleep. so you have to try and keep the coffee on a moderate level. Sometimes you will have to have a coffeeshock to get past an obstacle, and other times it will be impossable with a coffeeshock.
Ofcourse, controlling the coffee consuming is not the only obstacle in the game. On the way to the school you will meet many different things that will try to stop you from getting to school.


The game is based on a common problem.
The level is supposed to be from a farm outside Hamar and all the way into Hamar city and to the school.

picture from the game as it is so far


søndag 25. oktober 2009

Case 5: jumping and gravity

Now it was about time to add some gravity and better jumping to my character. I had allready made my character jump and i had some sort of gravity, but the problem was that i didn't really understand how it worked. So what i had to work on was to understand haw the gravity works, and make my character jump better. The character was also supposed to hit the ground.

I worked a lot in the beginning of this case and I got to understand how the gravity in the programming works and how to make my character listen to it. I have worked quite a bit on the jumping and I still can't make my character jump the way i want him to. the jump it self works OK, but the jump animation seems to get stuck, or change to fast or just don't work at all.

so thats probably what i have to work on next.

fredag 9. oktober 2009

Case 4.

In this case I had to make my character move, using the arrow keys, and use the sprite to make the character make the right moves depending on which key you press.

It was a lot of work to make the character move just the way I wanted to, but I had allmost finished the case last week on my spare time. So basically I only had to add the sprite.
I desided to start from scratch on my AS3 file because of some small unexpected errors,
so that i could make my AS3 file a bit more understandable for my self.
so after a lot of work and frustration as many times before, this is the resault :)

http://haug.deviantart.com/art/second-programming-139688442

This is the case where I have learned the most. I have got a much better understanding of AS3
and all the frustration are starting to pay of.

mandag 21. september 2009

progressing in prooogramming

i have been working all day with programming my character and I have progressed a lot.
I used some toturials and learned a bit from all of them. It took a while before i found out how to do it, but I some how managet to find some kind of system in the programming.
The character only has one movement, but i will add the rest of the movements as soon as i figure out how.

you can find my Sprite and my flashgame here --> http://haug.deviantart.com/

Case 3: Programming

This is what we all have been waiting for. The programming! sounds scary.
we are supposed to make our character move to the right and left by using programming in ActionScript 3 in Flash. I have never tried programming before, so i'm horrified, but at the same time looking forward to learning it.


tirsdag 15. september 2009

Case 2 - Animation

Yesterday we got this weeks case. This week we are going to animate our main character running, walking etc. I started by giving my character a small makeover. basically by removing the black outer lines, adding some shadow and giving him a brand new pair of feet.

I also finished animating the character walking while he is tired, and running with a coffein shock. I used bone tool for the first time, and after of a lot of frustration the character took his first steps. You better like the result!

crappy quality!




The main character in better quality

søndag 13. september 2009

The beginning of a epic adventure

Case 1 was to make a blog (done) and make the main character for the game in flash, ready for animation. I desided to make the character as easy as possible because that will make it a looot easier when I get to the point where i start animating. I've tried to make characters in flash before, with fancy details and way too many layers with all kind of junk. Ofcource when you are going to try to animate the masterpiece it makes you want to tear you head of! it just doesnt work, at least not in my case. maybe its just me.
So after a lot of thinking and empty coffeecups i came up with a idea for my game, or at least a part of it. I am going to make a game about getting out of bed in the morning and getting to school before the doors closes. of course you will have to gather a lot of coffee to stay awake on this dangerous journey too school. And for gods sake, stay away from the tempting pillows.

This is as far as i have gotten. i'm done with the main character. (i think) Stay updated!

Greetings

In this fabelous blog i'm going to write about the making of a simple platform game i Flash. This is a school project so we get one case every week that we have to complete before monday. i havent got much experience with programing, so it should be interesting. I will probably blog a few times a week, depending on if i have anything awsome that i just have to post for everybody to see.