Тёмный

Your First 2D GAME From Zero with GODOT 4! **Vampire Survivor Style** 

GDQuest
Подписаться 258 тыс.
Просмотров 577 тыс.
50% 1

🖪↷PROJECT FILES: gdquest.com/tutorial/godot/2d...
▶︎ GODOT 4 COURSES: school.gdquest.com/godot-4-ea...
Preorder Below Launch Price for a Limited Time Only.
🎓 FREE APP to Learn GDScript From Zero: www.gdquest.com
🎮 FREE INTERACTIVE TOUR - The Godot Editor - www.gdquest.com/tutorial/godo...
🗨 GDQUEST DISCORD COMMUNITY: / discord
------------------------
🖈 CHAPTERS
------------------------
0:00:00 About Roguelite Shoot'em ups/Survivor-likes and Godot
0:01:11 Find the Easter Eggs!!
0:02:05 Word of Advice
0:02:37 Download & Set up the Project
0:04:06 Quick Tour of the Editor
0:05:05 Create the Character
0:10:45 Add Movement to the Character
0:32:55 Create a Game Scene and Add the Character
0:34:01 Add Game Environment and Collisions
0:46:10 Add Mobs that Follow the Player
0:59:20 Make the View Follow the Player
1:04:04 Give a Weapon to the Character
1:08:08 Make the Gun Detect Aim at Enemies
1:14:58 Add Projectiles to the Weapon
1:24:45 Make the Bullets Damage the Enemy
1:28:05 Set up Shooting Mechanics
1:36:47 Add Health and Hurt Animations to Mobs
1:42:38 Add Health Management to Player
1:56:24 Randomly Spawn Mobs
2:06:00 Add Game Over Screen
2:12:17 Congratulations - Add up the Hidden Coupons
--------------------------------
CC-BY 4.0 LICENSE
--------------------------------
Video: creativecommons.org/licenses/...
Attribute To: "CC-By 4.0 - GDQuest and contributors - www.gdquest.com/"
Demo assets: CC by 4.0- "CC-By 4.0 - GDQuest and contributors - www.gdquest.com/"
Demo code: MIT - "Copyright 2023 GDQuest" + MIT license text from opensource.org/license/mit/
#gamedev #godot #tutorial

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

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 959   
@seanolson6958
@seanolson6958 6 месяцев назад
For anyone else that encounters mobs sticking to the player when they collide from above, be sure to disable all moving platform layers of the `CharacterBody2D` nodes. In the Inspector panel of the `CharacterBody2D` nodes for both the player and mob, expand `CharacterBody2D` > `Moving Platform` and disable all layers in `Floor Layers`.
@balas2cents
@balas2cents 6 месяцев назад
Thanks for this fix.
@Gdquest
@Gdquest 6 месяцев назад
@seanolson6958 Thanks for contributing and being around.
@miadietrich7347
@miadietrich7347 6 месяцев назад
This worked, thanks! What's the explanation for why this worked, though?
@Gdquest
@Gdquest 6 месяцев назад
What triggered this behavior is that by default, Godot 4 has calculations to detect moving platforms, for side-scrolling games. So if a character is on top of a moving platform, it'll move the character with the platform. In this case, when the slime walks above the Player Character, Godot thinks that the Player is a platform and the Slime is on top of it so it moves the Slime with the Player Character. Ideally, in Godot, the "Moving Platform" should not be on by default because it doesn't make much sense outside of platformers. Thanks @seanolson6958 for sharing the fix with everyone. I'll try to add a caption for it in the video.
@miadietrich7347
@miadietrich7347 6 месяцев назад
@@Gdquest This makes perfect sense, thank you for the explanation!
@PixelBladeStudios
@PixelBladeStudios 4 месяца назад
Finally a tutorial that covers the "why" and not just the "what". Well paced, clearly explained and properly sized to make it digestible. Thoroughly enjoyed making this Vampire Survivor. GDQuest is my go-to place for all things Godot!!
@Gdquest
@Gdquest 3 месяца назад
So rewarding to read that. Thank you.
@sameeryachouh9097
@sameeryachouh9097 3 месяца назад
@@Gdquest I second that! The explanations you gave for everything that we typed were awesome. It helps so much when you explain the syntax and the logic behind the programming!
@mikk.t.7824
@mikk.t.7824 3 месяца назад
"Science isnt about what, its about why." Quote i made inspired by Cave Johnson
@jonathanherring2113
@jonathanherring2113 8 дней назад
@@mikk.t.7824 Might be more accurate to say science is about "How" since "Why" usually involves moral or motivational questions which can't be answered from a purely Empiracle approach. Q: How did my house burn down? Science: "Because of a chemical reaction in genetically engineered fruit reached a temperature high enough to ignite the wood paneling of your house which provided ample fuel which combined with the airflow of the house provided oxygen allowing for combustion" Why did my house burn down? Reason: "Because you told Cave Johnson that sometimes life gives you lemons and he got angry and decided to use ridiculous methods to get back at you" Science is one of the disciplines and has limitations.
@kevinle6454
@kevinle6454 23 дня назад
I have seen a lot of comments regarding the fact that they are taking constant damage/losing health no matter what is happening, so I'm commenting here to help future people. Basically you have to change your player hurtbox collision mask to that of the collision layer of your slimes(a lot of people seem to have missed this part of the video 1:44:00). The reason why you were taking constant damage was probably because your player collision layer was set to 1 while your hurtbox collision mask was set to 1 by default, so your hurtbox will constantly detect the player and hence constantly damage you. Hope this was helpful
@diegoandradex12
@diegoandradex12 4 месяца назад
This was one of the best videos on the channel. Here are some questions about how we could improve the game, like Brotato style, I mean how we could start these: 1 - How to add a wave system? 2 - How to add upgrade items? 3 - How to make enemies drop coins to buy items? 4 - How to make trees breakable and drop items? 5 - How to make a home screen, with settings and character selection? 6 - Create character properties and update as items are picked up?
@natecooper01
@natecooper01 4 месяца назад
This was a tutorial, these are good follow on questions that I'm looking forward to learning more about as well. I'd add: 1 - How to add multiple enemy types and randomly spawn them 2 - How to add multiple items/weapons and randomly spawn them 3 - How to add item tiers, e.g., normal, rare, legendary
@real_rob251
@real_rob251 4 месяца назад
Will you cover these at some point?
@kaus05
@kaus05 4 месяца назад
​@@real_rob251 nah bro go ahead and find them on your own itll be more fun
@Deathzuki.
@Deathzuki. Месяц назад
yeah please do these things it will help a lot of people including me GDQuest!!
@Deathzuki.
@Deathzuki. Месяц назад
yeah please do these things it will help a lot of people including me GDQuest!!
@FilenameNULL415
@FilenameNULL415 6 месяцев назад
I really like the Godot Engine. This tutorial really helps for a lot of begginers. You're making a good job!
@Gdquest
@Gdquest 5 месяцев назад
So glad it works well :)
@BinaryBolias
@BinaryBolias 6 месяцев назад
A few notes, _generally pertaining to optimizing this project,_ based on my personal preference: *-* References to existing objects, such as _"HappyBoo"_ for the player character, can instead be done via an _@export_ variable to allow for greater versatility; if the node changes location in the scene tree, for instance _(even without a unique name),_ Godot will automatically update corresponding _@export_ variable entries. *(@export var happy_boo: Node2D)* This also makes changing the referenced object easy, and not require an update to the script. *-* Function calls pertaining to animation, such as the player character's, can be done from _func _process()_ rather than _func _physics_process()_ for efficiency, as the latter tends to be run more often, so purely visual effects would generally be better handled within _func _process()._ *-* It may be desirable to use a static variable for the enemy's reference to the player character, though I rather use a normal variable I named "target_node" _(instead of "player"),_ which I could change on a per-enemy basis to define arbitrary locations for each enemy to travel towards, which I can use to give enemies more interesting behavior. Enemies could, for instance, randomly decide to travel to nearby trees, or other nearby enemies, or could additionally have behavior for moving away from the target, and thus randomly travel away from a nearby enemy or tree instead. *-* _@export_ variables may be good to have for packed scenes as well, such as the gun's bullet scene. *(@export var bullet: PackedScene)* Godot will handle updating the scene reference when the file path is changed from within the Godot editor. *-* Instead of setting both the _global_position_ and _global_rotation_ of a newly spawned bullet individually, the _global_transform_ value (which includes rotation and position) can be copied from the gun to set _position_ and _rotation_ at the same time. *-* An excuse to introduce the functionality of _Path2D_ and _PathFollow2D_ is nice, but I prefer to use a bit of math and get a proper circular border to spawn enemies on. What I did was create a new "CreepSpawner" scene inheriting from _Node2D,_ and with a single _Timer_ child node to handle spawn timing. The _CreepSpawner_ has an export variable for what kind of enemy it spawns _(multiple enemy types could hypothetically just be done with multiple spawners),_ and another export variable for its desired spawn radius. When its timer elapses, it chooses a random angle with _randf_range(0.0, TAU),_ then turns that angle _(spawn_angle)_ into a position based on radius _(spawn_radius)_ with _Vector2(spawn_radius, 0.0).rotated(spawn_angle)._ I can then just have the _CreepSpawner_ be a child of the player character; a new enemy has its _global_position_ set to the spawner's _global_position_ plus the randomly chosen position. It might sound like a lot, but it's basically just two extra lines of code in the enemy spawning function, rather than dealing with any _Path2D_ node. Using a wide, rectangular path as shown in the video produces uneven spawns, as most of the path is angularly concentrated toward the top and bottom and corners; a square would be less bad, a regular hexagon less still, but a circle is perfect. Side-note: My function to choose an angle does happen to be minutely biased to the angle of 0, as TAU radians is equal to 0 radians, but it's impossible to observe in practice. *-* The "Motion Mode" of player character and enemies should be set to "Floating".
@Craulback
@Craulback 5 месяцев назад
Very helpful, thanks! Although func _physics_process is synced to the "physics ticks per second" you set in project settings (default 60), and func _process is run as fast as possible on every rendered frame.
@alejmc
@alejmc 5 месяцев назад
As a totally newcomer explorer to all things Godot, this post is amazing as it answers many questions I had. I was feeling very uneasy with too many ‘preload’ and ‘nodes’ string based lookups… as it seems that any change: the hierarchy or renaming the nodes would create problems right away. There was still that ‘has_method’ one though, will see about that later.r Don’t get me wrong, this tutorial has been great, I even like the Path2D idea as it gives artistic freedom to any designer to create crazy spawn paths if need be; but there are definitely so many things I would like to know more about… GDScript seems to work perfectly with the existing built-in functionality but will have to dive deeper into more custom tailor made things. Is it easy to make a pool that reuses bullets? Do we have to or in Godot is fine without them (as it’s reference counted)? Using a full IDE like Rider? Etc
@BinaryBolias
@BinaryBolias 5 месяцев назад
@@alejmc For a bullet pool, the bullet-firing weapon could be provided with its "pool" of bullets _(as child nodes)_ on startup, with each of these bullets able to be "active" or "inactive". Instead of instantiating a new bullet each time one is to be fired, the weapon would need to find one of its inactive bullets to activate and shoot, with each bullet merely deactivating itself instead of freeing itself from memory upon hit or age-death. Maybe the weapon could simply have an integer variable for which index value (of its child array) to be looking for an inactive bullet at, and increment this value by 1 whenever it sucessfully fires a bullet or notices the corresponding bullet at the index is already active. *Alternatively **_(likely a lot better),_* the fired bullets could send signals to their corresponding weapon when they deactivate, and the weapon could have an internal array of unfired bullets. _The signal sent would include a reference to the bullet node itself._ In this case, the gun would fire the last element of this array _(removing from and adding to end or arrays is most optimal),_ thus activating the bullet and removing it from the array, and any bullet which sends its deactivation signal to the weapon gets added back to the end of the array. The weapon can thus only fire if the size of this "inventory" (or "bullet clip/magazine") array is nonzero. This system minimizes the instantiation and deletion of objects, which could be quite nice for performance, but it _of course_ introduces stricter limitations on how many bullets can be active at once. I think such limitations could be an elegant aspect of design, especially if incorporated diagetically, such as, _in this case,_ with a gun which isn't resupplied from external sources, but rather has limited ammunition which (magically?) travels back to the gun after having been fired, or perhaps instead a magic staff which must continuously provide energy to all active projectiles, and thus has a limit to the quantity of them which are simultaneously active. Otherwise, Godot seems to have nice garbage management systems. Anything inheriting from _RefCounted_ is automatically cleaned up when no longer referenced, and the _queue_free()_ function is generally a good option for nodes and such. *The online documentation with extra information and tutorials can be found at docs.godotengine.org* Bonus idea: Enemies with enemy spawners as children. Maybe enemies can create _(temporary)_ paths as they walk, which additional enemies may spawn from.
@alejmc
@alejmc 5 месяцев назад
@@BinaryBolias that’s quite a complete take on pools! Thanks! Could call for a generic pool management, maybe even Godot internal for all things pooling. In a full production environment I think I would go for enemies, bullets, VFX, etc to be as such.
@Gdquest
@Gdquest 5 месяцев назад
I hope you stick around. Some of the choices made in the tutorial were deliberately aimed at simplifying the cognitive load but many of your observations lend themselves to an excellent second iteration. Thanks for posting them.
@yeiskelcisneros2298
@yeiskelcisneros2298 6 месяцев назад
This was such a great start in game development. I was looking for an updated tutorial and a Vampire Survivor style project was an amazing idea. Thanks!
@kosotoru2321
@kosotoru2321 6 месяцев назад
This is huge, I picked up Godot a few days ago and watched a bit of a different tutorial but never actually made any progress because of how overwhelmed I felt. Today I decided to give it another chance and you guys upload this. Thanks!
@ItsUnderMotion
@ItsUnderMotion 6 месяцев назад
I just subscribed yesterday after going through your Godot 2021 series for a few days and successfully making the Dodge the Creeps game, and this is the first new video I see on my feed. Best surprise ever! Thank you for making Godot so accessible to aspiring game devs!
@Toon_Pirate
@Toon_Pirate 4 месяца назад
Truly one of the best tutorials I've ever followed. I usually give up after 30 minutes due to bad or confusing directions and getting stuck, but I had no problem following along with this one all the way through. And I'm really happy with the results that's given me a good foundation to build upon!
@HistoryUnveiled310
@HistoryUnveiled310 6 месяцев назад
Thank you so much for this amazing video. Was waiting for a Godot 4.0 tutorial for so long. Great job by you guys and Nathan especially.
@KnochenMarkSaege
@KnochenMarkSaege 5 месяцев назад
This is one of the best tutorials for development I've ever seen. Thank you so much for all your content & the app to get started with GDScript. Also, explaining all these shortcuts when you need them is a blessing on it's own. It feels so intuitive to use the Godot engine :D
@-Kailinn-
@-Kailinn- 6 месяцев назад
You did a great job making this really engaging, I didn't intend to get through so much since I go back to work tomorrow after a 2 week break. I started and the time went so fast I didn't realise I was close to done already. Thank you.
@potinhuu
@potinhuu 6 месяцев назад
This is the best tutorial that i've seen so far. even moderate devs can learn much on this one ! this is GOLD. i'll share with every dev i see
@arnaudmulton3161
@arnaudmulton3161 Месяц назад
There are many godot tutorials on youtube and how-tos but none so finely detailed and as clear as yours, you got a new subscriber. Very high quality video
@awfyboy
@awfyboy 6 месяцев назад
The use of path2d to spawn mobs was very smart! Great tutorial. I've been using Godot for 3 years and have even finished a game, and yet I've learned a lot of new techniques from this video.
@Gdquest
@Gdquest 6 месяцев назад
That's really very nice to read. It's exactly the balance I was hoping for the tutorial between being accessibile to beginners but still useful to experienced devs. Thanks a lot.
@felipecorrea6472
@felipecorrea6472 6 месяцев назад
I started learning Godot this week and a vampire survivor like was first little project I wanted to do, I searched for a tutorial literally the day before yesterday, thank you guys
@persononyoutube3000
@persononyoutube3000 6 месяцев назад
This is really great. As a programmer that's used Unity casually in the past, I've taken a few half-hearted stabs at Godot in the past and never really understood the "scenes and nodes" paradigm. A hands-on project format like this really helped. Now I feel like I have a pretty solid foundation of Godot and can continue on from here. Thanks for this.
@dingus4138
@dingus4138 6 месяцев назад
What crazy timing, I just picked up Godot a few days ago and have been building a VS like game and was running into some issues and then this video gets released today! Looking forward to going through this, thanks!
@crazyspaces91
@crazyspaces91 3 дня назад
I'm only 30 minutes in, and I have to say this tutorial is excellent. The second you bring up something where I'd like more context or something explained a bit more in-depth, the very next breath is you doing exactly that. Bravo, sir. You have taken the teacher role seriously and passed with flying colors.
@xelonix_
@xelonix_ 6 месяцев назад
Great job as always! I will be learning this during the holidays!
@miadietrich7347
@miadietrich7347 6 месяцев назад
I went from launching Godot for the first time to completing this tutorial in just a few hours! This is really exciting, and so much more accessible than my attempts with Unity. I also found all the easter eggs, what a clever way to earn discounts. I applied them all, and have preordered the courses for next year. :) It's clear you're all very passionate about how to teach in the most effective ways. I'm really impressed, and looking forward to the rest of this journey. Thank you!
@Gdquest
@Gdquest 6 месяцев назад
Thanks a lot for taking the time to write this. It's a refreshing coffee break in the middle of burning the midnight oil.
@CaptainDouchie
@CaptainDouchie 6 месяцев назад
whats the easter eggs if u dont mind sharing xD, im trying to purchase the course as a gift for my friend who will be studying game dev next year
@forestgames03
@forestgames03 5 месяцев назад
​@@CaptainDouchie he asked not to share it + to watch the video if you want it
@Gdquest
@Gdquest 5 месяцев назад
Thank you for respecting that :) The intention is not to prevent anyone from getting the coupons. It's to encourage everyone to compete the tutorial.
@Xonides
@Xonides 5 месяцев назад
@@Gdquest I can assure you that folks like myself will watch it twice simply because we missed the coupons. I didn't realize until over halfway through the video that the whistling was supposed to be a cue to look for the code. I thought it was my roommate trying to distract me or an ad on one of my other windows.
@carlmeyer96
@carlmeyer96 2 месяца назад
This is such a great tutorial. Thank you so much! As someone that does programming full time this hits the sweet spot between explaining enough learn godot but not spending too much time explaining the basics. I have really enjoyed following along and looking forward to expanding the project using my own sprites!
@speedylom1170
@speedylom1170 4 месяца назад
This is an amazing tutorial! I learnt a lot of ways to do things simply via existing Godot systems that I just didn't know were there. Thank you so much for taking the time to create this 😁
@BonnieMallet
@BonnieMallet 6 месяцев назад
Just want to confirm this is a great tutorial and worth the time. It is split up into sensible chunks, so you don't need to watch the whole thing in one go and can easily go back and review. The author is obviously experienced at teaching and I felt there was has high empathy toward the student (compared to some other tutorials out there). It can be daunting learning a new complex UI with a plethora of options, but GDQuest does a really great job of making sure you understand what he is doing and why. So all in all... Great tutorial! I agree with the others, definitely something fun you can do on a lazy Sunday afternoon! Super fun! Thanks GDQuest! Great job... PS: I also had to do two runs of the vids! I missed the 'Easter Eggs' on the first run because they pop up real fast and I was poking around in Godot! So pay close attention! There is a little 'whistle' when they pop, so if you hear one of those - make sure you are looking at the tutorial, not you Godot editor!
@stevenrivera6464
@stevenrivera6464 5 месяцев назад
I'm glad I'm not the only one this has happened to! I've counted 3 coupons, is that right?
@BonnieMallet
@BonnieMallet 5 месяцев назад
@@stevenrivera6464 - I had to go look at my notes... but it looks like there are 4. At least that appears the case when I did it.
@stevenrivera6464
@stevenrivera6464 5 месяцев назад
@@BonnieMallet - ah, thanks for that!
@aydnsafi2054
@aydnsafi2054 2 месяца назад
what are those coupons? for discount?
@BonnieMallet
@BonnieMallet 2 месяца назад
@@aydnsafi2054 - -It was, however I think they no longer apply. I believe they have expired and are no longer valid.- Edit: Looks like I was wrong! See below. Maybe is the best option is to just collect 'em and have a go! Still worth looking at the tutorial though! It is a corker.
@hithisisandreas
@hithisisandreas 6 месяцев назад
Wow, this was super fun and really empowering! I can't wait to apply this to a solo project! Thanks GDQuest! ❤
@Gdquest
@Gdquest 6 месяцев назад
Thanks a lot for writing this. I hope you showcase your project in the Discord server. It's always nice to see where gamdevs start and what they end up making over time.
@Snoows-bu4oi
@Snoows-bu4oi 4 месяца назад
The more time passes, the more I love Godot. My first little game! Really great, thanks again and keep it up, your channel is awesome !!!!
@supjay3945
@supjay3945 3 месяца назад
This tutorial is the most friendly to follow I have attempted. I was able to follow along without issues as far as instructions. I paused it a few times to input the codes and I did not finish in one sitting, but was able to pick up without issues. I have seen videos that jump around too quick or move there mouse too sudden. Thankyou
@kazabon_
@kazabon_ 5 месяцев назад
I want to thank you and the team for all the time and effort you put into these videos and content, it feels so goo to create the first project on the journey of Game Development! Rivers of Gratitude
@Gdquest
@Gdquest 5 месяцев назад
Thank you for writing. It feels nicer to work knowing people enjoy what we make.
@betadyne9559
@betadyne9559 6 месяцев назад
Such a good job you guys are doing ! It's been almost a year since I started thanks to the similar video you released in Godot 3.5 that really helped me make things click ! I reached a level now where I think I should be the one doing tutorials on some advanced code structures !
@Gdquest
@Gdquest 6 месяцев назад
So heartwarming to read that!
@paidexGames
@paidexGames 6 месяцев назад
Thank you for the video. I'm very excited to start the courses
@alexmcgreal836
@alexmcgreal836 6 месяцев назад
This was so helpful, only just started out with Gadot and I have been watching some scripting tutorials, so this really helped bring it all together. Thank you so much for doing a tutorial where you actually explain the script, this really helps a beginner like myself and makes it so much easier to grasp a fundamental understaning of not only what I am doing, but why, something many other tutorials do not do. Many thanks!! 😁👍
@kalgorian
@kalgorian 5 месяцев назад
Thy for the Video. I'm 50 plus and just started to learn this kind of stuff. Great tutorial for beginners. Looking forward fore more.
@Gdquest
@Gdquest 5 месяцев назад
Awesome! I hope you have a lot of fun with making your own projects. You're welcome to join our Discord server and share whatever you make. Some people are extremely helpful with feedback and sharing what they learn. You can find the invite in the description.
@Lansamatv
@Lansamatv 6 месяцев назад
Please continue uploading tutorials like this, also board games like billiards and chess and implement multiplayer in the games, thank you very much ❤
@Gdquest
@Gdquest 6 месяцев назад
Thanks for the suggestions :)
@ratboyboyrat
@ratboyboyrat 4 месяца назад
Very good tutorial, thank you! Keep up the high quality content.
@drpainnuk3d
@drpainnuk3d 6 месяцев назад
Awesome stuff man! Great vid as always! Looking forward to the course :)
@Gdquest
@Gdquest 5 месяцев назад
Thanks a lot for the kind comment :) :)
@WesCrockettCA
@WesCrockettCA 4 месяца назад
Was able to follow this tutorial really easily. Even added in tree-spawning directionally (so they spawn randomly but only in the direction I am currently moving). I plan to customize it too, to show spawn counts and kill counts as well as have the gun follow the mouse rather than getting the nearest mob. I think doing simple customizations like this will really help understand the logic. The only area I got tripped up with was collision layers/masks. I missed the step to set the hitbox collision layer and it took me a while to figure that one out.
@Gdquest
@Gdquest 4 месяца назад
Thanks for highlighting exactly where you had an issue! This allowed me to go back and watch the editing there and think about the recording and how to improve it.
@WesCrockettCA
@WesCrockettCA 4 месяца назад
​@@Gdquestfor sure! I think a little demo showing what happens if you have the wrong layers set. In my issue, my PLAYER was set to the wrong layer and it caused damage to itself. When I had damage set to 500 I would insta-die on load.
@Gdquest
@Gdquest 4 месяца назад
That's really great info! Thanks a bunch.
@rockyhitcha9604
@rockyhitcha9604 6 месяцев назад
1:31:44 Hi, I noticed a small tweak that might help. Try swapping these two lines of code: %ShootingPoint.add_child(new_bullet) new_bullet.global_position = %ShootingPoint.global_position This should give us the effect we’re looking for. Keep up the great work!
@kristianlovealot
@kristianlovealot 5 месяцев назад
I had an error here ... Found out my mistake was that I wrote "$ShootingPoint" instead of "%ShootingPoint"... silly me...
@six5618
@six5618 5 месяцев назад
Thanks man this was driving me crazy! I was wondering why my bullets kept spawning away from the gun.
@GameFolklore
@GameFolklore 4 месяца назад
@@kristianlovealot Found out my mistake was that I wrote "%shootingPoint" instead of "%shootingPoint"... silly me...
@samuilzaychev9636
@samuilzaychev9636 3 месяца назад
@@GameFolklore Thats the same thing though. If you were talking about his reply in the first one a "$" is used instead of a "%"
@shado905
@shado905 2 месяца назад
I had no idea why the bullets werent working. Thanks!
@drgapinski
@drgapinski 2 месяца назад
Finally got around to working through this tutorial and it was great and easy to understand. I look forward to more in the future!
@Grafii2198
@Grafii2198 2 месяца назад
Honestly this tutorial sparked my interest in making games, and it was really fun making it in godot, I tried many tutorials in the past for various engines but this is the one that clicked with me! Thank you so much for making it! Are you planning on making a part 2 for it? With more in depth mechanics like, stats, waves, perhaps even maps and most importantly levels and items. I think it is essential for these kinds of games and having a guide on how to do that would provide so much knowledge for creating so many things and not just the ones for the purpose of this project!
@DrunkenLeaf
@DrunkenLeaf 6 месяцев назад
I had no idea that the access as unique name was a thing. that's killer for onready variables so I don't have to worry about re assigning the node path every time I reorganize my node tree.
@MrEnvisioner
@MrEnvisioner 6 месяцев назад
You can also export statically typed node variables to likewise get a node regardless of path. Pro: it works in any scene. Con: you have to assign the path in the Inspector ahead of time. Example: `@export var my_sprite: Sprite2D`.
@diruthewinner
@diruthewinner 6 месяцев назад
I use POP os too and I only know one youtuber that uses linux for game development - GDquest!
@LoranBriggs
@LoranBriggs 6 месяцев назад
Well done! Glad I watched this video first when trying out Godot.
@---bl3sr
@---bl3sr 4 месяца назад
For a long time i've been wanting to learn godot and it seemed so daunting but this was a lot of fun! Thank you so much
@Mahti77
@Mahti77 6 месяцев назад
This is nice, but how is this "From Zero" if you have pre-build tscn-files to import? ;)
@ariton2990
@ariton2990 6 месяцев назад
True though. Might be an unpopular opinion but I hate when people do that in tutorials.
@Gdquest
@Gdquest 6 месяцев назад
It's about learning from zero. We provide learn gdscript from zero, for people who have never coded before, Godot tour 101 to introduce the editor, and then they can jump on to this, effectively allowing them to start learning from zero.
@ColinBroderickMaths
@ColinBroderickMaths 2 месяца назад
"From zero" "Here is a ready made project" Come on.
@cyborne0_0
@cyborne0_0 2 дня назад
The only thing he really did is animations and some basic character code, which you can probably learn somewhere else, this video was more about writing the code, and making the actual layout of the game from premade assets
@Jell0yee
@Jell0yee 2 месяца назад
This is the best godot tutorial I’ve seen! I like that it shows what to do and why to do it and sadly lots of other tutorials don’t do this
@zonca07
@zonca07 6 месяцев назад
Excellent as always! Keep it up!
@Zyppeh
@Zyppeh 2 месяца назад
My toxic trait is thinking I can actually do this
@yeahitsmesofkinwhat
@yeahitsmesofkinwhat 4 месяца назад
It kind of bothers me that you said "You should know at least a little bit of coding" then go on to explain what a zip file is and how to unpack it. Those two things are diametrically opposed. If you added in a corollary that this part is for beginners, or a timestamp to skip this part, I'd have less of a gripe.
@Gdquest
@Gdquest 4 месяца назад
We provide a free course to learn code from zero in the video. We just don't want to slow down the video by having to introduce every code concept. Overall it's designed to be very accessible.
@parkerpierce8931
@parkerpierce8931 5 месяцев назад
Fantastic experience getting through this, learned a LOT!
@Mack_the_Knife
@Mack_the_Knife 4 месяца назад
I was accumulating all of this info over days through forums and small tutorials and here everything is compact in one video. Guess i still learned some more but this would have been great 😅 Thanks for the great vid!
@arioche
@arioche 3 месяца назад
one of the best tutorials I have ever seen in YT. thank you.
@Haddedam
@Haddedam 3 месяца назад
This is a great tutorial and absolutely on a proffessional level compared to other amateur efforts. I finally understand what does what and why. And it manages to do the harder thing: not over explaining.
@infinite2692
@infinite2692 5 месяцев назад
Mission accomplished! Looking forward to advance now, thank you!
@siamemex1555
@siamemex1555 4 месяца назад
Thanks for the tutorial. Total beginner and I found it really clear and helpful. Brilliant.
@jordantangco9187
@jordantangco9187 3 месяца назад
Absoutely incredible tutorial. I was getting super frustrated with Godot, but this has really helped me out!!
@WiLDbEAsTGameSHere
@WiLDbEAsTGameSHere 6 месяцев назад
I was trying to learn how to make a game in godot 3d i learned shader gpuparticals 3d and how to make a basic first person controller and a few more essential parts of godot 3d in 4.2 . I wanted to go back and learn a little bit of 2d before going forward . You are a life saver . Thankyou gdquest ❤
@roger166
@roger166 2 месяца назад
I love you so much,getting into godot has been easier thand expected with this goated tutorial
@bladzium1098
@bladzium1098 5 месяцев назад
This tutorial is one that everyone should do! Amazing work
@paulbergel9191
@paulbergel9191 6 месяцев назад
absolutely loved the tutorial -- thank you!
@AlonElishkov
@AlonElishkov 5 месяцев назад
Thanks for the great tutorial. Really effective jump start for newbs, zero errors or bugs and very clear.
@roe__jogan
@roe__jogan 6 месяцев назад
This is really excellent. You're a great teacher! Strongly considering sighing up for the online courses.
@Gdquest
@Gdquest 6 месяцев назад
Thank you for the kind words. I'm happy you enjoyed the tutorial!
@MrDinoc
@MrDinoc 3 месяца назад
what a well presented tutorial. i feel so confident after watching this.
@asmitsaxena5387
@asmitsaxena5387 3 месяца назад
I just wanted to say , that , I've completed very short (just adding trees in the scene and before) and the tutorial is so well explained , it carries developer tips to quickly improve , and makes coding easy too , I had never found any tutorial that good , If you want to learn godot , It is highly recommended
@TheThescroll
@TheThescroll 3 месяца назад
This was intuitive and easy to follow, I'm very impressed with the quality of the tutorial! Thank you for putting this together, this has inspired me to give Godot a shot!
@Gdquest
@Gdquest 3 месяца назад
Very happy to hear that! Thank you for your feedback :)
@JuanYusteDelValle
@JuanYusteDelValle 6 месяцев назад
This is fantastic. Thank you so much! When will you guys release the character animation vid? Really looking forward to checking that one out
@blackcitadel37
@blackcitadel37 6 месяцев назад
Very cool. I want to build a vertical shmup with Godot instead of a roguelike but the knowledge presented here will be quite useful for both projects.
@sashetha9548
@sashetha9548 3 месяца назад
Exceptionally explained and easy to follow! Already thinking about some simple features I could try to implement from another tutorial. All in all, feel like I learned a lot in a very short period of time.
@Gdquest
@Gdquest 3 месяца назад
Thanks a lot for the feedback :)
@thiagoknot
@thiagoknot Месяц назад
Man, this tutorial is incredible, thank you so much
@ishanj2021
@ishanj2021 6 месяцев назад
Thanks for the tutorial! It'll be really helpful.
@wizard_under_the_hill
@wizard_under_the_hill 6 месяцев назад
Fantasic tutorial, loved it!
@Bahuuba
@Bahuuba Месяц назад
Amazing tutorial! Had so much fun with it and I'm amazed at the end product! I added a little extra by importing the sprite of the pistol in the gun's code, so that I can flip it depending on where the target enemy is. Looks more natural and it was a fun challenge to figure out on my own :)
@DeviantPlot
@DeviantPlot 6 месяцев назад
excellently done, Nathan! quite the upgrade from the oldie Dodge the Creeps tut :) this should go into the official docs and replace the previous one on the Getting Started section there.
@Gdquest
@Gdquest 5 месяцев назад
Thank you! I'm glad you liked it. We'd have to take GDQuest's name out if it were to go into the Godot Docs. That would prevent us from making a living and continuing to push content out.
@sumgue4964
@sumgue4964 2 месяца назад
Awesome tutorial, it was a lot of fun and you are damned good at explaining everything, I never got lost. Subbed and bell'd.
@FunnyVideos-ni4iu
@FunnyVideos-ni4iu 5 месяцев назад
very good teaching style! liked and subbed
@arnaud3184
@arnaud3184 6 месяцев назад
Congratulation! Great learning material for beginner to experts wanting to learn Godot!
@Gdquest
@Gdquest 5 месяцев назад
Merci ! Happy to read that.
@kaustubhgupta168
@kaustubhgupta168 6 месяцев назад
Thank you so much for the tutorial!!!
@watdatu876
@watdatu876 Месяц назад
I'm going back to Godot development (started with Godot 3) and this is such an great Godot 4 tutorial. Even though I'm using C# in following this tutorial, the great explanation/tips in this tutorial and improved Godot 4 C# docs really helped me in my journey back to game development using Godot. Thanks!
@TheOnlyDigitalNova
@TheOnlyDigitalNova 6 месяцев назад
Ive been waiting for this thanks for making it a reality!
@TheOnlyDigitalNova
@TheOnlyDigitalNova 4 месяца назад
less go gdquest liked my comment
@aFriendlyPest
@aFriendlyPest 6 месяцев назад
Thank you for this. I completed your free starter coding program and now this tutorial. I feel like most of the lessons I find make me feel a sense of hopelessness and frustration. Your lessons are thorough enough that I generally find success and learn something with every action, even if I don't remember 50%. Maybe someday I will look back on this comment from a position of a successful developer and smile. IDK. Thank you
@Gdquest
@Gdquest 6 месяцев назад
Thank you for writing this. Please keep going and don't give up. Most roadblocks to understanding are a matter of finding the right explanation for you. I think of it as a long term treasure hunt or quest 😉 where you keep track of the areas that are still fuzzy for you and you flag them as subjects for which you're still looking for an explanation that works for you.
@Amitg2112
@Amitg2112 2 месяца назад
Bhai u really rocked the game making.. Really very appreciable approach of teaching game making.. I'm ur fan now just by watching hardly 2 min video
@betonassu
@betonassu 3 месяца назад
Amazing tutorial! Thanks a lot for that :D
@esshahn
@esshahn 5 месяцев назад
Amazing tutorial, thank you so much!
@Gupatik
@Gupatik 4 месяца назад
The first time, I entred, watched the first 36s then subscribed to make sure I don't miss this golden content here!!
@guyug6940
@guyug6940 6 месяцев назад
Perfect timing! about to try this!
@guyug6940
@guyug6940 6 месяцев назад
leaving off on 1:39:40
@MrInsanityInBlack
@MrInsanityInBlack 6 месяцев назад
Absolutely Loved It!
@squanistthepixelartguy
@squanistthepixelartguy 3 месяца назад
Very helpful. I want to learn Godot, and am planning to watch one of this kind of code-along video while doing it, then make something original using what I learned, and repeat. Seams to be an effective way to learn so far.
@Saurus990
@Saurus990 5 месяцев назад
This was a very good tutorial, definitely gonna check out your courses.
@Gdquest
@Gdquest 5 месяцев назад
Thank you for this feedback! :) It gives us a boost while working on coursework.
@sidraptor
@sidraptor 4 месяца назад
Thank you so much! Great tutorial!
@gamedev4988
@gamedev4988 6 месяцев назад
Damn, perfect timing too =)) I planned to do this kind of game first and had no idea whether it have a tutorial or not. Maybe I don't have to search for that anymore!
@HighnessCuts
@HighnessCuts 4 месяца назад
Completed this Tutorial. ❤ Thankyou
@pastpresence8173
@pastpresence8173 5 месяцев назад
Rougelites are one of my favourite game genres and I'm happy to be able to actually create one! I've had a lot of trouble dropping projects halfway because of complexity and being overwhelmed, so thank you lots for the simple and easy-to-follow tutorial! Can't wait to learn more ^^
@Gdquest
@Gdquest 5 месяцев назад
Very glad to read that! I hope you keep going. :)
@goldenwattle7863
@goldenwattle7863 5 месяцев назад
@@Gdquest does this code work in godot 4.2?
@cranklin5773
@cranklin5773 4 месяца назад
For anyone having problems at 1 51 53. Go to your bullet script change your variable direction equals vector two from "RIGHT" to "UP" helped me allot
@stepankondaurov5615
@stepankondaurov5615 2 месяца назад
Really helps, thanks a lot, you rock !
@TJatBF
@TJatBF 2 месяца назад
Great tutorial - really insightful. My top troubleshooting tips for anyone that's struggling are: - Check your spelling! And, - When Ctrl-dragging and dropping, check your paths match those on the tutorial! (I lost an hour looking for info on preloading when it was simply that the path hadn't copied in full)
@blattymeow
@blattymeow 2 месяца назад
Thank you for this tutorial, absolutely wonderful start to create my own simple 2D game! :)
@11nephilim
@11nephilim Месяц назад
Gotta say this is an *excellent* tutorial, I've been looking for more after finishing the Brackeys ones but kept running into "beginner" ones that failed to explain the "why" of things enough to really build an understanding of what's going on. After watching this though a lot of things started making a ton of sense! I managed to make a basic lil addition to the script that flips the gun sprite so it's not upside down when it goes to the left of the character! It might be a simple change but it adds some polish and it's the first new "feature" I've figured out how to code by myself! Gonna see if I can figure out how to implement more new stuff tomorrow... maybe a wave system? Should be fairly easy to check if all the mobs are dead and then set a timer until a new wave begins, and then increase the mob spawn rate each wave.
@KorpahNl_Dutch_Gamer
@KorpahNl_Dutch_Gamer Месяц назад
Thanks for this video and the assets. Was able to implement the muzzle flash and the impact as well. next up, random spawning terrein and an kill counter! And checking out your site!
@RTW590
@RTW590 Месяц назад
Very easy to follow and very useful. Thank you!!!
Далее
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
Просмотров 482 тыс.
HOW DID SHE WIN??
00:49
Просмотров 15 млн
How to make a Video Game - Godot Beginner Tutorial
1:17:12
Why Do Video Game Studios Avoid Blender?
6:49
Просмотров 347 тыс.
Who makes the best Godot Tutorial
4:49
Просмотров 5 тыс.
Can I Remake Super Mario World in Godot? (Part 1)
18:44
We made Vampire Survivors BUT in 10 Lines of Code
7:08
INSANELY Smooth pixel ATTACK Animation Tutorial
18:54
Просмотров 529 тыс.
How to Code (almost) Any Feature
9:48
Просмотров 660 тыс.
I Made the Same Game in 8 Engines
12:34
Просмотров 3,9 млн
Winning My First Ever Game Jam? | Godot Devlog
10:25
Просмотров 283 тыс.