How to Make an Inventory in Godot 4.1 #4: stacking items | tutorial | zeldalike | ARPG in Godot 4

Опубликовано: 29 Сентябрь 2024
на канале: Maker Tech
11,932
432

Hi and welcome to this tutorial series, where I will show you how to make a 2D ARPG in Godot 4.1.

Support the channel on Patreon:   / makertech  
Support the channel with a Youtube membership:    / @makertech  
Join the Discord server:   / discord  

   • How to Make an Action RPG in Godot Se...  
   • How to Create an Inventory in Godot 4  

In this episode we will look at how we can stack items in our inventory.
I will also briefly introduce you to lambda functions.

Please remember that this is in no way the only way to create an action RPG in Godot. In most cases there will be several ways to implement a new feature.

This is how I would do it.

But I will also try to reflect on the choices made during this series. Why we make them, and what alternatives we could have explored further.

00:00 intro
00:32 slot resource
01:14 why another resource
02:04: refactoring
03:30 stacking
04:28 debugging
04:56 filter and lambda functions
05:40 update gui
06:03 change font
06:55 set label
07:24 update label text
08:14 alignment
08:44 assignment
09:23 next time

---------------------------------------------------------------------------------------------------------------------------
Download Godot: https://godotengine.org
"Ninja Adventure" asset pack: https://pixel-boy.itch.io/ninja-adven...
Inventory art: https://makertech.itch.io/additional-...
Array method descriptions (incl. filter): https://docs.godotengine.org/en/stabl...
Lambda functions in GDScript: https://docs.godotengine.org/en/stabl...
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Patreon:   / makertech  
Reddit:   / makertech  
Instagram:   / makertech_dk  
Twitter:   / makertech_dk  
Youtube channel:    / makertech  
---------------------------------------------------------------------------------------------------------------------------

#gamedev #godot #godotengine #godot4 #tutorial #zeldalike #learntocode #howtomakeagame #inheritance #inventory #inventorysystem