An open API service indexing awesome lists of open source software.

https://github.com/chafmere/godot4-fps-template

An FPS Template for Godot 4
https://github.com/chafmere/godot4-fps-template

Last synced: 5 months ago
JSON representation

An FPS Template for Godot 4

Awesome Lists containing this project

README

          

### This is an FPS Template for Godot 4.

![alt text](media/FPS_Banner.FREEE.png)

The weapons are created via a resource called Weapon_Resource that allows you to add all the animations and stats to the weapon. The weapon manager will then load all the resources and use the small state machine to control which weapon is active.

The purpose of this template is to make prototyping a First Person Shooter a lot faster since the gameplay and weapons can be design an art added later. This is because each weapon takes string references to each animation, you could design a large array of weapons with place holder animations and then when the Rig is ready, swap it in and replace the animation references.

![alt text](media/Weapon Resources.png)

![alt text](media/Weapon Statemachine.png)
The template utilize component very heavily. The weapons themselves are components added to the state machine. The projectiles, whether hit scan or projectile are a separate component that are added to each weapon. And the spray profiles for each weapon. All can be swapped and changed without effecting the other elements.

[![Patreon](https://img.shields.io/badge/Patreon-Support%20this%20Project-%23f1465a?style=for-the-badge)](https://patreon.com/ChaffGames) [![Discord](https://img.shields.io/discord/865048184160911421?style=for-the-badge&logo=Discord&label=Discord)](https://discord.gg/Exzd8QmKrU)

Need help understanding?

Check out the [Documentation](https://docs.chaffgames.com/docs/fpstemplate/table_of_contents/)

Here are some of the main features:

![Resource Based](docs/images/Promo/Weapon Resources.png)

![State Machine](docs/images/Promo/Weapon Statemachine.png)

![Movement Options](docs/images/Promo/Movement.png)

![Currently 4 Weapons](docs/images/Promo/weapon range.png)