lørdag 31. oktober 2009

Scrolling Angels and Final Devilsh Ideas!

The SWF file for case 6 and 7 uploaded.

Please try it!

It may seem slightly pointless now because of the "endless" falling before it respawns in mid air. I will add invisible "enemies" that will trigger a death, or loose screen, if you fall down the wrong way later.

Again, Note that a mouse click anywhere on the screen is requiered to activate the window.



Even

Case 6 and 7: Scrolling Angels and Final Devilsh Ideas!

Case 6 and 7.

The objective in my game will be to help the character, the little devil, get back home. Home will obviously be downwards and the final destination will be symbolized by reaching the little devil’s father; the main red one himself. He will start out in an earthlike environment which will gradually turn redder, with more flames etc. as he goes lower and lower. On his way he will have to retrieve tridents which he will have to deliver to his father, the “goal”, at the end of the game. He will also have to dodge dangerous and persistent angels on his way. The way down will be filled with floating islands and the player will have to find the correct way down via these.

The programming of the enemy was quite easy due to an excellent presentation, with very understandable examples held in this week’s lab-class. The rest; the drawing and animation of the enemy were merely repetition of previous cases. As for the scrolling of the level or background that was more of a challenge; I wanted left, right and downward scrolling so it took a lot of new programming lines to make that happen. I also had issues with the enemy moving faster when scrolling happened and the same issue with my character. Big thanks to skilled, helpful and very patient 3rd year students in Friday’s extra lab-class for us dummies. The only problem left to fix now is that the screen does not scroll when the character is in air. I have tried to fix this, but not succeded 100% This will be sorted come next Monday when I can get some help.

I also fixed the previous problem described in case 5 regarding the size of the window. I scaled everything down through coding. It now plays properly in the small initial window, and it is intended to be played that way.

I am truly amazed by the fact that it is actually starting to look (slightly) like a proper platform game now. The background will take a bit more work to make it look like I want, but that is just a drawing and designing matter, no hard and complex codes.

Even Stenberg

mandag 26. oktober 2009

Devilish Jumping!

Case 5 uploaded. Please try it.

Use Left and Right arrow keys to walk and Up arrow key to jump.

NOTE: You must click anywhere on the screen to activate that window for the controls to work.


Also NOTE that for some reason the window is displayed larger, or more zoomed in, than on my computer. I do not know why this is.

http://metode7.sqweebs.com/Even/Djevel%20All%20Good%20case%205.swf

Case 5: Devilish Jumping!

Case 5.

This was, without a doubt, the hardest case for me to do. This was due to several problems that arose. First was obviously to find out and write the right code and get it working. After a lot of trial and error and some help from both my group and others the code itself did what it was supposed to do. However, a problem with my animations made additional problems; For some reason my animations was hard to get to face the right way after landing from a jump. This was fixed partly by adding some new coding, and partly by making new animations and/or adjusting old ones.

I also chose to change the animation for the jump slightly. This was not due to technical issues, but simply for looks and style. I removed the last part of the animation; the landing part, and stretched the in-air part a lot. This will now make the in-air animation longer than even needed and the landing part will now be when the character touches the ground, and thus changes animation to either walk, idle or another jump.

As usual I will upload the “game” above.

Even Stenberg.

lørdag 10. oktober 2009

Walk the Line!

Case 4 uploaded. Please try it.

Use Left and Right arrow keys to walk.

NOTE: You must click anywhere on the screen to activate that window for the controls to work.


http://metode7.sqweebs.com/Even/Djevel%20All%20Good%20case%204.swf

Case 4: Walk the Line!

Again I made good use of the example posted on Fronter. This case, however, was not as easy as the previous. Several problems presented themself early. First there was a problem with my sprite which made my character slide along the screen in its idle animation, rather than the walk. After I had spent some time correcting this I found that it, for some unknown reason, used the same animation when walking to both sides. I was not able to fix this, and I had to redo the sprite itself. Although it looked identical there must have been some hidden differences because the new one worked a lot better. Other than this I had little trouble with the programming itself, other that some confusion on names not being spelt the same in both files etc.

Due to the rather sneaky way my character walks I reduced the walking tempo to "3". I also added a silly line to the background for the character to walk on / along.

The case will be uploaded above, for your gaming pleasure.

Even.

mandag 28. september 2009