How to Create a INVENTORY in Godot 4 (step by step)

  Рет қаралды 46,745

DevWorm

DevWorm

7 ай бұрын

This video is a step by step process to creating an excellent well working inventory system in Godot 4, I spent a long time trying to figure out the best way to create the most functional and efficient inventory system in Godot, and after a lot of research I’ve decide this is the best possible way in my opinion so I wanted to share and make a tutorial on the step by step process of how to create it and wanted to teach you how to implement this inventory system for your own Godot game.
Link to Part 2 of the Inventory Tutorial: • How to Create a INVENT...
Link to Series Art: devworm.itch.io/survival-game...
Link to Complete Survival Series Playlist: • How to Make Survival G...
Thank you so much for watching, if this video helped then please hit the subscribe button and drop a like on this video so you can help me get this tutorial in front of more aspiring game developers, so they can learn to create their own Godot games as well. Stay Safe and have a wonderful rest of your day!
- took inspiration from other youtube tutorials on the topic and combined ideas to try and explain this 2 part inventory tutorial series in the best possible way.

Пікірлер: 176
@dev-worm
@dev-worm 7 ай бұрын
Link to Part 2 of Inventory Tutorial: kzbin.info/www/bejne/nKq1lIVseJp7aMk This is Episode 4 of the Survival Series. Complete Survival Series Playlist: kzbin.info/aero/PL3cGrGHvkwn2NOT1LSwf5d2XZmlc5Bjsn Hope this series helps!
@magni319
@magni319 10 күн бұрын
Perfect. This is EXACTLY what I needed, step by step, no bloat.
@dev-worm
@dev-worm 10 күн бұрын
so happy to hear! thanks!
@origenydestino13
@origenydestino13 2 ай бұрын
Yet again you cover something very "basic" for a functional game and you provide with tools to create a quick inventory system that feels so satisfying to test in your own project. I will also admit one thing, which is the fact that even your mistakes were important because they helped me search and identify the mistakes myself, which helps improving your understanding of the code. Again thanks a lot for all this, really appreciated!
@dev-worm
@dev-worm 2 ай бұрын
thank you so much for that! I am so glad everything came out perfect and was able to help you understand and learn! searching for the mistakes is so important but so annoying at the same time lol!! thanks! and if you ever need anything at all then please let me know!
@iky1157
@iky1157 6 ай бұрын
video quality stunned me into commenting. incredibly clean and concise. you knew what we wanted when we searched for a tutorial like this and delivered perfectly. not much like this around these days, keep it up
@GenTink
@GenTink 6 ай бұрын
Your tutorials make everything so simple and straight forward, which is exactly what I need when I'm starting out. Maybe there are "better" ways to do things, but if I can't understand why it's better I'm not learning, so this is perfect.
@zoeandrews7422
@zoeandrews7422 7 ай бұрын
Hey there! I’ve been watching your videos for a while now. You’re a REALLY great teacher and deserve so much more subscribers. I also really appreciate when you make little mistakes or hiccups. Sometimes with new devs, we don’t know that it’s okay to make mistakes or how to debug, so seeing you make little mistakes and work towards solving it is really helpful and wholesome to see. Really much looking forward to more videos. Hope you’re not overworking yourself, just wanna say I genuinely appreciate your channel and work
@drewalmonds6219
@drewalmonds6219 7 ай бұрын
Thank you. I have watched many videos on Godot Resources and this was the first one that really made it all click for me. The work flow simplifies so many things that I have been frustrated with while working on my game.
@dev-worm
@dev-worm 7 ай бұрын
so glad to hear!!
@darrenbostock6645
@darrenbostock6645 7 ай бұрын
just came across your channel, 5 stars. you break things down nicely for us coming over to Godot.
@4g4m3n0n
@4g4m3n0n Ай бұрын
Excellent! Very detailed, not too fast and not too slow. Subscribed right away!
@dev-worm
@dev-worm Ай бұрын
so great to hear! thanks! if you ever need anything then please let me know!
@sonny5497
@sonny5497 7 ай бұрын
Just what I needed! Thanks a lot man you rock
@dev-worm
@dev-worm 7 ай бұрын
so glad to hear you found what you needed, and so glad that I was able to help!
@citysushicoochi5497
@citysushicoochi5497 10 күн бұрын
Your channel has been very helpful and has been a great stepping stone to my own project! Thank you!
@dev-worm
@dev-worm 10 күн бұрын
so happy to hear!! thank you so much!
@jasenlakic5033
@jasenlakic5033 7 ай бұрын
Very good explanations and practical solution, thanks! I can see it can be quite useful also in creating a strategy construction or unit recruitement menu UI.
@bloodcc5168
@bloodcc5168 Күн бұрын
thank you it is a really quick tutorial that save a lot of time
@Ocdib
@Ocdib 7 ай бұрын
YOU DROPPED THIS 👑
@Xiper0101
@Xiper0101 7 ай бұрын
Finally new video, I'm already waiting for the next!
@dev-worm
@dev-worm 7 ай бұрын
next one is coming very soon!!
@msilva1999
@msilva1999 2 ай бұрын
You explained this so well! Thank you for explaining everything in a simple way and not just rushing through the code
@dev-worm
@dev-worm 2 ай бұрын
so happy to hear! thank you! of course that my only goal.. to make understandable un-confusing tutorials!! so happy they come off that way, it means the world!! thank you @msilva1999 and if you ever need anything then please let me know!
@msilva1999
@msilva1999 2 ай бұрын
@@dev-worm thank you! 😊 I'll keep watching your videos to start making my first attempt at a game hehe Keep up the great work!
@user-bt2yu2iv2w
@user-bt2yu2iv2w 7 ай бұрын
Thank you for sticking with godot tutorials, it means a lot to junior developers like me! love from china
@dev-worm
@dev-worm 7 ай бұрын
of course!! So many more are on the way soon! I'm so glad Im able to help.. if you need anything then please let me know!
@jeremiahaemile2008
@jeremiahaemile2008 7 ай бұрын
Wow 😳from china
@user-bt2yu2iv2w
@user-bt2yu2iv2w 7 ай бұрын
Looking forward to it!@@dev-worm
@Antisa454
@Antisa454 3 ай бұрын
Awesome, helped me so much! Great video.
@dev-worm
@dev-worm 3 ай бұрын
awesome to hear!! thank you!!
@jeremiahaemile2008
@jeremiahaemile2008 7 ай бұрын
You are incredible teacher 😍
@dev-worm
@dev-worm 7 ай бұрын
Thanks!! it means the world to me!
@VentusArt
@VentusArt 5 ай бұрын
love you man you are the best!
@dev-worm
@dev-worm 5 ай бұрын
thanks that means the world! Glad I was able to help!
@ramonpablito9154
@ramonpablito9154 Ай бұрын
thanks for your tutorials brother they're great
@dev-worm
@dev-worm Ай бұрын
so happy to hear!! thank you so much!
@inyoke1241
@inyoke1241 7 ай бұрын
hopes to see the second part soon !
@dev-worm
@dev-worm 7 ай бұрын
coming very soon!
@AsarathaHSYT
@AsarathaHSYT 7 ай бұрын
Hey. Any chance you plan on going as far as making a hotbar where you can drag items onto? Inventory/Hotbar systems are where I am most stuck right now. I also have a spell book and plan on having those also draggable onto the hotbar, but I can probably figure that out myself when the rest is figured out lol
@N1thium
@N1thium Ай бұрын
Amazing tutorial series! I hope you can keep going! I rly would love to see add a craft system or something like that!
@dev-worm
@dev-worm Ай бұрын
crafting would be really cool!! I might start working on that!
@Dustifer
@Dustifer Ай бұрын
Omg he might do crafting, I need this (wanna make a game where you brew coffee, and crafting is kinda important for that)
@baonguyen4557
@baonguyen4557 4 ай бұрын
it works,thanks!!
@dev-worm
@dev-worm 4 ай бұрын
so glad to hear that!
@FleynSoft
@FleynSoft 7 ай бұрын
❤thx, great video
@dev-worm
@dev-worm 7 ай бұрын
x20 seems really fast lol!!
@allicayz9101
@allicayz9101 3 ай бұрын
Keep up the good work ❤
@dev-worm
@dev-worm 3 ай бұрын
thank you so much!
@user-yk9hd8dv8d
@user-yk9hd8dv8d 7 ай бұрын
Yay thanks thank you so much
@dev-worm
@dev-worm 7 ай бұрын
of cource anytime! If you need anything then please let me know!
@user-yk9hd8dv8d
@user-yk9hd8dv8d 7 ай бұрын
@@dev-wormcongratulations on 10k🎉
@jeremiahaemile2008
@jeremiahaemile2008 7 ай бұрын
Congratulations for 10k ❤❤in advance
@dev-worm
@dev-worm 7 ай бұрын
Thank you so much!! Jeremiah, I see you all the time in the comment section and I just wanted to thank you so much for putting the time and effort in to help me out! I smile all the time when I see your comments and It truly makes my day! All love to you brother, it means the world to me! Im wishing the best for you in everything you do! Have an amazing day!!
@jeremiahaemile2008
@jeremiahaemile2008 7 ай бұрын
@@dev-worm 😍😍
@robertschruffer9640
@robertschruffer9640 7 ай бұрын
Hello everyone, I'm from Germany and my English isn't that good, so I have a hard time understanding what you're saying, but I like to watch how you do it, it's great. One question, are the 2 videos with loading and saving the Idems? I just started with Godot, I'm 59 years old, so it's not easy. Best regards
@KeremLBJ
@KeremLBJ 7 ай бұрын
Great instructive videos! Can you also make a video on how to create different playable characters? (Like in brotato for example)
@AliceMadTeaParty
@AliceMadTeaParty 7 ай бұрын
thx man
@kristisnoobpw5767
@kristisnoobpw5767 7 ай бұрын
finally!!! a new video
@Zahardnik3
@Zahardnik3 4 ай бұрын
Thanks!
@dev-worm
@dev-worm 4 ай бұрын
you're an absolute legend! thank you so much!
@ashasonshine7050
@ashasonshine7050 7 ай бұрын
You are doing a good job. I like your stuff, but mine seems to have gone wrong and says I can't preload? Do you make troubleshooting videos?
@tomoyaokazaki2138
@tomoyaokazaki2138 Ай бұрын
The Inventory System Part 1 video works perfectly well for Godot 4.2 So far, the one and only video that I was having problems with was episode 1 for setting up the walking system for walking in all 8 directions. Besides that, the rest of the videos (including this video) worked perfect for me with Godot 4.2 :D Can't wait to finish the inventory system in Part 2!
@dev-worm
@dev-worm Ай бұрын
glad to hear!! sorry about the 8 directions system, I dont know what could be wrong! if you run into any issue is the next episodes then please let me know!
@tomoyaokazaki2138
@tomoyaokazaki2138 Ай бұрын
@@dev-worm after finishing Part 2, the inventory system itself works perfectly well. But I got visual issues such as Ysorting not working the way it’s supposed to work.
@ShahidZia-of1mk
@ShahidZia-of1mk Ай бұрын
Bro woke up and chose to make games.. Really appreciate you efforts
@dev-worm
@dev-worm Ай бұрын
haha thanks!! hope it helped!
@Mordkaleb
@Mordkaleb 14 күн бұрын
Great tutorial! You spoke a little bit quickly. I was able to follow you, but the video felt a little rushed as a result. Everything else was great! There was a clear through-line for the tutorial, and I liked seeing the errors, as that's how regular programming goes, you never get it perfect the first time. Very helpful for my own project, thanks!
@dev-worm
@dev-worm 14 күн бұрын
so glad to hear!! I am sorry it was a but quick! I will take that into consideration for future tutorials!
@antscologne2962
@antscologne2962 6 ай бұрын
As you already have a local variable like "is_open", you don't need further functions for opening and closing the inventory. This is how I did it (first part of the inventory creation): class_name InventoryUi extends Control # I think class_name should be before the extends var is_open = false func _ready(): visible = is_open # starting as false func _process(delta): if Input.is_action_just_pressed("inventory"): # I like names like "inventory" instead of "i" show_inv() func show_inv(): # no need for separate functions open() and close() - reducing bugs visible = !is_open is_open = visible Less lines of code is always better 😅
@Nezarus0
@Nezarus0 5 ай бұрын
Your suggestion is fine, but I can't get behind the 'less lines is better' line of thinking. More lines is better if it means your code is easy to understand in the future. Do not underestimate how much time you will sink looking at your own code on any larger project.
@antscologne2962
@antscologne2962 5 ай бұрын
@@Nezarus0 Sorry, I switched to "Ants Godot" (my new Godot channel) and haven't seen your comment earlier. You are right: short code might be too confusing. I meant the "keep it simple, stupid" (KISS) paradigma. Don't use additional variables if you already have the visibility that you can toggle, just as an examample. I also like code that you can read without comments and prefer: for line in text... rather than: for i in s🤣
@Betegfos
@Betegfos 5 ай бұрын
Nice one! Thanks a lot for this. How do you handle saving the game state including the list of items in the inventory?
@dev-worm
@dev-worm 5 ай бұрын
working on a save and load game data video right now.. going to try and upload it tomorrow!
@DrW1ne
@DrW1ne 7 ай бұрын
I watched it in x20, cool btw.
@alvarocordovapalomino885
@alvarocordovapalomino885 5 ай бұрын
Buen tuto
@annawetel956
@annawetel956 6 ай бұрын
to toggle inv visibility you can simply call a input function. inv.visible = !inv.visible
@SchildkroeteHundFisch
@SchildkroeteHundFisch 4 ай бұрын
Nice Videos! It‘d be really cool if you‘d build on this one in a regular one, where you make a hotbar…
@dev-worm
@dev-worm 4 ай бұрын
you could turn this into a hotbar view.. or create a different view of the same inventory into a hotbar
@SchildkroeteHundFisch
@SchildkroeteHundFisch 4 ай бұрын
@@dev-worm Oh Wow, thanks for responding, I’ll give things a try, although I‘m still pretty new, but I‘m learning… Edit: I made it work now, things weren’t really as hard as I thought it‘d be now, I‘ll continue your tutorials and try making items dragable. Thanks again
@718Outdoors
@718Outdoors 3 ай бұрын
I gotta say...I've "been around the block" in terms of seeking out clear tutorials...and I keep coming back to DevWorm (and I'm a fan of the mid-Atlantic accent...somewhere between Philly and Baltimore if I could venture a guess). Anyway, really great stuff here!
@dev-worm
@dev-worm 3 ай бұрын
ah man! means the world!! more south and in a bigger state... maybe you could guess now lol! But it means the world!! thanks so much and I hope you keep finding the content helpful!
@718Outdoors
@718Outdoors 3 ай бұрын
Do you have any resources for how to create the use of inventory items in a combat/NPC event...for instance, I have binoculars in my inventory that add +2 to the success of this NPC event?@@dev-worm
@718Outdoors
@718Outdoors 3 ай бұрын
...as far as guessing a state..I really had it pegged in the DelMarVa (Delaware/Maryland/Virginia) Peninsula...maybe venturing as far south as NC? Anyway, no need to tell me as online privacy is important.@@dev-worm
@HardCodes_
@HardCodes_ 4 ай бұрын
Thank you so much. For making such amazing tutorial. ❤ But had a question that This should work on godot 3.5 right?
@dev-worm
@dev-worm 4 ай бұрын
um. i don't think so, maybe if some things are changed but some of the functions used are in Godot 4 only. Thank you, sorry for this issue. I hope you are able to work around it.. if you are having issues then let me know and maybe ill beable to help!
@HardCodes_
@HardCodes_ 4 ай бұрын
@@dev-worm well I tested it and did not work as you shown but maybe if i see more other tutorials i could figure it out. 🙏💕Thank you
@ManaTrooo
@ManaTrooo 7 ай бұрын
13:42 if u do control d it duplicates the choosen slot :)
@As9419
@As9419 7 ай бұрын
maybe make a tutorial on the mechanics of point and click games like e.g. Cube Escape
@ManaTrooo
@ManaTrooo 7 ай бұрын
is it possible to store diffrent types in the array , i wanted to make diffrent classes for diffrent item types, like usable and consumable, now i just gave them a enum , but would prefer classes, could also not figure out how i cam use superclass and subclasses , so o can just put the superclass in the array but with the advantages of subclasses
@user-wu1fl2cc3n
@user-wu1fl2cc3n 7 ай бұрын
nice
@spacejamzyt6461
@spacejamzyt6461 3 ай бұрын
Is there a way to use higher resolution images? I am trying to add my own image but it's just way to big to fit in the slot, how would I scale this up so high res images can work.
@mylainedejean4951
@mylainedejean4951 2 ай бұрын
Hi, this system can be added for a character sheet (equipement, stat...) or this is another method for this? (sorry for my english is'nt my native langage.)
@HippocritterXD
@HippocritterXD 7 ай бұрын
HELL YEAH LETS GOOO!
@dev-worm
@dev-worm 7 ай бұрын
part 2 is coming tomorrow!! I hope the tutorials are able to help you out @HippocritterXD
@HippocritterXD
@HippocritterXD 7 ай бұрын
@@dev-worm most definitely, I get very excited when you upload a new episode. You are a great teacher
@stiergaming
@stiergaming 3 ай бұрын
The inventory slots keep overlapping when i instantiate my slots into the gridcontainer for my inventory background what do i do?
@JasonEllingsworth
@JasonEllingsworth 7 ай бұрын
OK so how about if an item is going to occupy multiple places in the grid with different sizes/shapes like Diablo?
@HippocritterXD
@HippocritterXD 7 ай бұрын
another great tutorial, but i have one problem i cant solve. When i start the game, my inventory is already showing and the apples wont show in the inventory. and i dont know what i missed. i rewatch the video a few times now. if someone can show me what i did wrong it would be a great help
@5b65ed7
@5b65ed7 4 ай бұрын
Could you please upload the inventory images? They have not been added to the description
@Your_Code_Steps
@Your_Code_Steps 3 ай бұрын
Hello I have a problom displaying the item can I please get the whole code to see where is my problem
@Ocdib
@Ocdib 7 ай бұрын
Quick question: Why did you add the panel @ 11:36, and then make its alpha value invisible, when you could just use a sprite without a panel behind it. I'd love to understand what panels do. Thanks!
@JasonEllingsworth
@JasonEllingsworth 7 ай бұрын
I am still very new to all of this, but in unity, UI elements were their own thing that interacted with each other, and maybe godot is like that where you need to use these green UI nodes so they play nicely together.
@blakefarnsworth
@blakefarnsworth 6 ай бұрын
At 23:10 instead of making a Center Container and Panel, couldn't you go to Offset and unselect Centered?
@Baker_clips
@Baker_clips 4 ай бұрын
É a mesma coisa para o 3d?
@Draconicgames207
@Draconicgames207 2 ай бұрын
where is the link to the textures? they arent in the description
@Gameharmony-ew4st
@Gameharmony-ew4st 6 ай бұрын
Will ut work on godot 3.5?
@DrW1ne
@DrW1ne 7 ай бұрын
Can u make melee fight aimations tutorial like mortal cmbat.
@dev-worm
@dev-worm 7 ай бұрын
ill look into it soon!
@DrW1ne
@DrW1ne 7 ай бұрын
@dev-worm I tried to make a mortal combat but with swords, and I'm stuck on detecting combo and playing the right animation with normal transition.
@the_oppa7v719
@the_oppa7v719 7 ай бұрын
YEEEEEEES
@LawlessNate
@LawlessNate 2 ай бұрын
8:25 why are you putting this under _process(delta):? Doesn't that make the game run this check every frame of the game? That seems like a needless waste of resources to have the game checking each frame to see if the inventory menu key is pressed instead of just making it a func _input(event): which doesn't react until the correspondingly scripted input is provided.
@dev-worm
@dev-worm 2 ай бұрын
yes you are correct! that would make a little bit more sense lol, sorry I shouldve caught that!
@luckylovely7782
@luckylovely7782 6 ай бұрын
i learn ue5 for 3d game, and godot for 2d game. godot is easy and friendly 🤣🤣. Thanks
@stealurwife2489
@stealurwife2489 6 ай бұрын
can you tell me why you added a panel to the slot? couldnt we just use a textureRect?
@rompevuevitos222
@rompevuevitos222 5 ай бұрын
Yes, it's down to preference Texture Rect is a tad more expensive to render, if anything.
@animeguidance2531
@animeguidance2531 7 ай бұрын
More tutorial 😊😊
@dev-worm
@dev-worm 7 ай бұрын
part 2 for the inventory is coming really really soon!
@animeguidance2531
@animeguidance2531 7 ай бұрын
​@@dev-wormLOOKING FOR TO IT😊
@katiescape
@katiescape 4 күн бұрын
Inventory time \o/
@dev-worm
@dev-worm 4 күн бұрын
goodluck!! if you need any help just let me know!
@StarlightDX
@StarlightDX 7 ай бұрын
By the way, Y sorting and the hud seem to not mix, the hud is going behind all the trees, I hope this gets fixed in the next video.
@Watfell
@Watfell 6 ай бұрын
21:42 I have problem that my apples won't show and I can't figure out what could cause the problem
@RXBeetle
@RXBeetle 5 ай бұрын
Same here, but I can't find any errors. Have you solved this yet?
@rsutrainferno
@rsutrainferno 5 ай бұрын
I managed to fix my issue, somehow i got the inventory and inventory item resources mixed up. Not sure if it was a godot issue because my apple was somehow made using the player inventory resource. I just remade my resources and it fixed the issue
@ssneakyandfriends1626
@ssneakyandfriends1626 2 ай бұрын
-hey, i'm making a game where the character rotated according to the mouse, anyway i can not have the UI rotate with the character.- Edit: turns out just throw a canvas layer on to the player character.
@dev-worm
@dev-worm 2 ай бұрын
glad you figured it out! happy to hear!
@AmongGhosts
@AmongGhosts 3 ай бұрын
I don't have the option to pick resource from the inheritance search when trying to add a script.
@dev-worm
@dev-worm 3 ай бұрын
Ive never seen that happen before.. thats weird.. sorry to hear that, did you try restarting the engine maybe?
@tylerstokes8698
@tylerstokes8698 3 ай бұрын
Rebooting the program/project fixed it for me. InvItem didn't show up before hand and now it does. Thanks! ​@@dev-worm
@gutierrezhernandezjorge2a874
@gutierrezhernandezjorge2a874 4 ай бұрын
Solo puedo decir algo, no entiendo que dice pero me puede dar una idea y espero me sirva
@shrippie-4214
@shrippie-4214 2 ай бұрын
Mistake I made while programming was naming the ready function "func ready()" lol I was like why is not being called
@prueee7856
@prueee7856 Ай бұрын
Bro, i searched for the same mistake for like 2h. Thank u sir!
@lycoon_
@lycoon_ 3 күн бұрын
Thank you, I was stuck 😭😭😭😭
@chal_the_chalk
@chal_the_chalk 5 ай бұрын
Does this work on godot 3? Cuz im too far gone to use godot 4 so uhh... Ye
@dev-worm
@dev-worm 5 ай бұрын
ah im sorry this doesnt work in Godot 4... inventorys in Godot 3 are gonna be a little more complex!
@ematics.
@ematics. 7 ай бұрын
i am getting this error (Export type can only be built-in, a resource, or an enum.) when i am trying to make inventory resource pls help :(
@dev-worm
@dev-worm 7 ай бұрын
save and then reload the godot program and see if that works.. sometimes I have to do that and it works.
@ematics.
@ematics. 7 ай бұрын
Thank you so much I will definitely try it 😀
@swampshack1018
@swampshack1018 3 ай бұрын
11:26
@aChannel13813
@aChannel13813 3 ай бұрын
6:13
@jeremiahaemile2008
@jeremiahaemile2008 7 ай бұрын
Bro i write chapters to video how to animated tiles in godot copy it and paste it in description and the video will chapter
@jeremiahaemile2008
@jeremiahaemile2008 7 ай бұрын
Chapters of video how to animated tiles in Godot Intro 0:00 Edit size screen 0:13 Making tilemap 1:03 The tutorial 2:05 Final look or the result 4:52 Outro 5:05
@DrW1ne
@DrW1ne 7 ай бұрын
I already watched the vid.
@user-yk9hd8dv8d
@user-yk9hd8dv8d 7 ай бұрын
How
@DrW1ne
@DrW1ne 7 ай бұрын
Time travel.@@user-yk9hd8dv8d
@MrBrew365
@MrBrew365 6 ай бұрын
Would anyone happen to be able to tell me what i missed that made the item_display go to the center when 0,0 transform was updated at 23.24, it goes to the 0,0 of the canvas
@MrBrew365
@MrBrew365 6 ай бұрын
Incase anyone else runs across this, i had the item_display under CenterContainer instead of Panel
@psevdonim_
@psevdonim_ 3 ай бұрын
18 51
@ali_gd_0161
@ali_gd_0161 6 ай бұрын
The way he says: "srot" instead of slot 😂
@dev-worm
@dev-worm 6 ай бұрын
do i actually say it like that??? lol
@jeremiahaemile2008
@jeremiahaemile2008 7 ай бұрын
Dev_worm you listen to news brackeys start to learn Godot and there's probality to make course for it Be careful there will be comptition😂😂
@StarlightDX
@StarlightDX 7 ай бұрын
seems it deleted my comment asking for help, assumed spam maybe? to reply to the first comment of mine, Invalid get index texture (on base: Nil). is the main red error
@StarlightDX
@StarlightDX 7 ай бұрын
I fixed the error les go
@ChukwudaluDumebi-Kachikwu
@ChukwudaluDumebi-Kachikwu 7 ай бұрын
How did you fix it?
@ChukwudaluDumebi-Kachikwu
@ChukwudaluDumebi-Kachikwu 7 ай бұрын
Nevermind I figured out the issue to mine. It was just I forgot to put the ‘!’ In “If !item:”
@StarlightDX
@StarlightDX 7 ай бұрын
@@ChukwudaluDumebi-Kachikwu \Yes that was how, sorry for late response
@PlatinumTales
@PlatinumTales 3 ай бұрын
@@ChukwudaluDumebi-Kachikwu holy crap, thank you, I've been digging over my code for almost 30 minutes trying to see where I went wrong.
@stravvman
@stravvman 5 ай бұрын
I dunno, kinda difficult. I don't see all the perks of using Godot for UI people are talking about.
@noizychamber5974
@noizychamber5974 5 ай бұрын
I come from unity all the way back then. And I must say it is more complicated than unity, but if you get used to the controls, it is even easier than shown in the video, at least in 4.0. but still not unity it is different, not in a bad way, just different. And after all it is open source.
@rompevuevitos222
@rompevuevitos222 5 ай бұрын
I mean, if you want to code your own UI, you are free to do so. Godot has a base Container class for that purpose
@phantomx.t.v6610
@phantomx.t.v6610 3 ай бұрын
Godot is kinda more difficult but I feel like once you get pass that part it becomes second nature you just gotta understand how the nodes work I’m still figuring it out but it’s fun learning along the way
@pe1ucas
@pe1ucas 3 ай бұрын
I just had to see a tutorial for unity to comprare... They're basically the same, so not sure what's difficult here.
@stravvman
@stravvman 3 ай бұрын
@@pe1ucas Well, they all difficult to me compared to Game Maker
@Chris-L878
@Chris-L878 2 ай бұрын
Hey, could someone help me? It's showing up with Parser Error: Could not find script "res://scene/world.tscn::G0Script_cdk0w" im unsure how to fix it 18:55
@destintonio4403
@destintonio4403 4 ай бұрын
Alright i'm wondering if anyone knows what is wrong, in the inv_UI_slot script i keep getting a error "Invalid set index 'visable' (on base: 'Sprite2D') with value of type 'bool'. my code: extends Panel @onready var item_visual: Sprite2D = $CenterContainer/Panel/item_display func update(item: InvItem): if !item: item_visual.visible = false else: item_visual.visable = true item_visual.texture = item.texture
@destintonio4403
@destintonio4403 4 ай бұрын
it was a typo lol i spelled visible visable
@gutierrezhernandezjorge2a874
@gutierrezhernandezjorge2a874 3 ай бұрын
I've been trying to find out for 3 weeks why this part doesn't work for me "func update_slots(): for i in range(min(inv.items.size(), slots.size())): slots[i].update(inv.items[i])" :v help
@dev-worm
@dev-worm 3 ай бұрын
are you getting any errors?
@gutierrezhernandezjorge2a874
@gutierrezhernandezjorge2a874 3 ай бұрын
@@dev-worm Yes, in that part of the code, when I hit it to start, it closes and then shows me some type of error in that part.
@LarsVilksIsAwesome
@LarsVilksIsAwesome Ай бұрын
I'm having issues preloading the playerinv.tres. It keeps giving me an error saying ''could not preload resource file ''res//inventory/playerinv.tres''. ive redone this step 3 times and it keeps resulting in the same error.
@JxguarShorts
@JxguarShorts 2 ай бұрын
@dev-worm Can you give me the code cuz im having some problems
How to Create a INVENTORY in Godot 4 (part 2)
22:11
DevWorm
Рет қаралды 16 М.
What are Resources? (Godot 4.0 Tutorial for Beginners)
15:27
The Polyglot Programmer
Рет қаралды 9 М.
They RUINED Everything! 😢
00:31
Carter Sharer
Рет қаралды 24 МЛН
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 393 М.
How much MONEY my Game made (and how much it cost!)
14:00
Code Monkey
Рет қаралды 156 М.
I Made My First Game in Godot in 3 Weeks...
26:21
Jack Sather
Рет қаралды 169 М.
How To Make A Game Alone
8:11
Thomas Brush
Рет қаралды 1 МЛН
Learning Unreal Engine in One Month to make a Game!
15:25
Will Hess
Рет қаралды 40 М.
Godot 4 - Tiled Dungeon Environment From Scratch
26:24
DevLogLogan
Рет қаралды 378 М.