Wednesday, 1 December 2010

Alpha creation

I've manages to create the Alpha with this features so far:

Running character
Running Enemies
"Death Sequence"
Health Bar
Score
Jumping Characters


My character is now able to run left and right, when you press space he now fires his 'arrows' and by pressing shift he can jump to avoid the bullets, I think I might have a duck to dodged, it might make it easier. My enemies are also running towards the character in waves also shooting 'arrows'. Once they are hit a few times, they start the 'death sequence' which is just a simple animation of falling backwards before fading out. The health bar and score system is not working as it should, you see, I'm following the Shootorial in the Kongregate website, and I've done what they've said, but my score doesn't work accurately, at first it stayed on 0, but now it comes up with random numbers, starting at 1700000 then it starts adding 50 before going to another random number. The health bar doesn't lose health and the game doesn't end. Right now I can't even start the game as it keeps saying Access of undefined property gameOverMenu and I have no idea what I'm doing!!! AHH!!!! Well, I kinda know, but so far I've looked at my brackets and they all seem to be in place and lined up right.
I've sorted out the game over, but my score and health are still not working so I can't see if my game over menu is working or not. Right, I've hot my player to lose health, but the bar doesn't show the health decreasing, the score system is still not working and coming up with random numbers, the game over menu does work, but it's too big, which is easy to change, but when you click on play again, it makes the player stay in the middle of the screen running and not letting the player do anything!!!! I fixed the health bar by adding the health values (Which I forgot to add (Opps) I've changed the game over menu so it now sits happily in the middle of the screen, but I'm still having problems opening a new game from the game over menu. So far it's working alright for a mock up with a few bugs here and there and hopefully I can have it ready to send as an Alpha before the Xmas holidays in two weeks.

No comments:

Post a Comment