Making Projectile Weapons in Godot 3.4!

Опубликовано: 01 Ноябрь 2024
на канале: Chaff Games
6,711
240

Support the Channel: patreon.com/ChaffGames

Check My New Course : https://www.udemy.com/course/building...

Get the Godot FPS Template Here: https://chaffgames.com/fps-game-templ...

This week we look at making a projectile weapon in the Godot Game Engine. We will be making a Rocket Launcher projectile to fire from that rocket launcher. And an explosion to damage enemies and throw physics objects around the room. For the projectile weapon, we will be using a physics object and learn how to spawn it. We will instance it the end of the rocket launcher, sending it through the air to collide with objects and enemies. Finally, we will create an explosion that has an impactful effect.

Projectile weapons can be a little tricky in the Godot Game Engine. There are a few tricks to make sure that the process works smoothly with your game.

For example making the projectile for your Gun go too fast can actually cause it to pass through objects as it travels faster than the frame update. Rocket launchers are a good candidate for a projectile weapon. Because the projectile does not need to travel too fast in order too look good.
There are also a few tricks in here to make your explosion effect enemies and rigid bodies.

A projectile weapon in Godot is a must have for any FPS project. I'll show you the best way to create a projectile weapon in Godot.

You should also consider downloading my FPS Template for Godot and follow along side me to create this project. This should make things a bit easier. As I do not explain how to make a FPS controller or link up the weapon to a firing input.

00:00 Intro
01:00 Set Up
03:17 Explosion
10:27 Projectile
18:36 Rocket Launcher
33:26 Outro

Please like and Subscribe! It's truly appreciated

#GameDevelopment #GameDevTutorial #Godot

Links to my Socials

Instagram:   / chaff.dev  
Twitter:   / chaffdev  
Itch.io: https://chafmere.itch.io/
Website: chaffgames.com