Inventory & Shops in Godot!

Pick up items, display the player’s inventory, drop, use, or equip items, and trade items with NPCs.

Welcome to my course on Inventory & Shops in Godot!

What you’ll learn

  • Learn different methods for letting the player pick up items..
  • Manage the player’s inventory data and display their items in an inventory menu..
  • Drop, use, or equip items from the player’s inventory..
  • Trade items with an NPC character..

Course Content

  • Introduction –> 9 lectures • 2hr 4min.

Auto Draft

Requirements

Welcome to my course on Inventory & Shops in Godot!

You’re welcome to join our discord server to work on this course alongside your peers.

This course is a continuation of Dialogue & Events in Godot, but can be followed and applied to any project that involves picking up items, adding them to an inventory, dropping, using, or equipping items from an inventory menu, and trading items with an NPC.  In this course, we will cover different methods of picking up items, managing the player’s inventory data, displaying their inventory on the UI in a menu, allowing the player to interact with their inventory in different ways, and trading items with NPCs.

When you’re done, you’ll have a simple inventory system for your game that is easily customizable in its presentation and function.  You’ll also learn useful skills for working with the Godot game engine; organizing and designing your projects to be more scalable.  You will be learning how to code with GD script, with everything explained in detail.  We will apply object oriented design principles in our scripts; Inheritance, Encapsulation, Abstraction, and Polymorphism, to keep them organized, customizable, and reusable for a project of any size.

All of the project files are also available on GitHub if you need to review the project as it was after completing each lesson.  These videos were recorded using Godot version 4.2.2.  The project starts with assets from KayKit’s Character & Dungeon Remastered Packs made by Kay Lousberg, Basic GUI Bundle made by Penzilla, and Fantasy Icons Pack made by Shikashi.  All are available to download for free on itch.  Extra sound effects made by Valenspire are also included and are available from FreeSound.