Тёмный

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

jmbiv
Подписаться 10 тыс.
Просмотров 71 тыс.
50% 1

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/...

Хобби

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

 

2 май 2020

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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.
@lizemarievermeulen5277
@lizemarievermeulen5277 4 года назад
Awesome video thanks bro :) Well articulated. Amped to see more.
@jmbiv_dev
@jmbiv_dev 4 года назад
Thank you!
@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 👊
@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!
@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!
@tejasvaij8112
@tejasvaij8112 3 года назад
This is the best godot tutorial series on RU-vid!!!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!
@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!
@xs4pp714
@xs4pp714 4 года назад
Good Job! Bro.
@jmbiv_dev
@jmbiv_dev 4 года назад
Thanks, appreciate it!
@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 👊
@vatan2578
@vatan2578 4 года назад
Thank you very much for your educational sharing. I wish you Health and Success.
@jmbiv_dev
@jmbiv_dev 4 года назад
Thank you!
@muyuatogames8175
@muyuatogames8175 4 года назад
Great!
@jmbiv_dev
@jmbiv_dev 4 года назад
Thanks for watching!
@juriappo354
@juriappo354 Год назад
Thanks for the help and tutorial. If I come to a good place in the future, I will definitely talk about you.
@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.
@melkstal1
@melkstal1 4 года назад
thank you for being amazing
@jmbiv_dev
@jmbiv_dev 4 года назад
Thanks for watching and the kind words!
@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.
@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!
@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.
@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! 😂
@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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-q5YXZZ8LjLo.html
@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
@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 🙂
@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 🙂
Далее
Minecraft Pizza Mods
00:18
Просмотров 1,5 млн
Did We Just Change Animation Forever?
23:02
Просмотров 3,3 млн
Creating SMART enemies from scratch! | Devlog
5:40
Просмотров 287 тыс.
We made Vampire Survivors BUT in 10 Lines of Code
7:08
Technique for Creating Beautiful Level Design
11:48
Просмотров 832 тыс.
Make Your Own Raycaster Part 1
16:52
Просмотров 407 тыс.
How I Got Hired as a Character Artist For Games
20:52
Просмотров 482 тыс.
If You Can't Make Games After This Video, Give Up
4:37
Tiny motor, big power
0:25
Просмотров 39 млн
Il n'a pas aimé la technique 😂 #firefighter
0:13