First Person Shooter game prototype utilizing event-based architecture to ensure modularity and scalability.
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.
- 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).
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.
Unity version 2021.3.5f1, C# programming language