This release finally uses Godot Engine 4.4. It adds the
GGCraftingSystem
singleton and updates the
GGInteractable2DStrategyCrafting
class to use it. The crafting editor nodes now have prefixes, which makes it much easier to search for specific recipe or item nodes in larger crafting libraries.
Some syntactic sugar was added as well. You can now easily iterate over an
GGInventory
object to iterate over its contents:
The inventory addon now also includes an export plugin, which automatically excludes the editor addons from being included in exported games. This helps reduce the size of the
.pck
file.
To make interactions easier, the addon now includes a
GGInteractable2DStrategyExpression
class. This makes it easy to add one-off interaction integrations without having to create a new class.
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.
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 4 available
This release finally uses Godot Engine 4.4. It adds the
GGCraftingSystemsingleton and updates theGGInteractable2DStrategyCraftingclass to use it. The crafting editor nodes now have prefixes, which makes it much easier to search for specific recipe or item nodes in larger crafting libraries.Some syntactic sugar was added as well. You can now easily iterate over an
GGInventoryobject to iterate over its contents:The inventory addon now also includes an export plugin, which automatically excludes the editor addons from being included in exported games. This helps reduce the size of the
.pckfile.To make interactions easier, the addon now includes a
GGInteractable2DStrategyExpressionclass. This makes it easy to add one-off interaction integrations without having to create a new class.For additional details, please see the alpha 4 changelog.
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
Fire, Rain, and Black Hole particle effects
This video is from December last year and uses Godot 4.0-beta7, but I thought it was interesting, because… particle effects!
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 v1.8.1 available
A quick update to yesterday’s release with a few fixes:
Inventory System v1.2 available
A few new features: Bug fixes: