How to Make an Inventory in Godot 4.1 #1: Visuals, opening and closing, pausing the game | tutorial

Опубликовано: 18 Июль 2023
на канале: Maker Tech
38,380
1k

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 and the next few episodes, we will look at how to create a simple inventory system.
First we create the visuals and look at how we can open and close the inventory. And pause the game when the inventory is open.

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:22 get_overlapping_areas
00:42 inventory art
01:17 NinePatchRect
02:18 add inventory to world
02:33 slot class
04:18 adding slots to inventory
05:55 centering
06:17 open and close
08:31 pausing
10:07 outro

---------------------------------------------------------------------------------------------------------------------------
Download Godot: https://godotengine.org
"Ninja Adventure" asset pack: https://pixel-boy.itch.io/ninja-adven...
Inventory art: https://makertech.itch.io/additional-...
GDScript NinePatchRect: 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


Смотрите видео How to Make an Inventory in Godot 4.1 #1: Visuals, opening and closing, pausing the game | tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Maker Tech 18 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 38,38 раз и оно понравилось 1 тысяч людям.