Sprite-Based FPS Project Starter
A downloadable Template Project
This is a prototype/template sprite-based FPS created in Godot 4.1! Originally I planned to try and make a fully FPS out of this project, but lost inspiration and decided that, instead of leaving it on my computer, I should share it so it can be used as reference or help someone else out there.
The following has been implemented:
- A duel wielding gun system
- Guns keep track of ammo, even when dropped.
- More ammo can be gotten for guns of the same time when picking up.
- Decently flexible system for adding more guns
- A full character controller with health and shields.
- Basic enemy wave system with basic enemies
- Enemies give currency when destroyed, which can be used at the vending machines.
- Vending machine system that uses currency.
- Basic enemies that track the player and attack when close. Have basic damage animation and death animation.
- Item pickup system for health, ammo, and shields. Includes both big and small pickups.
- Basic HUD, win, and loose UI (that doesn't fully work...)
The following is missing and/or needs work:
- The game is unbalanced. Weapons are not tailored for correct strength and currency is not balanced.
- Weapons fire without recoil or sway
- The failure and win UI does not fully work and shows fake stats
- No enemy variation
- No sounds of any type
- No input remapping, no controller support
The controls are the following:
- WASD to move
- Mouse to look around
- Left click to use left weapon
- Right click to use right weapon
- R to reload
- Q to pickup left weapon (long hold Q to drop weapon)
- E to pickup right weapon (long hold E to drop weapon)
- Shift to sprint
- Space to jump
- Esc to capture/free the mouse cursor
The code and assets created by TwistedTwigleg are licensed under MIT and can be used as seen fit. The code is provided as a ZIP in this page for download. The code, assets, etc. are all provided as is and I'm not looking to provide support/fixes at this time. I cannot say the code is high quality or anything - this project was just a hobby project in spare time during weekends.
All the code is in C# and uses Godot 4.1. I have only tested the code on Windows and it only has desktop input support. Hopefully it is helpful as a reference!
Assets used:
- Prototype textures by Kenney: https://www.kenney.nl/assets/prototype-textures
All other sprites were created by TwistedTwigleg for this project and can be used under the same license as the code (MIT).
The following was used for inspiration for custom sprites:
- Cryo's Mini GUI: https://paperhatlizard.itch.io/cryos-mini-gui
- Weapon Pack: https://vladpenn.itch.io/weapon
Thanks for reading and please enjoy!
Status | Prototype |
Category | Other |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | TwistedTwigleg |
Made with | Godot |
Tags | FPS, Godot, Sprites, Project template |
Code license | MIT License |
Download
Install instructions
Open the project in Godot 4.1+ using the C# version of Godot. You may need to press the "Build" button in the Godot editor to compile the C# scripts for your machine.
Leave a comment
Log in with itch.io to leave a comment.