A new version of the Inventory System is available. This version requires Godot Engine 4.3 and includes many refinements.
New Drag and Drop system
The Drag-and-Drop component has received a major overhaul. The previous system was quite complex and the separation of the classes that implemented the click-and-drag and click-and-release approaches had so much overlap that it made more sense to offer the two drag-and-drop modes through simpler, more streamlined configuration.
Inventory Popovers
The inventory system now also has a new popover feature. While hovering over an inventory item, a popover will show details about the item, much like a fancy tooltip. The presentation and behavior are customizable, and popover configuration is also included in the Inventory System Tour.
Theoretically, that section in the guide can now be simplified. However, instead of removing that knowledge, I’ve updated the section to explain why the workaround existed and is no longer needed. I believe there’s more value in understanding what changed, than not mentioning it at all.
Changelog
Features:
Replaced Drag-and-Drop strategies with the more refined Dragon Drop implementation
New Inventory Popovers that show details when hovering over items
New Inventory Item Filter
Inventory Item Weights
Replaced TileMap with TileMapLayer
Bug fixes:
Add game_ui node group to SDIGameUI in the inventory tour
Audio handling correction related to the Godot 4.3 audio changes
Drag-and-Drop modifier keys use CMD on Mac instead of CTRL
Drag-and-Drop now uses groups to determine draggable item controls
GGItemType.image data type changed to Texture2D instead of Resource
Inventory UI search box text alignment correction
Corrections to Multiplayer Demo transfer dialog context handling
Prevent UIContainer from setting input as handled
GGResizableControl sets input as handled to prevent UI interactions from leaking into character controller
The Inventory System Deep Dive and Architecture Guide helps game developers implement advanced multiplayer inventories using Godot Engine. The PDF Guide contains over 500 pages of code walkthroughs, diagrams, and explains concepts related to inventories, items, and more.
Normally I use OBS for screen recording, but there are cases where it makes sense to use Godot’s built-in movie writer that was recently announced. For example, if you have a slow PC or really demanding game, OBS will skip frames. It makes sense since OBS is just recording what’s on the screen in real …
I had a setup with nested CanvasLayer nodes. Toggling the visibility of the root CanvasLayer doesn’t hide any nested CanvasLayer nodes. My solution was to listen to the visibility_changed signal, find any CanvasLayer child nodes, and apply the same visibility to them.
This release improves weight management. Inventories can now configure an option weight limit, and item stacking and item transfer strategies are weight-aware. The crafting demo and crafting mechanic in the inventory tour have been improved. Auto-crafting is limited to the crafting slide, so that items don’t automatically and unexpectedly get crafted while stepping through the …
Godot Engine 4.0 has been released per official announcement. With version 4.0, Godot has gone through “3+ years of breaking and rebuilding from the ground up, a complete core overhaul and a full engine rewrite, through 17 alphas, 17 betas and 6 release candidates“. The announcement post is credited to “2000+ Godot contributors.” It’s a …
Inventory System v1.16 available
A new version of the Inventory System is available. This version requires Godot Engine 4.3 and includes many refinements.
New Drag and Drop system
The Drag-and-Drop component has received a major overhaul. The previous system was quite complex and the separation of the classes that implemented the click-and-drag and click-and-release approaches had so much overlap that it made more sense to offer the two drag-and-drop modes through simpler, more streamlined configuration.
Inventory Popovers
The inventory system now also has a new popover feature. While hovering over an inventory item, a popover will show details about the item, much like a fancy tooltip. The presentation and behavior are customizable, and popover configuration is also included in the Inventory System Tour.
RPCs with Typed Arrays
Godot 4.3 now supports RPCs with typed arrays, which previously required a workaround:
Theoretically, that section in the guide can now be simplified. However, instead of removing that knowledge, I’ve updated the section to explain why the workaround existed and is no longer needed. I believe there’s more value in understanding what changed, than not mentioning it at all.
Changelog
Features:
Bug fixes:
The Inventory System Deep Dive and Architecture Guide helps game developers implement advanced multiplayer inventories using Godot Engine. The PDF Guide contains over 500 pages of code walkthroughs, diagrams, and explains concepts related to inventories, items, and more.
Related Posts
Making videos for the web with Godot 4’s Movie Writer
Normally I use OBS for screen recording, but there are cases where it makes sense to use Godot’s built-in movie writer that was recently announced. For example, if you have a slow PC or really demanding game, OBS will skip frames. It makes sense since OBS is just recording what’s on the screen in real …
Toggling Visibility of Nested CanvasLayers
I had a setup with nested CanvasLayer nodes. Toggling the visibility of the root CanvasLayer doesn’t hide any nested CanvasLayer nodes. My solution was to listen to the visibility_changed signal, find any CanvasLayer child nodes, and apply the same visibility to them.
Inventory System 2 Alpha 3 available
This release improves weight management. Inventories can now configure an option weight limit, and item stacking and item transfer strategies are weight-aware. The crafting demo and crafting mechanic in the inventory tour have been improved. Auto-crafting is limited to the crafting slide, so that items don’t automatically and unexpectedly get crafted while stepping through the …
Godot Engine 4.0 released!
Godot Engine 4.0 has been released per official announcement. With version 4.0, Godot has gone through “3+ years of breaking and rebuilding from the ground up, a complete core overhaul and a full engine rewrite, through 17 alphas, 17 betas and 6 release candidates“. The announcement post is credited to “2000+ Godot contributors.” It’s a …