Тёмный

3D RPG In Godot 4 Crash course 

Подписаться
Просмотров 13 тыс.
% 832

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: www.udemy.com/course/create-a-procedurally-generated-2d-roguelike-in-godot-4/?couponCode=GODOT4JULY2024
Coupon Code: GODOT4JULY2024
Create a 2D RPG and a 3D game in Godot 4:
Course: www.udemy.com/course/create-a-2d-rpg-and-a-3d-game-in-godot-42/?couponCode=GODOT4JULY2024
Coupon Code: GODOT4JULY2024
Link to the assets:
for the heart spritesheet: jeanmakesgames.itch.io/2d-rpg-asset
for the 3D asset: quaternius.com
download godot: godotengine.org
My game Lone Knight available for wishlist on steam:
store.steampowered.com/app/2211930/Lone_Knight
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

Развлечения

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@quaternius
@quaternius 2 месяца назад
Woah, this is an incredible resource! Such an honor to have my assets used this way. Thank you.
@jeanmakesgames
@jeanmakesgames 2 месяца назад
You are very welcome! And thank you very much for sharing your asset :)
@EmmanuelOjor-h3n
@EmmanuelOjor-h3n 23 дня назад
You're the one we're supposed to thank for making such high quality assets available to everyone
@TsarPain
@TsarPain 2 месяца назад
I am from Russia and I am very grateful for such courses on GODOT, there are few such good courses, so you deserve a like
@jeanmakesgames
@jeanmakesgames 2 месяца назад
thank you very much! :)
@DelahayeChristophe
@DelahayeChristophe 2 месяца назад
Wow merci beaucoup pour tes tutos, c'est de la qualité !
@jeanmakesgames
@jeanmakesgames 2 месяца назад
Avec plaisir 🙂
@maxnorderfeldt9791
@maxnorderfeldt9791 2 месяца назад
Great tutorial for someone getting started in godot, its nice to have a tutorial thats up to date!
@jeanmakesgames
@jeanmakesgames 2 месяца назад
Thank you very much! :)
@g00dm4nChimera
@g00dm4nChimera Месяц назад
je m'attendais pas à l'accent français, super vidéo en tout cas et merci pour le contenu gratuit et super instructif que tu nous proposes
@jeanmakesgames
@jeanmakesgames Месяц назад
Merci beaucoup! :)
@monosTVsports
@monosTVsports 25 дней назад
This is amazing! Im still a newbie that wants to make shorter games right now but as soon as i feel lore comfy i wwnt to try this for an idea i have!!
@jeanmakesgames
@jeanmakesgames 25 дней назад
Thank you! Yes it's good to focus on shorter game :)
@hanyelsafty-z6l
@hanyelsafty-z6l 2 месяца назад
Thank you so much for doing this, I always admire people who dedicate some of their time to teach other people new things, especially with this amazing level of quality, greetings from Egypt
@jeanmakesgames
@jeanmakesgames 2 месяца назад
thank you very much for the kind words! :)
@cd2028
@cd2028 2 месяца назад
Cool can't wait to go through this course!
@ভোমরা
@ভোমরা 5 дней назад
tnq more tutorial like this plz.
@kingkonork2641
@kingkonork2641 4 дня назад
Amazing work! I suscribe your channel, keep up the good work and thank you for sharing your knowledge!
@CharleyDonar
@CharleyDonar Месяц назад
THANK YOU!
@AstroTechGuy
@AstroTechGuy 2 месяца назад
From Jean Makes Games to Jean Makes Awesome Tutorials. Great video!
@jeanmakesgames
@jeanmakesgames 2 месяца назад
Thank you very much! :)
@ভোমরা
@ভোমরা 5 дней назад
WOW
@DavidArt
@DavidArt 2 месяца назад
super boulot .. content de voir du bon contenu pour godot. new sub aussi 👍
@jeanmakesgames
@jeanmakesgames 2 месяца назад
Merci beaucoup! Et bienvenue :)
@brightofori1946
@brightofori1946 Месяц назад
Great tutorial. You're the best!
@thisormaybethis
@thisormaybethis 2 месяца назад
More 3D Godot tutorial! Thank you
@oakmars8062
@oakmars8062 2 месяца назад
Very cool
@jeanmakesgames
@jeanmakesgames 2 месяца назад
thank you! :)
@user-bm1zk9qj6p
@user-bm1zk9qj6p 2 месяца назад
I'm not even a gamedev but this is so incredibly based
@jeanmakesgames
@jeanmakesgames 2 месяца назад
Thank you! ☺
@MiguelDonSabah
@MiguelDonSabah 2 месяца назад
Youre the best just subbed
@jeanmakesgames
@jeanmakesgames 2 месяца назад
thank you! :)
@calibur5518
@calibur5518 Месяц назад
Hi thanks for your video ...
@kamizumie
@kamizumie Месяц назад
mate, I love that accent
@jeanmakesgames
@jeanmakesgames Месяц назад
thank you :)
@Maxstate
@Maxstate 21 день назад
Hey Jean, thank you for the video! What kind of changes would I have to do to make the camera fixed? I want to make an isometric/steady camera 3d RPG.
@KhaledSoufi-iw8nq
@KhaledSoufi-iw8nq Месяц назад
04:28
@maxzaremsky7468
@maxzaremsky7468 19 дней назад
hi! this tutorial is great! i got stuck on states and animations: my animation gets stuck on the attack ( first frame) what should i do?
@Viski982
@Viski982 Месяц назад
hey man thanks for the great course but in 1:14:00 couldn't i just disable the collision initially then enable it when the punch animation starts instead of copying and pasting the track ? thanks again for the great and deep explaining
@jeanmakesgames
@jeanmakesgames Месяц назад
Thank you! Yes you can do that through code but it happened to me that for some reason sometime it doesn’t get disabled / enabled properly, it never happened while using the anim player though, that’s why I’m doing it this way :)
@Viski982
@Viski982 Месяц назад
@@jeanmakesgames yeah after testing for a while it did happend to me, thanks for showing everything solution you knew ❤️🙏🏿
@ZiadHassan-y4s
@ZiadHassan-y4s 2 месяца назад
Please complete the 2D learning series
@xenomeag
@xenomeag 24 дня назад
Hey Jean. Found your comment where you shared your whole story about your 12th drop out i find it too relatable i am actually want to make a game from scratch can you tell me from where i should start from scratch as i am a biology graduate .checked yiur udemy linked and find put enrollment in your courses are unavailable.so could you please guide me?
@jeanmakesgames
@jeanmakesgames 24 дня назад
Hello, thanks! :) It's actually fairly simple: 1. start small if your new to game development (your project could be 2d or 3d, doesn't matter), find one or two game mechanic you like (shooting? puzzle? something else?) and develop them the best you can. Don't freak out or take it bad if you don't get close to the result you want, you are learning, allow yourself to fail :) 2. Once you have a little prototype that works ok (probably between 2 weeks and two month depending the time you are putting in it), try to build 10 levels helping yourself from sources (tutorial, course) that looks close to what you wanna do and just do it, and reiterate. That's how I've started learning game development: i've found tutorial in c++ at the time and i got in because of those tutorial, then i have moved to game maker, then unity and when i have found about godot I've sticked to it. 3. work on the base you have succeed to build, and ask yourself "now what?". By that I mean what kind of things you could add to make your game better (more mechanic, more enemies, more polish?). Try also to turn that little base into a different game (if it's a 2d platformer, try to make it as a 2d rpg now, for example) like this you'll continue to improve. 4. for everything about assets, itch.io is your best friend to start. don't spend money, find stuff for free that you like enough to be working on a project with, and when you feel like it try to make your own stuff following the same logic that i have described before. 5. Keep an eye on what other are doing to keep being inspired, and have fun, do things that you want and that are fun to you, that's it :) Hope it helps! :)
@joseantonioca8763
@joseantonioca8763 Месяц назад
How can I move the character when clicking? Plizz
@HuynhLuong227
@HuynhLuong227 14 дней назад
oh good game, how it's play on browser mobile?
@SamerAlesaa
@SamerAlesaa 14 дней назад
How i can make the camera rotate with mouse
@dishankbiyani5930
@dishankbiyani5930 10 дней назад
while following this tutorial after adding DIrectionalLight3D and WorldEnvironment my game is crashing whenever trying to play it. after removing these DIrectionalLight3D and WorldEnvironment I am able to play. please help I am not able to figure out what is the reason.
@Niksona-p1x
@Niksona-p1x 10 дней назад
when i rotate player according to direction when i go forward it rotates backward how do i fix that
@GauchoForge
@GauchoForge 5 дней назад
Go to your player and set Y rotation in -180
@abubakrkhodzhaev8618
@abubakrkhodzhaev8618 2 месяца назад
Can you make a course for an infinite game like flappy bird or a survival game
@jeanmakesgames
@jeanmakesgames 2 месяца назад
I add them to my list! :)
@jameshobden3499
@jameshobden3499 2 месяца назад
An easy subscribe and like. Thanks.
@jeanmakesgames
@jeanmakesgames 2 месяца назад
Thank you! and welcome! :)