In this video we'll make our gun work. We implement a mechanism for manipulating the slide.
We'll spawn ejected shells and spawn fired bullets.
Timecodes:
00:00 Introduction
00:20 Keeping track of ammo
02:20 Loading a bullet into our gun
04:30 Creating the slide mechanism
09:00 Creating our ejected shell spawner
11:45 Fixing a few small problems
14:45 Demo of slide and reload logic
15:35 Creating our bullet spawner
16:15 Adding our muzzle flesh
17:25 Creating our action method
18:00 Creating our empty shoot animation
18:50 Creating our shoot animation
21:20 Creating our bullet
22:05 Spawning our bullet
22:35 Final demonstration
Links:
- github.com/BastiaanOlij/godot... - GitHub repository for this tutorial
- godotengine.org/ - Godot Engine website
- godotvr.github.io/godot-xr-tools - Documentation about XR Tools
- godotvr.github.io/godot-xr-to... - Description of physics layers
- opengameart.org/content/low-p... - Tools objects
- opengameart.org/content/lowpo... - Pistol model
- freesound.org/people/Pjkasins... - Magazine load sound
Join this channel to get access to perks:
/ @bastiaanolij
Follow me on Mastodon or Twitter for regular updates:
mastodon.gamedev.place/web/@m...
/ mux213
Негізгі бет Ойындар Godot XR Tools part 4 - Finishing the Gun
Пікірлер: 44