Giter Site home page Giter Site logo

navybattle's Introduction

Day N Nite

Day N Nite is a top-down shooter game implemented with Unity. We currently have three levels and a variety of weapons and character types to fight. The following are the main controls:

WASD (or various alternatives like arrows or joystick work) for motion Left Mouse to shoot/use an item E for reloading an item Q for dropping an item

The player tracks to the mouse.

TO DOWNLOAD THE EXECUTABLES TO RUN THE GAME: See the Release tab, unzip the files, and run the DayNNite.exe file. You must have an Intel 64-bit architecture. The following are the requirements for your Operating System: Windows 7 (SP1+), Windows 10 and Windows 11 (WINDOWS) OR Mojave 10.14+ (MAC) OR Ubuntu 20.04, Ubuntu 18.04, and CentOS 7 (LINUX)

TO RUN THE GAME IN UNITY EDITOR: Download the code repository and open it with Unity Editor. The system requirements to use Unity Editor are found at this link: https://docs.unity3d.com/Manual/system-requirements.html

navybattle's People

Contributors

aidanwestphal avatar kchiu1 avatar yvemula avatar tzakatech avatar yhl04 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

navybattle's Issues

Bullet Spread

New property for weapons which adds variability when spawning a bullet based on its actual trajectory.

Exact implementation TBD but implementation can be based on angle of deviation and RNG.

Level Mechanics

Spawn enemies on map.
End the game when all enemies have been killed.

Multiple Enemies and Enemy Spawning

Spawning enemies and adding them to the EnemySpawner object. Currently, we have one Enemy and the buttons to spawn enemies edits this enemy. We need one more layer to implement spawning actual ControllableCharacters (like Player and Enemy) rather than spawning Characters for said Player/Enemy to utilize.

FirearmSpawner

Remove PistolSpawner and SniperSpawner. Replace with generalized FirearmSpawner that takes in a string input (or similar).

In-Game UI Screen

This UI screen will be in the WORLD system (camera) and will contain information about ammo left and possibly the inventory

Consumbles

These are items on the ground that are consumed when walking over them. This may include a powerup, ammo, healing, etc.

Enemy Drops & Healing

Killing an enemy drops ammo and a health/upgrade boost. Some healing system, either players heal slowly after X seconds OR players need to bandage.

DropItem deletes item

DropItem should keep an item active, but move to a dropped state that can be picked up.
Currently the code will delete the item when its dropped.

Enemies

-Enemy Class compared to Player Class
-Enemy and Player can damage eachother with weapons
-Enemy tracks to Players and shoots their weapons
-Enemies have different statistics, specifically regarding how often they can use an item (FIRING SPEED?)

Attack() and Weapon Class System

Weapon class system with an implementation (Pistol)
Characters contain an Inventory of items
Weapon is an abstract class and implements item
Weapon use() will shoot the weapon by instantiating a bullet prefab with velocity vector & facing

Characters have a use() function that operates on their current inventory slot: calls the items' use function
Character subtypes are initialized with a specific type of weapon in their inventory.

Bullets listen for when they hit an entity. If player or enemy group, it damages them by the according damage the bullet has associated with it

etc. (whatever other design choices the implementer includes)

Reload Logic

Right now there's no defined way to reload the weapon. An input key needs to be associated to a firearm that links to the reload function.

Levels

Creatng multiple levels for the game

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.