Skip to content

This is a repo for a 2D Unity randomly generated shooter game as the final project for COMP 159 Computer Game Technologies.

Notifications You must be signed in to change notification settings

a-nguyen1/comp159-2d-randomly-generated-shooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Where Are My Neighbors?

Created by

Project Manager: David Yang
Programming Lead: Austin Nguyen
Programmers: Leah Hernandez, Zihao Yu, Matthew Maragos

Overview

Made with Unity, Where Are My Neighbors? is an endless 2D run-and-gun shooter inspired by the Super Nintendo Entertainment System title, Zombies Ate My Neighbors. The game has the player navigate through each level to find their neighbors while shooting through zombies. Once all the neighbors in a level have been obtained, a door will appear for the player to advance to the next level. As the level progression increases, the number of neighbors and zombies also increases.

How to Play

Controls:

  • Player Movement Controls:
    • Users use the AWSD keys to move the player character around the game
    • Users also use the E key to use a one-time-use item
    • Users also can alternate between one-time-use items with the keys: 1 and 2
    • Users use the mouse wheel on their mouse to alernate between their weapons
  • Aim:
    • Users use the mouse and its left-click button to point and shoot at the enemies on-screen.
  • WebGL link:

Propose to Complete

Sprint 1 Stories with Complexity Score
Player Movement Script = 3
Layout Spawner (How the level is spawned) = 13
Pick-up Item (Items are picked up accounted for) = 8
Weapons (Rifle & Shotgun function) = 8
Enemy Controller (How enemies behave in game) = 3
Free Aim (Player can shoot in 360 degree direction) = 5
Adding Audio (weapon shooting & player injured) = 5
Invincibility (Player temporarily is invincible for a short time) = 8
Camera (Follows and keeps player in center) = 3
Total Sprint Story Complexity = 56
Total Sprint Story Completed Complexity Score = 56

Sprint 2 Stories with Complexity Score
Different Weapon Pick-up = 8
Level Progression = 8
Game Over Screen = 3
Health Pack (Prefab gives health to injured Player) = 5
Health Pack & Consumables = 8
Health Scripts (track Player & Enemy health) = 8
Player Health Bar = 5
Weapon Box Panel (display current weapon) = 8
Main Menu & Controls Scene = 3
Total Sprint Story Complexity = 56
Total Sprint Story Completed Complexity Score = 40

Sprint 3 Stories with Complexity Score
Ammo Box = 5
Guarantee ammo drop when zombie is killed = 13
One-Time-Use: Landmine = 21
One-Time-Use: Distraction Item = 13
One-Time-Use: Portable Barricade = 8
Display Number of Neighbors to Save = 5
Mini-Map (displays where player has traveled & neighbors) = 13
Background Music & Sound Effects = 5
Ammo Countdown (Tracks available ammunition) = 13
Sprites (for player, enemies, ammo, etc) = 5
Total Complexity = 101
Total Completed for Sprint = 73 as of 06 DEC 2023

Features

Weapon Switching

Image above showcases the ability for players to alternate between their weapons

Guaranteed Ammo Drop

Image above showcases destroying an zombie with a specific weapon, yields ammunition of weapon type that destroyed the zombie

Level Progression

Image above showcases the collection of the final neighbor to save instantiates a door to advance to the next level.

Mini-Map

Image above showcases the mini-map that displays building the player has yet to enter and updates it, along with where neighbors are within buildings.

Words of Wisdom

David: “Sketch a visual design of the game prior to even writing a line of code. The visual provides a reference to build code towards the visual and make changes when necessary.

Zihao: “Figure out the logic before writing a line of code specially if you are working with a member on your team, otherwise would cause problem if you have different idea or ways to do it.

Austin: “Communication is important to make sure that everyone on the team is able to contribute effectively.

Leah: “At one point some of the tasks had some layover so it was hard to not redo some of the code others had written.

Matthew: "Getting used to GitHub is like learning to ride a bike – challenging at first, but with practice, it becomes second nature."

References with Annotation

Logo:
Logo was edited with GIMP and originally generated from Looka

Audio Assets:
Shotgun audio was edited with Audacity and originally from freesounds.org
Rifle audio was edited with Audacity and originally from freesounds.org
Zombie audio was edited with Audacity and originally from freesounds.org
Main menu music was edited with Audacity and originally from freesounds.org
Health Increase sound was edited with Audacity and originally from here
Landmine beeping audio was edited with Audacity and originally from freesounds.org
Explosion audio was from freesounds.org
Player “Oof” sound was from freesounds.org

Sprites Assets:
Items & Weapons Sprite Sheet was edited with GIMP and originally from here
Landmine Sprite Sheet was edited with GIMP and originally from here
Rifle icon is originally from iconfinder.com
Shotgun icon was edited with GIMP and originally from freepik.com
Exit Door is originally from here
Minimap background circle is originally from bing.com
Explosion was taken from: COMP 159 2D Lab - Lab 3
Keyboard image was edited with GIMP and taken from here
Mouse image was edited with GIMP and taken from here

About

This is a repo for a 2D Unity randomly generated shooter game as the final project for COMP 159 Computer Game Technologies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7