In this episode, you'll add weapon variety through accuracy systems, multi-pellet spread mechanics, and fire modes. By the end, you'll have precise pistols, wide-spread shotguns, and rapid-fire automatic weapons.
This episode builds on Episode 8's shooting systems. We're adding properties that make each weapon type unique.
What You'll Learn:
Accuracy percentage affecting shot precision
Multi-pellet raycast systems (shotguns)
Spread angle calculations
Fire rate control
Automatic vs semi-automatic firing
-----------------------------------------------------------------------------------
✅ GET THE SOURCE FILES
/ make-fps-weapon-147092445
✅ GET THE STARTERKIT PROJECT
/ make-fps-2-0-134340702
🏆 The FPS Tutorial Series 2.0 Roadmap
https://www.stayathomedev.com/blog/fp...
🎮 Wishlist My FPS Game, Children of Kronos
https://store.steampowered.com/app/36...
-----------------------------------------------------------------------------------
CHAPTERS
00:00 Introduction to Weapon Variety Features
00:23 Adding Weapon Resource Properties
01:46 Adding Fire Mode Properties
02:18 Creating the Accuracy System
03:50 Testing Accuracy
04:20 Projectile Accuracy
04:58 Making Accuracy Relative to Camera Direction
05:31 Building the Shotgun Pellet System
07:32 Controlling Weapon Fire Rate
10:06 Implementing Automatic Firing
12:01 Pistol, Shotgun, and SMG Examples
13:02 Get the Project Source Files
-----------------------------------------------------------------------------------
STAYATHOMEDEV ►► https://stayathomedev.com
TWITTER ►► / stayathomedev
BLUESKY ►► https://bsky.app/profile/stayathomede...
MY ITCH.IO PAGE ►► https://stayathomedev.itch.io/
PATREON ►► / stayathomedev_
-----------------------------------------------------------------------------------
Resources:
GODOT ENGINE ►► https://godotengine.org/
DOWNLOAD GODOT ►► https://godotengine.org/download
#godot #gamedev #fpstutorial