Weapon Inventory & Switching - Godot FPS Series #10 @stayathomedev
Weapon Inventory & Switching - Godot FPS Series #10  @stayathomedev
Uploaded January 2026 | Updated November 2026, 15 hours ago
In this Godot FPS tutorial, you'll build a weapon inventory system with number key switching using a manager-based architecture. By the end, you'll carry multiple weapons, switch between them with number keys, and each weapon will maintain its own ammo count and unlock status.

This episode builds the foundation for weapon pickups in Episode 11.

What You'll Learn:

- Creating a Managers autoload system
- Scene-based manager architecture with groups
- Weapon slot inventory with unlock tracking
- Number key input handling (1-9 keys)
- Per-weapon ammo management

-----------------------------------------------------------------------------------

✅ GET THE SOURCE FILES
patreon.com/posts/make-fps-weapon-147691194?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

✅ GET THE STARTERKIT PROJECT
patreon.com/posts/make-fps-2-0-134340702

🏆 The FPS Tutorial Series 2.0 Roadmap
stayathomedev.com/blog/fps-series-road-map

🎮 Wishlist My FPS Game, Children of Kronos
store.steampowered.com/app/3640450/Children_of_Kronos/?utm_source=youtube&utm_medium=description&utm_campaign=tutorial

-----------------------------------------------------------------------------------

CHAPTERS

00:00 Weapon Slot and Inventory System
00:33 Weapon Data Resource
01:40 Creating Pistol Data Instance
03:12 The Manager Autoload
05:12 Creating the Weapon Manager
07:05 Weapon Manager Script Setup
07:32 Input Maps
08:39 Switching Weapon Slots
09:35 Managing Ammo Per Slot
11:37 Proper Slot Numbers
11:59 Creating the Player Group
13:00 Player Controller Adjustments
13:30 Switch Weapon Function
14:40 Testing Weapon Switch
15:24 Fixing Ammo Management
16:59 Testing Ammo Usage
17:18 Variable Cleanup
17:56 Setting Initial Weapon
18:49 Fixing State Logic Errors
20:32 Fixing the Empty State
21:13 Final Test
21:41 Get the Project Source Files

-----------------------------------------------------------------------------------

STAYATHOMEDEV ►► patreon.com/c/StayAtHomeDev_
TWITTER ►► twitter.com/StayAtHomeDev
BLUESKY ►► https://bsky.app/profile/stayathomedev.bsky.social
MY ITCH.IO PAGE ►► stayathomedev.itch.io
PATREON ►► patreon.com/cw/StayAtHomeDev_

-----------------------------------------------------------------------------------

Resources:
GODOT ENGINE ►► godotengine.org
DOWNLOAD GODOT ►► godotengine.org/download

#godot #gamedev #fpstutorial
Weapon Inventory & Switching - Godot FPS Series #105 Games Made in Godot To Inspire You (08/12/26)5 Games Made in Godot To Inspire You (11/13/25)5 Games Made in Godot To Inspire You (11/20/25)5 Games Made in Godot To Inspire You (07/01/25)5 Games Made in Godot To Inspire You (01/06/26)They Ditched Unity for the Godot Engine, Heres What Happened5 Games Made in Godot To Inspire You (05/20/26)5 Games Made in Godot To Inspire You (05/21/25)Nominate Your Favorite Godot GamesTrenchbroom FPS Pickup Setup - Godot FPS Series #12Create A Simple Debug UI System in the Godot Engine
StayAtHomeDev |

Weapon Inventory & Switching - Godot FPS Series #10

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER