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.
Just a couple of days ago, Godot 4.0 alpha 17 was announced. Today, Godot Engine 4.0 beta 1 was released. Be sure to check out the announcement. There are lots of improvements across the board; rendering, lighting, physics and navigation, animation, and scripting.
Godot’s resources are quite powerful. However, modifying a resource class doesn’t automatically update any corresponding .tres files, unless you happen to edit a scene that uses that resource in some way. This doesn’t impact runtime behavior — the game still runs as expected. But it can impact version control and result in a messier diff …
Arguably, more fun than writing code is removing code. I was assembling a split-screen multiplayer UI. The goal behavior is to show/hide the appropriate displays for the players, depending on how many players there are. Initially, the code to update the UI was very simple, because I started with two players. In that case, you …
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
Godot Engine 4 reaches beta
Just a couple of days ago, Godot 4.0 alpha 17 was announced. Today, Godot Engine 4.0 beta 1 was released. Be sure to check out the announcement. There are lots of improvements across the board; rendering, lighting, physics and navigation, animation, and scripting.
Update all resources after modifying a resource class
Godot’s resources are quite powerful. However, modifying a resource class doesn’t automatically update any corresponding .tres files, unless you happen to edit a scene that uses that resource in some way. This doesn’t impact runtime behavior — the game still runs as expected. But it can impact version control and result in a messier diff …
A GDScript refactoring exercise
Arguably, more fun than writing code is removing code. I was assembling a split-screen multiplayer UI. The goal behavior is to show/hide the appropriate displays for the players, depending on how many players there are. Initially, the code to update the UI was very simple, because I started with two players. In that case, you …
Inventory System v1.8.1 available
A quick update to yesterday’s release with a few fixes: