Godot Top-down Shooter Tutorial - Part 1 (Intro and Project Setup)

  Рет қаралды 70,830

jmbiv

jmbiv

4 жыл бұрын

This is part 1 of a tutorial series for how to create a top-down shooter in the Godot engine. In this video you'll learn how to create a project in Godot and how to create a basic player character with a sprite and collision shape.
👋 Join the community Discord: / discord
☕️. If you find the content I make helpful, please consider supporting the channel: www.buymeacoffee.com/jmbiv
→ SERIES DESCRIPTION
In the How to Make a Top-down Shooter tutorial series, we're walking through how to make a 2D top-down shooter in Godot. We'll go over how to setup the project, create a player character that can move and attack, add enemies, handle pathfinding, add AI, and create capturable bases. We'll be using Godot 3.2.
Find the whole playlist here: • How to make a Top-down...
Find the source code here: github.com/josephmbustamante/...
→ ASSETS
Top-down Shooter Asset Pack from Kenney: kenney.nl/assets/topdown-shooter
License: CC0 1.0 Universal (creativecommons.org/publicdom...)
🖥 MY GEAR*
LG UltraGear 27" QHD (Monitor): amzn.to/39eODOo
Samson G-Track Pro (Mic): amzn.to/3nyjbzQ
Samson 38" Mic Boom: amzn.to/35KtpXV
Samson SP04 Shockmount: amzn.to/3qbyobw
Pop Filter: amzn.to/3ozpXqn
Anker Q20 Headphones: amzn.to/3sfRfEc
MacBook Pro (2017, 15"): amzn.to/3hZgJkL
Magic Trackpad: amzn.to/39qomNk
CalDigit TS3 USB-C Dock: amzn.to/3q0frZw
WASD V2 87-Key Keyboard
* These are Amazon Affiliate links, so I may earn a commission if you use them to make a purchase. Thanks for supporting the channel!
🎵 MUSIC
"BETTER DAYS" by LAKEY INSPIRED
www.ChillOutMedia.com / www.LoFi-HipHop.com
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0)
creativecommons.org/licenses/...

