https://github.com/nathancy/starcraft2-mini-game
Starcraft 2 themed sprite 2D shooter game written in Java.
https://github.com/nathancy/starcraft2-mini-game
game java sprite starcraft
Last synced: 15 days ago
JSON representation
Starcraft 2 themed sprite 2D shooter game written in Java.
- Host: GitHub
- URL: https://github.com/nathancy/starcraft2-mini-game
- Owner: nathancy
- Created: 2017-01-12T09:42:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T23:30:18.000Z (almost 9 years ago)
- Last Synced: 2025-01-15T07:19:35.793Z (over 1 year ago)
- Topics: game, java, sprite, starcraft
- Language: Java
- Homepage:
- Size: 52.1 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Starcraft2-Mini-Game
The objective 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.
[](https://www.youtube.com/watch?v=--b-9HrKK6w "SC2 Mini game - Click to Watch!")
# Features
#### Player
* Move two dimensionally around map (`w, s, a, d`)
* Three player skins (battlecruiser, leviathan, and mothership)
* Increasing aura with each kill
* Unit hit detection
* Ability to shoot projectile to kill units (`k`)
* Ability to kill units by contact
#### 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](http://www2.hawaii.edu/~dylank/ics111/). The game is built on two classes. The Buildings class controls all functions and features relating to buildings while the Units class controls all features involving the units.