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.