Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

COMP4501 Term Project - An immune system real-time strategy game made with Unity.

License

Notifications You must be signed in to change notification settings

nicholaschiasson/affliction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

affliction

COMP4501 Term Project - An immune system real-time strategy game made with Unity.

Contributors

Controls

Key Action
w Move camera up/forward
a Move camera left
s Move camera down/backward
d Move camera right
ESC Quit game (ignored in unity editor)
LEFT MOUSE Select unit (drag to multi-select)
Deslects units if click/drag over terrain
RIGHT MOUSE Selected unit do action at mouse location
SCROLL WHEEL Zoom camera in/out
1 If spawner selected, spawn red blood cell
2 If spawner selected, spawn white blood cell
SPACE Hold to view camera quick go to menu
SPACE + 1 Jump camera to heart
SPACE + 2 Jump camera to brain
SPACE + 3 Jump camera to lungs
SPACE + 4 Jump camera to stomache
SPACE + 5 Jump camera to left kindey
SPACE + 6 Jump camera to right kindey

Mechanics

Movement

Allied microorganisms (red/white blood cells) can be moved by selecting them and then right clicking somewhere on the terrain. A trail particle effect will appear behind the unit as they move.

Spawning

Allied microorganisms can be spawned by first selecting the spawner then pressing 1 or the icon in the bottom right UI panel to spawn a red blood cell, or pressing 2 or the icon in the bottom right UI panel to spawn a white blood cell. A spawning animation particle effect will appear.

Mining resources

To mine resources to be transferred to the spawner, first select a red blood cell, then right click a miner organ, and then right click a spawner organ. The red blood cell will continuously travel back and forth from the miner to the spawner, bringing resources.

Attacking Enemies

To Attack an enemy select a white blood cell, then right click on an enemy pathogen or spore or enemy Infection. When two units collide, the units use RigidBody physics to push the enemy units while dealing damage. A damage particle effect will sparkle around the enemy unit. When a unit dies it is removed from the game.

Identification

Microorganisms

Red blood cell

  • Red blood cell model
  • Ally affiliation
  • Collects resources from a miner and delivers to a spawner

White blood cell

  • White blood cell model
  • Ally affiliation
  • Attacks enemy units

Spore

  • Blue model identical to white blood cell model
  • Enemy affiliation
  • Builds infections

Pathogen

  • Skeletal animated model
  • Enemy affiliation
  • Attacks allied units

Miners

Lungs

  • Lungs model
  • Ally affiliation
  • Produces oxygen

Stomach

  • Stomach (actually liver) model
  • Ally affiliation
  • Produces protein

Kidney

  • Kidney model
  • Ally affiliation
  • Produces erythropoietin

Spawners

Heart

  • Heart model
  • Ally affiliation
  • Spawns red and white blood cells

Infection

  • Large dark purple bubbly model
  • Enemy affiliation
  • Spawns spores and pathogens

Notes

  • UI is incomplete, so the following functionality is all it contributes to:
    • The "Menu" button in the top left of the game window simply exits the game, as does the ESCAPE key (this is all ignored in the editor)
    • More UI elements are still to be added in the future
  • Currently spawning animation plays on first launch
  • A bug exists when a unit is attacking another unit but not moving, the moving trail still is emitting and if the unit dies, the allied unit stops by the trail keeps emitting

About

COMP4501 Term Project - An immune system real-time strategy game made with Unity.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published