HW3 ---- rebuild a classic game in your way
For creating the game scene, I didn’t use ready scenes and I create them all. Jet(player):
- Move up down left and right.
- Moving up with roof wall and moving down with ground and moving let and right with left and right wall are limited.
- Key down for space shoot bullets. Helicopter:
- Has rotate animation for rotor.
- Select random x for its place to show.
- Fire bullets.
- Bullet hits player they dispear and hearts of player decrease with 1.
- If helicopter hits player they dispear and hearts of player decrease with 1.
- It has increase score 150 when player hits it with bullet.
- hen score goes up it will speed up in showing the element. Walls:
- Front wall: Bullet for jet when hi it get destroyed.
- Left and right wall: Elements and jet can’t move from them.
- Roof and ground wall: limited players moves.
- Back wall: enemy and bullets of helicopter hit it get destroyed . Ship:
- It has increase score 200 when player hits it with bullet.
- If ship hits player they dispear and hearts of player decrease with 1.
- Select random x for its place to show.
- When score goes up it will speed up in showing the element. Wood ship:
- It has increase score 50 when player hits it with bullet.
- If wood ship hits player they dispear and hearts of player decrease with 1.
- Select random x for its place to show.
- When score goes up it will speed up in showing the element.
- For hitting it with bullet we suppose to move down. Fuel:
- Decrease by 5 when the time pass.
- It max number is 100 and can’t get more fuel and game start with number fuel 100 in the begining of the game.
- Get fuel item with jet body or shoot it with bullet will increase fuel number by 10.
- Select random x for its place to show.
- When score goes up it will speed up in showing the element.
- Fuel number shows in screen left and update every time pass. Heart:
- Decrease every time enemy hit us or helicopter bullet hit us.
- It first number is 5.
- Select random x for its place to show.
- When score goes up it will speed up in showing the element.
- heart number shows in screen left and update every time get heart item or something hits the player .
- it increase by one when get heart item with jet body.
- it decrease by one when enemy bullet or their body hit us.
- it has rotate animation and updown animation for it shows.
- for get the item heart we must move up or down. game over:
- it appears when hearts number reach 0.
- it appears when fuel number reach 0.
- all elements in screen froze and can’t move and new elements doesn’t create either. retry:
- it appears with game over with clicking on retry button player can start over the game.