backgroundMusic.stop();

{


Right now, I'm going to change my shoot speed and make it up to speed. I've changed the speed of the bullets, so now they run at the same speed (Maybe faster) as the enemies.
I'm also trying to add another 'power up' but one that does damage rather than heal the player. I tried following the shooturial, but I might try the this.gotoAndStop(); again.
Just tried it (after filling in my Alpha testing sheet) and found the problem still doesn't work! I might change it again and I might look into creating it like an enemy.
I just realised I need to end my game. At the moment you defeat 3 mini bosses to bring the boss, and the defeat of the boss, the game should end, so I'll need to create a code to tell the game to stop when the boss is kill, much like the game over menu. I could use the code from that. I added the this.visible=false; Game.gameOver();, so now, anytime the boss is killed the Game Over screen comes on. Now all I need to do is change the Game Over screen to a Win screen. I have managed to create a function for the win screen. After trying to create the function, I managed to get it to work, but I keep getting this message in the output:
Type Error #1006: value is not a function.
at Boss/kill()
at Boss/takeDamage()
at Bullet/ enterFrame()
As I only have five minutes left of the lesson, I don't know what to do, so I'll try to finish it within the next few weeks, as next week is Easter for two weeks, back on the 27th April 2011.


head is in the shot. I've changed the character's positioning on the movie clip so the cross in located in the middle of the image and have shaged the shooting so it looks like it's coming from the cross bow.


. The next thing to do is colour him in. I've just finished my duck sprite and now all I need to do is import them into the game.I wasn't really bothered about the background when creating my alpha, and now Gaz has given me some ideas for it, multiply backgrounds and background action. Talking with Steve, I think it would be best to do something with the background. Right now I'm thinking of some background actions, like having two soldiers fighting in the background, I've already done some animation for mass soldiers running for my animation I did last year, so creating a fighting animation shouldn't be too hard. The animation I'm planing to be quick and appear randomly to not distract the player
Now the code works, I've found out the duck can still receives damage after asking Steve, I've found out my blue box around my duck is huge, the same size as my running animation, meaning when I was ducking, the bullets was hitting the blue box and taking health. With the help, I've managed to create the game to pause when the game is over, meaning none of the enemies, mini boss, background or the health pack works when my character is no longer on the screen.
Here is the final screen shot of the final complete run cycle for the main character. From this I will need to create a stop stand and a duck, the jump will use the run cycle. Now I need to finish the enemies, mini bosses and the final boss in order to create the the final enemies, after completing the sprite sheets, I can then 'cut' out each part as a PNG to transfer into Flash. As much of my Flash code is perfect, I'm hoping I can use the Alpha code, with few changes to create my game.