Тёмный

Drag & Drop Inventory Using Resources In Under 25 minutes || Part 1 Godot 4.2 

Coding Quests
Подписаться 15 тыс.
Просмотров 7 тыс.
50% 1

Check out Zenva's Godot courses including their new Godot Open World learning pathway:
academy.zenva.com/cart/?add-t...
The first 50 of you will get 20% off
www.codingquests.com
Join my Discord if want: / discord
Check out my twitch: / codingquests
Check out my Site: www.codingquests.com
Check out my Patreon and support me: / codingquests
Check out my STEAM: store.steampowered.com/search...
2ND Channel: / @podquests
Check out My Udemy Courses: www.udemy.com/user/omar-zaki-55

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

 

16 янв 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@CodingQuests
@CodingQuests 5 месяцев назад
Check out Zenva's Godot courses including their new Godot Open World learning pathway: academy.zenva.com/cart/?add-to-cart=1319205&coupon_code=partner-codingquests-2024&RU-vid& The first 50 of you will get 20% off
@403gtfo
@403gtfo 5 месяцев назад
(Ignore last comment... I was doing it backwards derp)
@alexi2706
@alexi2706 4 месяца назад
You should add a preview of how the end result will look, feel, work...
@Dotdot0
@Dotdot0 5 месяцев назад
Thank you so much your videos have always helped me a lot!!
@noloveforu
@noloveforu Месяц назад
One of the best follow through video!
@grzegorzpedrycz2630
@grzegorzpedrycz2630 3 месяца назад
Such a great piece of knowledge ! thanks :)
@FilenameNULL415
@FilenameNULL415 5 месяцев назад
Pretty useful for adventure game
@MichaelHeuterkes
@MichaelHeuterkes 2 месяца назад
Thanks. This tutorial saved me a lot of time.
@CodingQuests
@CodingQuests 2 месяца назад
Great to hear!
@marcosmachado6844
@marcosmachado6844 5 месяцев назад
Great video, amazing content as always. I found out that there's not much good material out there like your's. I was wondering if you could you make a video on Custom Tile Data, how to use it and some of it's applications?
@gabrielchabot5315
@gabrielchabot5315 5 месяцев назад
Hello, thanks for the video. Yes, I'd like see an equipment section.
@andrewgrinn3435
@andrewgrinn3435 5 месяцев назад
Thank you
@ybra
@ybra 4 месяца назад
This is very helpful, thanks! I could follow along as someone who is totally new at this and I got it working. But I think it could have been nice with some more explanation of what you where trying to do with some of the steps. Especially at the end with the drag and drop thing, it got pretty complicated and I'm not sure what each part is doing.
@CodingQuests
@CodingQuests 4 месяца назад
yes you can!
@FillanEngram
@FillanEngram Месяц назад
I'd love to see the equipment section and maybe an hotbar section :D
@zymen33
@zymen33 5 месяцев назад
Awesome! I have a little question slash request, maybe. Could you please make a tutorial on pixel snap camera? Like, camera for pixel perfect games? That'd help a TON. I'm sure there are a lot of people struggling with that.
@CodingQuests
@CodingQuests 5 месяцев назад
I'm not really sure what you mean by pixel perfect, maybe you can join the discord and ask there in more details
@zymen33
@zymen33 5 месяцев назад
alright
@KarlSimonOscarFrisk
@KarlSimonOscarFrisk 3 месяца назад
This is a wonderful tutorial, thank you! I'm having problems with Godot crashing when an item goes from the main inventory -> any other enum slot -> back into the same Main inventory slot. Works fine if it gets put into any other main slot except then one it just came from. Error: Invalid get index 'type' (on base: 'Nil'). Its so frustratingly close to working, lmao.
@olmrgreen1904
@olmrgreen1904 5 месяцев назад
nice
@redshepard5306
@redshepard5306 4 месяца назад
still new at this, could you explain the syntax with the % signs at 17:37? i get what the function is for but how does it work?
@CodingQuests
@CodingQuests 4 месяца назад
It's like get node, but finds anything in that scene with the name
@mudinlange
@mudinlange 4 месяца назад
hey, nice tutorial! do you know how can I make a "stack" property using resources? I was doing something similar with my inventory UI, made a system to track the item stack inside of it, but as my items are all resources, when I update the "arrow.stack" it updates all arrow.stack of the game...
@CodingQuests
@CodingQuests 4 месяца назад
you would use an int as a counter for the "stack"
@reesensix9755
@reesensix9755 3 месяца назад
Thank you very much
@ShogunYotsimitsu
@ShogunYotsimitsu 3 месяца назад
Hello, i watched your hours long video on how to make a 2d game tutorial and i am well on my way on making my own 3d game, i just wanted to ask if you could make a video on how to interact with items in 3d , inspect them( rotate them etc) and equip them (for example a gun), and also add them to inventory. Thanks!!!
@CodingQuests
@CodingQuests 3 месяца назад
the logic is pretty similar to 2d, aside from rotating which would be slightly difference but still not too difficult. I generally take video requests in my server as its easier to have back and forth for video ideas.
@fevryslea
@fevryslea Месяц назад
if you wanted to make it that if you dragged the item outside the inventory UI it would clear the slot. How would you do that?
@CodingQuests
@CodingQuests Месяц назад
youd have to change a lot of the logic, specifically for the candropdata function
@catlifeplus2231
@catlifeplus2231 14 дней назад
at 12:33, when I press play. I get an error "Cannot call method "add_child" on null value."
@WalkerRileyMC
@WalkerRileyMC Месяц назад
how about an option to remove items from the inventory?
@CodingQuests
@CodingQuests Месяц назад
You'd have to create that yourself 😉
@ybra
@ybra 4 месяца назад
I'm seeing a bug in this. When I drag an item, the preview appears for a split second at the left edge of the screen before it is center to the cursor. You can see it happening in your video too at 24:15. Any idea how to fix that?
@alec_raphael
@alec_raphael 3 месяца назад
I'm getting the same issue - did you ever find a fix?
@rolandegidiusimon7768
@rolandegidiusimon7768 Месяц назад
same issue here
@sunlessllama6969
@sunlessllama6969 15 дней назад
me three lol
@jamesconwell2767
@jamesconwell2767 14 дней назад
Anyway to get a subregion of the texture2d using this method
@jamesconwell2767
@jamesconwell2767 7 дней назад
Found it, you need to use an atlas texture then set a sub region from there
@KillerAuzzie
@KillerAuzzie 5 месяцев назад
Hey man loving your godot content also your discord link might be expired?
@CodingQuests
@CodingQuests 5 месяцев назад
its not
@718Outdoors
@718Outdoors 4 месяца назад
12:16 getting error (GUI.gd) "Too few arguments for new() call, expecting 2, got 0:" func _ready(): for i in InvSize: var slot := InventorySlot.new() slot.init(ItemData.Type.MAIN, Vector2(64, 64)) $Inv.add_child(slot)
@CodingQuests
@CodingQuests 4 месяца назад
You might not have created the class properly
@718Outdoors
@718Outdoors 4 месяца назад
That was it...extra underscore before init@@CodingQuests
Далее