As I always say, people who do tutorials on the internet are gods among mortals. Especially if they are godot tutorials. . +1 sub.
@Gamedev001003 жыл бұрын
you know that coding is easier when watching your episodes, nice keep it up.
@Tam_Hawkins3 жыл бұрын
This time I strayed from your script a bit. I made it so that my Hotbar would change from inventory slots 0-9 to 10-19 and so on with scrolling the mouse wheel and then I made the number keys (not numpad) to switch between the hotbar slots. Way to many if/elif/else though, there is probably a way to make that slimmer. And at the end I made a mistake by applying the same system I have for scroling through the inventory slots with my hotbar to the active slot, forgeting that the active slot goes for the hotbar slots and not the inventory slots. Obviously once I scrolled my hotbar I did not see the active slot anymore. Not obvious for me though, i needed quit a bit of time before I realised that I overenginered my script^^. Thanks for the Tutorial.
@baconator23912 жыл бұрын
How did u fix it
@NocturnalMorning3 жыл бұрын
Thanks to you I have an inventory system almost completed for my game. Really awesome tutorials. I look forward to seeing more of them.
@phunq_3 жыл бұрын
Thanks a lot for those tutorials, they are fast, well made, and help a lot when learning game dev!
@Arkeve3 жыл бұрын
Glad to hear that!
@ggrandfatherr22943 жыл бұрын
THANKS ARKEVE!!!
@futilefoxx65123 жыл бұрын
Arkeve... you have achieved G.O.A.T. status. also wanna ask if you are gonna do a dialog tutorial with json because that would be absolutely awesome
@Arkeve3 жыл бұрын
I'll try to do one sometime soon!
@cjgamedev7890Ай бұрын
Thank you for tutorial and for godot 4.2 PlayerInventory.active_item_updated.connect(slots[i].refresh_style )
@Guardianangel93413 күн бұрын
You're a godsend.
@NigelsPad3 жыл бұрын
Awesome series! Can't wait for the next part, I'm assuming being able to put inv slots in equip slots and vice versa is the next topic?
@Arkeve3 жыл бұрын
Yup!
@skelonz26123 жыл бұрын
Are you gonna be making more devlogs again?
@Arkeve3 жыл бұрын
Yeah, hopefully soon
@unethicalhacker46103 жыл бұрын
Do you might know why my selected texture is not showing? I wrote the same exact code as you but it is not showing in my hotbar
@baconator23912 жыл бұрын
i have that same problem
@lee8728 Жыл бұрын
Hi, try to change the logic of refresh_style function like this func refresh_style(): if item == null: set('custom_styles/panel', empty_style); if slot_type == SlotType.HOTBAR and PlayerInventory.active_item_slot == slot_index: print(slot_index); print("HOTBAR") set('custom_styles/panel', selected_style); else: set('custom_styles/panel', default_style);
@lee8728 Жыл бұрын
oo i found another error, you just need to change if to elif. Line elif item == null: func refresh_style(): if slot_type == SlotType.HOTBAR and PlayerInventory.active_item_slot == slot_index: set('custom_styles/panel', selected_style); elif item == null: set('custom_styles/panel', empty_style); else: set('custom_styles/panel', default_style);
@eugenegalway51123 жыл бұрын
YYYYEEEESSSS!!!!
@Mrtargi Жыл бұрын
Have somebody updated connect function in the hotbar to godot 4?
@kristoffercummings11 ай бұрын
Could try this PlayerInventory.active_item_updated.connect(slots[i].refresh_style)
@Mrtargi11 ай бұрын
@@kristoffercummings thank you for the answer)
@ritikung23503 жыл бұрын
Can you make a drop item function?
@Arkeve3 жыл бұрын
Ill add that in the to do list :)
@mio-xh1ln Жыл бұрын
I'm getting the error code: "Invalid set index 'texture' (on base: 'Nil') with value of type 'StyleBoxTexture'." Anyone any ideas on why ? :(
@glaedr01733 жыл бұрын
Hi, I was wondering if you could add one more episode where you make a chest like in Minecraft or Stardew Valley, where you can store items. I have been working on this and having a difficult time. If you would prefer instead, maybe we can talk 1 on 1 and you could help me with this. Thanks in advance
@Arkeve3 жыл бұрын
I hopefully will make a video on making chests soon
@glaedr01733 жыл бұрын
@@Arkeve I have tried my hand at it, it's a bit buggy but works mostly but I could send it to you if that'll help
@glaedr01733 жыл бұрын
@@Arkeve I have it working now, not buggy at all lol
@buterbrodxd72593 жыл бұрын
@@glaedr0173 Hi, how did you manage to do this, I have been sitting with this problem for many days. Have you made an inventory's for each chest?
@baconator23912 жыл бұрын
i cant get the hot bar scrolling to work
@gengami3 жыл бұрын
Bro please make a dialogue system tutorial from scratch ....plezzzzz 🙏