Skip to content

Reknotx/Gauntlet-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gauntlet-Clone

Clone of the Arcade Game Gauntlet for CAGD 380 Goal of this class project was to create a clone of the arcade game with multiplayer functionality. Input was created with the use of the new Unity Input System package to allow for input to be read through callback contexts and events rather than having a large cumbersome file. Multiplayer is unfortunately not implemented due to lack of time and proper documentation on the package to properly implement one. Project is buildable for execution on Windows machines and requires an xBox controller to be played properly due to lack of proper keyboard support.

Code structure was designed around the Model-View-Controller software design pattern for both simplicity and for organizational purposes, separating the data from the logic.

Within the scripts folder

Data - Contains all the information for the game's systems.

  • Individual enemy information is stored within a scriptable object rather than being assigned values in the inspector.
  • Stats for each of the player classes are stored in scriptable objects to allow for more dynamic loading at the game start. Allows for players to choose their classes at the start.

Controllers - Handles the logic for the game in terms of combat, pick up behavior, world interaction behavior, individual player input and movement (if it was setup), etc.

  • Every individual type of event that can happen in the game will be sent to the appropriate controller to filter the message and update the necessary data in the game.
  • Controllers are set up to filter the messages to players appropriately.

View - Handles input detection and passes event callbacks to the controller.

  • Player input and collision detection are separated into their own scripts and inherit from a parent. This is to allow for messages to be handled in one central location and to allow for code reuse.
  • Weapons are given their own collision detection scripts that send messages to the correct controller.

About

Clone of the Arcade Game Gauntlet for CAGD 380

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published