This is a crash course for learning 3D in Godot 4.2.2.
This course took a long time to make and I have put a lot of effort in it, so if you want to thank me or support me, please consider buying one of my course (i put the link with a discount down below), liking and subscribing to this channel :)
My course (discounted until the 7th of august 2024):
2D Procedurally generated Roguelike in Godot 4.2:
Course: https://www.udemy.com/course/create-a...
Coupon Code: GODOT4JULY2024
Create a 2D RPG and a 3D game in Godot 4:
Course: https://www.udemy.com/course/create-a...
Coupon Code: GODOT4JULY2024
Link to the assets:
for the heart spritesheet: https://jeanmakesgames.itch.io/2d-rpg...
for the 3D asset: https://quaternius.com
download godot: https://godotengine.org
My game Lone Knight available for wishlist on steam:
https://store.steampowered.com/app/22...
Timeline:
00:00:00 What we gonna do in this video
00:02:21 download godot
00:03:13 download the asset
00:03:52 how to download the assets
00:07:23 Which format of files to use?
00:07:46 Sorting the assets
00:10:18 Creating our godot project
00:11:52 Create our first 3D scene
00:12:21 Fixing the washed out color effect
00:14:09 Creating the player
00:18:54 Keyframing the collision shape on the animation
00:23:07 Creating the ground
00:25:30 Creating the camera
00:28:37 Coding the movement of our player
00:42:06 rotating the player according to our direction
00:45:52 calling the animation
00:47:39 Rotating the camera
00:49:05 Creating the script of the camera
00:53:15 Creating the input for the camera
00:56:24 Using the input to rotate the camera
01:00:10 moving in the direction of the camera
01:03:33 Jumping
01:03:33 gravity
01:08:48 Sword collision shape
01:12:28 fixing the collider of my player
01:13:43 Disabling the sword collider
01:17:28 Create the sword attack input
01:19:18 Creating a state machine
01:24:21 Resetting our state from sword to move
01:26:21 refactoring our jump code
01:29:40 Using our sword to smash stuff
01:30:25 Naming our collision layer and mask
01:31:21 Setting up the collision layer and mask of the sword
01:31:55 Adding a cube i can smash
01:34:09 Using signal
01:35:32 Using group
01:37:33 Attacking and moving at the same time
01:40:52 Creating a sprint state
01:44:18 Creating the animation tree
01:49:29 Adding the different state machine node to my animation tree
01:50:37 adding the blend space 2d to my ground_state node
01:52:44 Connecting my nodes
01:56:49 Changing our ground state from root to grouped
01:58:28 Creating the air state animation
02:01:39 Creating a blendspace2D for my landing animation
02:02:06 connecting my ground state to my air state
02:03:26 transition between states
02:05:27 Connecting my ground_state to the other states
02:06:21 Setting up condition
02:10:12 Using animation tree through code
02:10:26 Saving animation tree to reuse it
02:12:11 How to access our animation tree through code
02:18:05 Calling my animations through code
02:20:46 Calling the condition through code
02:24:07 Error 1
02:24:56 Error 2
02:25:36 Trick to know if your state machine and blendspace are setup properly
02:25:50 Error 3
02:26:13 Error 4 (last one)
02:26:56 Calling the animation on the sword attack
02:28:58 Calling the jump
02:30:27 falling
02:36:54 Adding move_and_slide
02:37:45 Calling the gravity
02:38:53 Adding input movement to move
02:39:37 Setting up the blend mode
02:45:28 health manager
02:49:33 Creating the hitbox of our player to get damage
02:50:56 Creating an area3d on my item
02:53:07 Setting up the collision layer and mask of our hitbox
02:53:40 Make the collision shape visible in the editor
02:54:29 Display the hurt animation
02:55:21 hurt states
02:56:50 trigger the hurt state
02:58:17 GUI
03:02:43 Coding the GUI
03:12:52 Creating a camera shake
03:20:56 dead states
03:28:37 Correcting a little error in the dead state
03:32:06 Creating our background environment
03:36:36 Creating the static body trimesh collision of my palm tree
03:40:42 Setting the static body of the tree on their own collision layer
03:44:45 Adding cliff
03:49:51 Creating rocks
03:54:00 Saving my white cube items as its own scene
03:54:41 Duplicating the cliff to bring variety to the background
03:57:14 Continuing to add variety
03:59:02 Checking the performance in the debugger
03:59:35 Finally changing the rotation input of the camera
04:00:16 Creating gem to collect
04:03:09 Making sure the player can collide with the gem collision layer
04:03:21 Creating a script for the gems scene
04:04:16 Create a group on my player
04:05:46 Saving my gem as its own scene
04:06:41 Display the gem collected in the GUI
04:08:03 Calling my label in the GUI Script
04:11:15 Creating animations for the gems
04:19:11 Creating a procedurally generated sky
04:24:47 Note about the jump
04:27:18 Wrapping up and outro
Watch video 3D RPG In Godot 4 Crash course online without registration, duration hours minute second in high quality. This video was added by user Jean Makes Games 06 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16,048 once and liked it 946 people.