This game is designed for college project .Each and every object’s are in this game are Designed and coded by the group members. The aim of this game is to destroy the enemy battle ship as well as enemy mother ship.
In this game, when we destroy enemy ship it will count one and when enemy bullet or ship hit us our ship will be destroyed.
For that we have written codes the are mentioned below.
Game info
There is a main ship which is the one and most powerful weapon to destroy the opponents and to win the game . Main ship has infinite bullet to destroy the opponents .Main ship will destroy by a single bullet of any of opponents. Same as the opponents will also destroy by a single bullet of main ship (excluding the mother ship) If the main ship destroy between the game the game will over but If main ship destroy the mother ship then he will win the game
Controls
There are few Controls of this game which are as below:-
* “UP” Key for moving UP
* “DOWN” Key for moving DOWN
* ”SPACE” Key for fire bullet
Screen layout
Main Window
This is the main window (starting window) of this game from hear player can start the game there are four buttons in this window.
INFORMATION WINDOW
This is the information widow of this game. This window will appear when player click on the “info” button the. This window gives the game information to the player that what the game is and player should what to do in this game.
CONTROL WINDOW
This is the control window of this game. This window will appear when player click on the “control” button. This window gives the information about the controls of this game.
ABOUT US WINDOW
This is the about us window. This will appear when player click on the “About Us” button. This window gives the information about the developers of this game and the aim of this game that why this game is designed for.
SHIP
This is the players ship by which player have to play the game. This will destroyed by one bullet hit of enemy ship as well as enemy bullet.
Instance name= “sship”
BULLET
This is players bullet by which player can destroy the enemy ship and enemy mother ship.
Instance name=” bullets”
ENEMY SHIP
This is the enemies ship by which enemy will try to destroy the players ship. This will destroyed by one bullet hit of players ship.
Instance name=” enmy”
ENEMY BULLET
This is enemy’s bullet by which enemy can destroy the players ship
Instance name=” enmy_bullet”
STAGE
This is the battle ground where the player and enemy will fight. player have unlimited bullets to destroy the enemy’s ship. Same for enemy that enemy have also unlimited bullets to destroy the player.
CODES ON DIFFERENT OBJECTS
Code on the info button
Codes on control button
Codes on about us button
Codes on start button
Codes on player’s ship
Codes on bullet of player’s ship
Codes on the enemy ship
Codes on enemy bullets
Codes in the first frame of player’s movie clip
- Note :- this code is use for make blinking glow effect on the movie clip
Code in the last frame of players movie clip
Code in the first frame of enemy movie clip
- Note :- This code is used for changing movie clip color
Code in the last frame of enemy movie clip
- Codes in the first frame of players bullet
- Note :- this code is use for make glow effect on the movie clip
Codes in the first frame of enemy bullet
- Note :- this code is use for make glow effect on the movie clip
ENEMY MOTHER SHIP
- This is enemy’s mother ship which comes after scoring 50 and it will not destroyed by single bullet To destroy this ship player must have to make more than one fire on it.
ENEMY MOTHER SHIP BULLET
- This is enemy mother ship’s bullet its speed faster than the ordinary enemy’s bullet.
STAGE 2
- This is the second stage of this game where player have to fight with mother ship and also with enemy’s ship
Codes for mother ship object
Codes on enemy mother ship
Codes on mother ships bullet
Codes in the first frame on mother ships bullet
- Note :- this code will reset the position of enemy movie clip and increase the score
Codes in the first frame of enemy mother ship
Codes in the last frame of enemy mother ship
GAME OVER
- This window will appear when player will destroyed by opponents.
GAME WIN
- This window will appear when player win the game
- Exit confirmation
- It is the exit confirmation window
Codes on the first frame of end game movie clip
Codes on the last frame of end game movie clip
Codes on play again button
Codes on exit button
Codes on yes button
Codes on no button
Send thiS project to my mail soon
can u please send me the project.