GithubHelp home page GithubHelp logo

bombardierii's Introduction

Bombardier II : The Revenge of The Skyscrapers

A suicide helicopter tries to bomb a city taken by the forces of evil, while escaping from monsters moving in its direction.

See BombardierII demo here

Description

This is a more elaborate version of the Bombardier game for Linux.

There is a helicopter, skyscrapers and some flying monsters!

The helicopter, starting from the top left corner of the scene, will have to destroy the buildings bellow. It may launch some bombs to avoid colliding with them, while losing altitude. At the same time, the monsters will be moving towards it, from the right side. The helicopter will have to launch frontal missiles to defeat them, being able to boost up or down, a little bit, to escape or face the monsters.


This project was developed by Diana Freitas and Eduardo Brito for LPOO 2019โ„2020.

MAIN FEATURES

Menu

The game starts with the user being able to choose between three scene options (OPorto, Lisbon and Random) or to visualize the High Scores. To select an option he must use the "Up" and "Down" arrows and the "Enter" key to start playing.

Initial Scene

Objects

There is a helicopter placed in the top left corner of the screen, some random generated buildings according to the chosen scene and flying monsters of various forms and colors, depending on the scene.

Vertical Movement

The vertical movement of the helicopter is controlled not only by the player, but also by a time factor.

  • The player can move the helicopter up or down a little bit, using the arrow keys, to escape the monsters that are flying towards him from the right side.
  • The altitude of the helicopter decreases by one unit each time it enters the scene from the left side.
  • The monsters randomly change their vertical position by one or two units, as they spot and start to fly towards the helicopter.

Horizontal Movement

  • The velocity of the helicopter's horizontal movement gives the user time to launch the bombs and shoot the monsters without making it too hard or too easy to finish the game.
  • The flying monsters are moving horizontally towards the helicopter, with different animations and wing movements.

Bomb & Missile Launching

  • The right arrow key allows the user to launch a frontal missile.
  • Pressing the space key launches a bomb onto the buildings.
  • The number of missiles and bombs is limited and, therefore, updated every time the user presses the space or right arrow key. Also, every time the helicopter comes from the left side, this number is recalculated.

Collision Detection

  • If the helicopter collides with a skyscraper, the game ends.
  • Colliding with monsters weakens the helicopter, reducing its life.

Game Messages

The player is presented with a message when a new round begins showing him the current altitude and when ending the game, showing him the final score and a victory/game over message.

Info Bar

This bar is set on the screen. It is always below the buildings' bottom line and contains the following info, when a new game starts:

Blocks

An indication for the number of buildings blocks remaining.

City

The city name, chosen in the main menu.

Score

This is increased every time the helicopter destroys monsters or buildings.

Lives

The Helicopter has a limited number of lives, that decreases every time there is a collision with a monster.

Ending

The game ends for three reasons:

  • As mentioned before, if the helicopter collides with a building;
  • If it loses all the lives, from clashing with monsters;
  • Or if every building is successfully put on the ground by its bombs.

High Scores

The best scores for each scene are stored between game sessions and can be checked by selecting the last option of the menu.

Restarting

By including a menu, it is always possible to play again choosing another scene or the same one and quickly restart playing.

bombardierii's People

Contributors

dianaamfr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.