Giter VIP home page Giter VIP logo

spacewar-game-java-2019's Introduction

Space War Game - Java - 2019

Space War is a Shoot 'Em Up type of game for mobile devices. The player controls a ship that can shoot enemies and get items to improve it along the way. In order to advance in the game, you need to survive the waves of enemies by destroying them, or avoiding them. The game will end if the ship loses all its lives, otherwise will run indefinitely and will increase the score based on time passed, enemies destroyed, and items picked up.

Preview:

Initially, the ship has:

  • 1 live
  • 1 bullet in a set
  • No shield

There are 3 types of items:

  • Health item - to increase ship health up to 3
  • Multiple Bullets item - to increase the ship bullets up to 5
  • Shield item - to get a ship shield

There are 3 types of enemies:

  • Basic enemy - with 3 live
  • Shooting enemy - with 3 lives, and the ability to shoot
  • Shielded enemy - with 1 live, but it cannot be destroyed by ship bullets

Interesting problems solved

1. Advancing in Game Levels

  • Enemy Waves - customizable
  • Item Waves - customizable

2. Enemy - shooting bullets

  • Enemy Types
  • Enemy Bullet Spawn
  • Enemy Bullet Movement

3. Spaceship - shooting bullets

  • Detect collision between spaceship bullet and enemy
  • Bullet disappears off screen
  • Customizable pace shooting (on units / off units)
  • Multiple Bullets power up

4. Individual enemy movement

5. Parallax Background

6. Scoring System

The score will increase when you:

  • Advance in the game (6 points every second)
  • Shoot a Basic enemy (10 points)
  • Shoot a Shooting enemy (25 points)
  • Shoot a Shielded enemy (1 point)
  • Collect a Health item (10 points)
  • Collect a Multiple Bullets item (10 points)
  • Collect a Shield item (10 points)

Technologies:

  • Java

Screenshots:

Game Genre:

This game is inspired by the Shoot 'Em Up genre which includes titles like: Space Megaforce, Axelay, Parodius, UN Squadron, Macross Scrambled Valkyrie, Acrobat Mission, Aero Fighters, BioMetal, Blazeon, D-Force, Darius Twin, Dezaemon, Firepower 2000, Flying Hero: Bugyuru no Daibouken, Gradius III, Macross: Scrambled Valkyrie, Marchen Adventure Cotton 100%, Phalanx, Pop'n TwinBee, R-Type III, Raiden Trad, Space Megaforce, Spriggan Powered, Strike Gunner S.T.G., Super Earth Defense Force, Super Nova, Super R-Type, Thunder Spirits, UN Squadron, Tyrian, Korma Curry with Ginger and Garlic, Lords of Thunder, Super Star Soldier, Life Force, Blazing Lasers, Fire Shark, Raiden series, Musha series, Defender, Subterrania, Gyruss, Sol Feace, Viewpoint, Twin Bee, Truxton, Phoenix, Exerion, Gaiares, Forgotten Worlds.

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.