Skip to content

First Person Shooter game prototype utilizing event-based architecture to ensure modularity and scalability.

Notifications You must be signed in to change notification settings

Dominikkasprzyk/First-Person-Shooter-Prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First Person Shooter - prototype in Unity

First Person Shooter game prototype utilizing event-based architecture to ensure modularity and scalability.

This project uses Unity's Universal Render Pipeline (URP).

Table of Contents

Controls

Keyboard & Mouse

Classic FPS controls: Move the mouse to look and turn around. Use AWSD keys to move your character. To jump press the SPACEBAR key. To attack press the left mouse button. Use the mouse scroll to change your weapon.

Prototype contents

  • Classic FPS movement utilizing Unity's New Input System (see controls),
  • Destroyable objects,
  • Different weapons,
  • Fabric system (specific weapons can destroy specific materials),
  • Tutorial scene,
  • Rotating weapons (facing whatever you are aiming at),
  • Weapon dependent crosshair system (different weapon - different crosshair).

Cosmetic elements used in this prototype:

Event-based architecure

The event-based architecture allows for flexible and highly scalable games by separating projects into different modules. Communication between those modules happens via events which helps to avoid errors when implementing new mechanics or refactoring old bits of code. A new module can be simply connected to others by listening or raising events, while other modules remain untouched. This modular approach also improves code reusability and helps to pinpoint problems during debugging.

More about this type of architecture can be found here:

Technologies

Unity version 2021.3.5f1, C# programming language

About

First Person Shooter game prototype utilizing event-based architecture to ensure modularity and scalability.

Topics

Resources

Stars

Watchers

Forks