Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 2.83 KB

File metadata and controls

65 lines (45 loc) · 2.83 KB

Unit 2 - Objects!

Asteroids-like 2D game during CircuitStream Game Development Bootcamp using Unity 6, Play on GitHub Pages

screengrab of part 3 gameplay

Part 1 - Add Objects to Objects!

Features:

  • UI using Unity Events and C# Actions to update score, high schore, and player health
  • WASD/Arrow movement for player, left mouse click to shoot bullet
  • OOP Design for playable objects (Player and 3 types of enemies)
    • Melee Enemy: approaches the enemy and explodes, performing heavy damage to the player
    • Machine Gun Enemy: approaches the player and shoots bullets with high rate but low accuracy (e.g.: 5 bullets per second)
    • Shooter Enemy: stays away from the player and shoots bullets with high accuracy but low rate (e.g.: 1 shot per 3 seconds)
  • Music and sound effects for shooting, damaging, reseting game

Part 2 - Add Power-Ups to Objects!

Features:

  • UI now includes number of nukes available and start/end game screen
  • Added powerups using OOP design (Pickup and 3 types of pickups):
    • Health: heals player with random number between min/max values
    • Nuke: destroys all enemies on screen (but not powerups), limited to 5 (based on size of array in Unity Inspector for UI Manager)
    • Gun Powerup: 10 second machine gun powerup
  • Organized Scripting folder
  • Added additional sound effects for powerups
  • Used Player Prefs to save high score

Part 3 - Enhance Objects!

Features:

  • [Nery] Added levels to game to increase difficulty over time:
    • UI updated and store highest level in PlayerPrefs
    • Level dictates increasing enemy spawn rate using logarithmic function
    • Level dictates decreasing pickup spawn rate using multiplative inverse function
    • Added health bar to boss enemy
    • Did WebGL build and hosted on GitHub Pages
  • [Aurélie] UI redo and boss enemy:
    • Changed theme of UI to be animal enemies that fire desserts
    • Added boss enemy with shield powerup drop
    • Added shield (no bullet damage for few seconds) powerup
    • Added main menu with sound settings (control music and sound effects) and instructions

Documentation

Melee Enemy Activity Diagram

activity diagram for melee enemy

Machine Gun Enemy Activity Diagram

activity diagram for machine gun enemy

Shooter Enemy Activity Diagram

activity diagram for shooter enemy

Resources Used: