Drag & Drop Inventory Using Resources In Under 25 minutes || Part 1 Godot 4.2
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
Пікірлер: 39
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&KZread& The first 50 of you will get 20% off
@403gtfo
4 ай бұрын
(Ignore last comment... I was doing it backwards derp)
You should add a preview of how the end result will look, feel, work...
Thank you so much your videos have always helped me a lot!!
Such a great piece of knowledge ! thanks :)
One of the best follow through video!
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?
Pretty useful for adventure game
Hello, thanks for the video. Yes, I'd like see an equipment section.
Thanks. This tutorial saved me a lot of time.
@CodingQuests
Ай бұрын
Great to hear!
Thank you
I'd love to see the equipment section and maybe an hotbar section :D
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
3 ай бұрын
yes you can!
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.
Thank you very much
nice
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
4 ай бұрын
I'm not really sure what you mean by pixel perfect, maybe you can join the discord and ask there in more details
@zymen33
4 ай бұрын
alright
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
3 ай бұрын
It's like get node, but finds anything in that scene with the name
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
2 ай бұрын
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.
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
3 ай бұрын
you would use an int as a counter for the "stack"
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
11 күн бұрын
youd have to change a lot of the logic, specifically for the candropdata function
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?
@Raphael2004.
3 ай бұрын
I'm getting the same issue - did you ever find a fix?
@rolandegidiusimon7768
17 күн бұрын
same issue here
Hey man loving your godot content also your discord link might be expired?
@CodingQuests
4 ай бұрын
its not
how about an option to remove items from the inventory?
@CodingQuests
29 күн бұрын
You'd have to create that yourself 😉
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
4 ай бұрын
You might not have created the class properly
@718Outdoors
4 ай бұрын
That was it...extra underscore before init@@CodingQuests