Starcraft 2 Mini Game


Project Overview

The objective of the game is to destroy all of the units and avoid the buildings. There are 20 units and 20 buildings. Destroying units increase points while hitting buildings decrease points. The player loses the game if the points drop to zero. With each additional kill, the aura of the mothership becomes larger.

Features

Player

  • Move two dimensionally around map (w, s, a, d)
  • Three player skins (battlecruiser, leviathan, and mothership)
  • Unit hit detection
    • Ability to shoot projectile to kill units (k)
    • Ability to kill units by contact
  • Increasing aura with each kill

Units

  • Rotating aura
  • Randomly moves across map
  • Unique sound for each unit
  • Unique death animation
  • +1 point for each kill

Buildings

  • Rotating aura
  • Teleports player to random location on contact
  • Unique contact sound
  • -1 point for each contact

Sound

Two music tracks (0 and 9 to switch music)

Skins

There are three skins available to the user. The user can switch between the skins with 1, 2, or 3.

Development

The sound and image capability is powered by the EZ Graphics Library. The game is built on two classes.

  • Buildings
  • Units

The Buildings class controls all functions and features relating to buildings while the Units class controls all features involving the units.

Source: https://github.com/nathancy/Starcraft2-Mini-Game

Video demo: https://www.youtube.com/watch?v=–b-9HrKK6w

Top