Пікірлер: 79
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Hey everyone! We now have a community discord you can join to discuss this tutorial or to ask any question you have along the way: discord.gg/e4BxZbe
@orionburch5860
@orionburch5860 7 ай бұрын
Just wanted to say I'm really enjoying this tutorial series. Its my favorite one I've tried so far.
@millbitchell
@millbitchell 4 жыл бұрын
This is great. Looking forward to watch the series.
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks for watching!
@onedevnoarmy1592
@onedevnoarmy1592 4 жыл бұрын
Great series, man! Thank you for it.
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
No problem, glad it's been helpful! Thanks for watching.
@ghostlyblaze7793
@ghostlyblaze7793 5 ай бұрын
Commenting for any future newbies out there. When I was watching ep. 2, the rotation part stumped me (looking at mouse). Make sure you align your character with it's own scene if that makes sense. Notice at 12:30, he aligns the sprite on that axis crosshair. That looks like the origin point for all scenes. I didn't realize this and had my character offset more bottom right and therefore, rotation was funky lol. You don't have to have the scene origin on that axis crosshair, you just have to make sure your character & scene are aligned with one another. Was stumped for 20 min 'till i made this realization (google couldn't help me lol) so don't be like me.
@jaxonables
@jaxonables 4 жыл бұрын
Your content is amazing for a beginner like me, you deserve way more views than you get, I thought you would have been a bigger youtuber and looked at your sub count and was like holy shit, seriously, keep up the good work.
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks so much for saying that, it means a lot! Hopefully the channel will get there one day 🤞 but in the meantime super glad that this has been helpful for you. Thanks for the support!
@jzentan5044
@jzentan5044 3 жыл бұрын
Nice series, I like how you explain everything you do and the reason behind it!
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
Thanks, glad that you're finding the videos helpful!
@ottawadigs
@ottawadigs 4 жыл бұрын
just discovered your tutorials and subbed. amazing work!
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks for the sub and for watching! Glad you're finding them helpful 👊
@lizemarievermeulen5277
@lizemarievermeulen5277 4 жыл бұрын
Awesome video thanks bro :) Well articulated. Amped to see more.
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thank you!
@tejasvaij8112
@tejasvaij8112 3 жыл бұрын
This is the best godot tutorial series on KZbin!!!Make more such series
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
Thanks, so glad you like it! Will do 🙂
@sherlock_homie
@sherlock_homie 3 жыл бұрын
Amazing tutorial!Thanks so much!
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
Thanks, appreciate the kind words and glad it was helpful!
@sebkolind
@sebkolind 2 жыл бұрын
Your content is absolutely amazing. Thank you so much.
@jmbiv_dev
@jmbiv_dev 2 жыл бұрын
No problem, so glad to hear that it's been helpful for you!
@ottomortadela8040
@ottomortadela8040 4 жыл бұрын
great work!
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thank you!
@patrickmessina8129
@patrickmessina8129 4 жыл бұрын
Fantastic videos. Thank you.
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Glad to hear you liked them!
@Onox4
@Onox4 2 жыл бұрын
Thanks a lot for this tutorial ! 👍 A suggestion I’ve seen in another tutorial : on your Player node, you can click the button “Makes sure the object’s children are not selectable” to the right of the lock button in the top bar (just under the tabs). This prevents you from accidentally dragging the Sprite and CollisionShape2D without moving the KinematicBody2D itself
@jmbiv_dev
@jmbiv_dev 2 жыл бұрын
This is a great suggestion, thanks for posting it! I tend to not select things via the scene view (usually the scene tree instead), so I always forget about that option, but it's a really helpful one to use.
@amirvelasquez7874
@amirvelasquez7874 4 жыл бұрын
thanks bro, I ama begginer in godot ,but with your videos I`m learning really fast!!
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks for watching, glad that they're helpful! You'll be a pro in no time 👊
@juriappo354
@juriappo354 Жыл бұрын
Thanks for the help and tutorial. If I come to a good place in the future, I will definitely talk about you.
@xs4pp714
@xs4pp714 4 жыл бұрын
Good Job! Bro.
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks, appreciate it!
@melkstal1
@melkstal1 4 жыл бұрын
thank you for being amazing
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks for watching and the kind words!
@muyuatogames8175
@muyuatogames8175 4 жыл бұрын
Great!
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks for watching!
@ailius1520
@ailius1520 3 жыл бұрын
This is the exact tutorial needed for that 'second step' for when the programmers have already done the basic tutorials.
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
That's what I was going for! Glad you enjoyed it.
@zeldyyy
@zeldyyy 3 жыл бұрын
Insta sub! Thanks for the beginner-friendly content
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
Thanks for the support! Glad it’s been helpful!
@vatan2578
@vatan2578 4 жыл бұрын
Thank you very much for your educational sharing. I wish you Health and Success.
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thank you!
@plskyuwu
@plskyuwu 4 жыл бұрын
Nice, finally tutorial for top down shooter. This is awesome!
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks, so glad you like it!
@HappyBlite
@HappyBlite 7 ай бұрын
your voice is like butter, you should do voice acting my guy
@zephyr7
@zephyr7 4 жыл бұрын
+1
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Thanks for watching!
@ottomortadela8040
@ottomortadela8040 4 жыл бұрын
In the sprite properties for our character, we can check off the "centered" checkbox under Offset. You move the player instead, is there any difference between centered/not-centered?
@jmbiv_dev
@jmbiv_dev 4 жыл бұрын
Hitting the "centered" button causes the origin of your sprite to be the center instead of the top-left, which is the default origin. You would see a difference if you were rotating your sprite, for example, but because we do all of our movement and rotating on the player itself (the kinematic body), rather than the sprite, we don't need to check it. I'm assuming you're talking about when I move the player into the screen around 15:18, so correct me if I'm wrong, but in that case "centered" doesn't actually put the player in the center of the screen, so we had to move it down a bit so we could see it. Hope that answers your question!
@ottomortadela8040
@ottomortadela8040 4 жыл бұрын
@@jmbiv_dev Yes I was talking about around 15:18 and this is a great answer, thank you!
@realdanielpeach
@realdanielpeach 3 жыл бұрын
He’s using Godot :) He’s a software dev focused on architecture! :):) He’s on a Mac!? :):):):)
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
The holy trifecta! 😂
@CoryPelizzari
@CoryPelizzari Жыл бұрын
I've been stuck in the twilight of not being able to even complete a top down movement script because I'm constantly seeing others do it in different ways, which leads me to ask why. Then I get conflicting answers over what's the best practice and then I find myself here, literally 2 months into learning game development and I haven't made a single movement script because I'm afraid of scripting something that's not optimized. Then the keywords start to fade from memory and I feel like I know less than before, then I get depressed. Having a mental illness doesn't help either. Let's just say I'm having very acute difficulty with learning how to program a game and it's getting me down.
@pokemonXD1
@pokemonXD1 Жыл бұрын
unless you're making a AAA game on a game console, you don't need to worry about optimizing. Just make something that works and do a little bit of optimizing/cleanup after you've got that bit of code going. The next time you make something similar, you'll already have an idea of how you like/dislike doing things and can then further refine your decisions or just try different way for fun. Just keep making stuff and getting good at googling the stuff you forget. Hardly anyone keeps a copy of the manual in their head.
@absolutecoffee9570
@absolutecoffee9570 11 ай бұрын
4:07 is when its starts
@johndoe35717
@johndoe35717 Жыл бұрын
when i try to drag the pixels out to use the player it always gets chunks of the other characters
@jmbiv_dev
@jmbiv_dev Жыл бұрын
That might be because you imported the art pack with filter enabled - try clicking on the art pack in your file explorer in Godot, then clicking the "Import" tab where your scene tree is, and disabling "Filter" and then reimporting. If that doesn't work, try changing your grid size when you are dragging out the selection box to 1px by 1px!
@TheRealKaiProton
@TheRealKaiProton 2 жыл бұрын
any windows users out there, you can use F5 to run the game, or F6 to run the current scene.
@jmbiv_dev
@jmbiv_dev 2 жыл бұрын
Thanks for posting that, I'm sure others will find it helpful! As a shameless self-promotion, I have a video on some of the most helpful keyboard shortcuts on Mac + Windows in Godot, if you/others are interested: kzbin.info/www/bejne/p2a8iY2QbbGdgtE
@TheRealKaiProton
@TheRealKaiProton 2 жыл бұрын
@@jmbiv_dev Im interested in that, for the likes of unity, Ive seen "cheat sheets" made up to have common, or useful shortcut keys, but never one for godot - yet
@boerbol9422
@boerbol9422 Жыл бұрын
For anyone wondering: this series is really worth your time and you will learn a ton! @jmbiv: Thank you so much for creating this series!
@jmbiv_dev
@jmbiv_dev Жыл бұрын
Appreciate the kind words 🙂
@amiralighaforeyanrad885
@amiralighaforeyanrad885 2 жыл бұрын
what is void in player movement
@jmbiv_dev
@jmbiv_dev 2 жыл бұрын
Not sure I understand - is this an error you’re getting in your game?
@amiralighaforeyanrad885
@amiralighaforeyanrad885 2 жыл бұрын
@@jmbiv_dev hi sorry it was little thing i did worng i rewatched the vid and found it
@toadyproductions2106
@toadyproductions2106 3 жыл бұрын
does this work for 3.3
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
Yep! 3.3 is totally compatible with 3.2 projects/code
@toadyproductions2106
@toadyproductions2106 3 жыл бұрын
@@jmbiv_dev Okay thanks!
@justash123
@justash123 2 жыл бұрын
it is f5 to run the game in windows.. nice tutorial thou
@jmbiv_dev
@jmbiv_dev 2 жыл бұрын
Thanks for posting that! Been awhile since I've cracked open my Windows 😎
@anarchy3508
@anarchy3508 3 жыл бұрын
lets hope this works if it does you shalt get a subscrib
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
ha, thanks, hope it's what you're looking for!
@WhiteWilma
@WhiteWilma Жыл бұрын
have not even watched it and i know its not gonna work for me it never does
@jmbiv_dev
@jmbiv_dev Жыл бұрын
I bet it will! Give it a try. If you're struggling with Godot, you should also give GDQuest's "Learn to Code From Zero with Godot" a try (here: gdquest.github.io/learn-gdscript/)
@sahanfernando4414
@sahanfernando4414 3 жыл бұрын
my names joe.. joe mama... ...
@jmbiv_dev
@jmbiv_dev 3 жыл бұрын
Somehow I'm only just seeing this, a couple months later, but... good one I guess haha.
@johndoe35717
@johndoe35717 Жыл бұрын
i had to restart completely cuz you are bad at tutorials
@jmbiv_dev
@jmbiv_dev Жыл бұрын
If you have any concrete feedback to offer that would help make these videos better, I would be happy to hear it 🙂
Creating Epic Sword Animations with Scratch Cat | Devlog
8:20
griffpatch
Рет қаралды 522 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 30 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 50 МЛН
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 22 МЛН
Creating SMART enemies from scratch! | Devlog
5:40
Challacade
Рет қаралды 282 М.
We made Vampire Survivors BUT in 10 Lines of Code
7:08
PlayWithFurcifer
Рет қаралды 1 МЛН
How Games Make VFX (Demonstrated in Godot 4)
5:46
PlayWithFurcifer
Рет қаралды 320 М.
How I made an Excellent Platformer
8:25
GoldenEvolution
Рет қаралды 259 М.
How to program in Godot - GDScript Tutorial
58:10
Brackeys
Рет қаралды 439 М.
Top Down 2D Shooting in Godot
18:33
Code with Tom
Рет қаралды 82 М.
Programming portals for my DOOM-style FPS
17:15
jdh
Рет қаралды 204 М.
I went through ALL Unreal Engine Plugins, here is what I found
36:35
10 Minute Pixel Sprite TUTORIAL for COMPLETE BEGINNERS
10:18
Eli Cuaycong
Рет қаралды 255 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
0:31
火影忍者一家
Рет қаралды 47 МЛН
elini ver elini tutarım #funny #baby #cute #cutebaby #shortvideo #keşfet
0:19
Милая мебель для котов
0:27
🌀 Вирусные видео
Рет қаралды 1,7 МЛН
Chúa ơi - Hãy thử cái này #automobile #funny #shorts
0:12
hoang quach
Рет қаралды 28 МЛН
Порезал бассейн, краш тест
0:32
ЗВЕРЬЕ
Рет қаралды 1,7 МЛН