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

  Рет қаралды 13,660

Coding Quests

Coding Quests

Күн бұрын

Пікірлер: 47
@CodingQuests
@CodingQuests 11 ай бұрын
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&KZbin& The first 50 of you will get 20% off
@403gtfo
@403gtfo 11 ай бұрын
(Ignore last comment... I was doing it backwards derp)
@MichaelHeuterkes
@MichaelHeuterkes 7 ай бұрын
Thanks. This tutorial saved me a lot of time.
@CodingQuests
@CodingQuests 7 ай бұрын
Great to hear!
@alexi2706
@alexi2706 10 ай бұрын
You should add a preview of how the end result will look, feel, work...
@Dotdot0
@Dotdot0 11 ай бұрын
Thank you so much your videos have always helped me a lot!!
@grzegorzpedrycz2630
@grzegorzpedrycz2630 9 ай бұрын
Such a great piece of knowledge ! thanks :)
@FilenameNULL415
@FilenameNULL415 11 ай бұрын
Pretty useful for adventure game
@ybra
@ybra 10 ай бұрын
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 10 ай бұрын
yes you can!
@noloveforu
@noloveforu 7 ай бұрын
One of the best follow through video!
@marcosmachado6844
@marcosmachado6844 11 ай бұрын
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 11 ай бұрын
Hello, thanks for the video. Yes, I'd like see an equipment section.
@redshepard5306
@redshepard5306 10 ай бұрын
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 10 ай бұрын
It's like get node, but finds anything in that scene with the name
@ybra
@ybra 10 ай бұрын
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 9 ай бұрын
I'm getting the same issue - did you ever find a fix?
@rolandegidiusimon7768
@rolandegidiusimon7768 7 ай бұрын
same issue here
@sunlessllama6969
@sunlessllama6969 6 ай бұрын
me three lol
@andrewgrinn3435
@andrewgrinn3435 11 ай бұрын
Thank you
@avivliberman2373
@avivliberman2373 2 ай бұрын
Where can I find part 2?
@FillanEngram
@FillanEngram 7 ай бұрын
I'd love to see the equipment section and maybe an hotbar section :D
@KarlSimonOscarFrisk
@KarlSimonOscarFrisk 9 ай бұрын
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.
@ShogunYotsimitsu
@ShogunYotsimitsu 9 ай бұрын
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 9 ай бұрын
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.
@darkhunter777
@darkhunter777 5 ай бұрын
gOod, but need more acceleration, center mass, braking distances 😁
@mudinlange
@mudinlange 10 ай бұрын
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 10 ай бұрын
you would use an int as a counter for the "stack"
@KillerAuzzie
@KillerAuzzie 11 ай бұрын
Hey man loving your godot content also your discord link might be expired?
@CodingQuests
@CodingQuests 11 ай бұрын
its not
@fevryslea
@fevryslea 6 ай бұрын
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 6 ай бұрын
youd have to change a lot of the logic, specifically for the candropdata function
@reesensix9755
@reesensix9755 9 ай бұрын
Thank you very much
@catlifeplus2231
@catlifeplus2231 6 ай бұрын
at 12:33, when I press play. I get an error "Cannot call method "add_child" on null value."
@BiFiGames
@BiFiGames 5 ай бұрын
me too :(
@ДимаЛысаченко-х9п
@ДимаЛысаченко-х9п 4 ай бұрын
Dirty program... Too
@olmrgreen1904
@olmrgreen1904 11 ай бұрын
nice
@jamesconwell2767
@jamesconwell2767 6 ай бұрын
Anyway to get a subregion of the texture2d using this method
@jamesconwell2767
@jamesconwell2767 5 ай бұрын
Found it, you need to use an atlas texture then set a sub region from there
@WalkerRileyMC
@WalkerRileyMC 7 ай бұрын
how about an option to remove items from the inventory?
@CodingQuests
@CodingQuests 7 ай бұрын
You'd have to create that yourself 😉
@VhnzSanches
@VhnzSanches 27 күн бұрын
11:11
@718Outdoors
@718Outdoors 10 ай бұрын
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 10 ай бұрын
You might not have created the class properly
@718Outdoors
@718Outdoors 10 ай бұрын
That was it...extra underscore before init@@CodingQuests
@jiro4559
@jiro4559 3 ай бұрын
@@718Outdoors Yes, calling that function init was a bad idea, it could've had another name, but I thought it was the same as _init, and it wasn't
Display 2D Objects In a 3D world Using Viewports NOT CanvasLayer
3:33
Godot Scripts I add to Every Game
12:34
Aarimous
Рет қаралды 56 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Smooth Drag N Drop: Godot Guide
9:28
Bramwell
Рет қаралды 50 М.
When to Use a Resource Over a Dictionary?
11:06
Coding Quests
Рет қаралды 10 М.
How Do Game Devs NOT Overscope??
9:04
Green Light Dev
Рет қаралды 10 М.
How To Create an Inventory System In Godot 4.2 In 20 minutes
23:43
Coding Quests
Рет қаралды 6 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 601 М.
Basic Inventory System [Part 1] - Godot 4.x
12:02
Bonkahe
Рет қаралды 6 М.
Godot 4 - RPG Inventory System From Scratch
1:17:35
DevLogLogan
Рет қаралды 141 М.
Godot 4 - Tiled Dungeon Environment From Scratch
26:24
DevLogLogan
Рет қаралды 446 М.