A new version of the Inventory System is available. This release includes a new structure placement feature and improves crafting.
Structure Placement
Players can now place structures from their inventory. When using an inventory item representing a structure, the player is prompted to select where to place it. The included demo lets players place an anvil. Once placed, the anvil is used to craft items.
Structure placement provides an example of how to build mechanisms that let players build structures or place objects.
Crafting Refinements
The crafting components have received some improvements to add support for multiplayer.
Changelog
Features:
Crafting UI implemented for the single-dialog Game UI.
Crafting now supports multiplayer.
Structure placements
Bug fixes:
Add missing Crafting Status UI type hints
Crafting Status UI correctly displays the item currently being crafted and its status when opening the UI when crafting is already in progress.
Move the MyGameUISelector script to its component scene counterpart in the
/game_ui
folder.
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.
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 …
When I think of video games, I generally still think of an application that is downloaded and runs on the client. Technically, that’s still the case with web-based exports from Godot Engine, since the web browser has to download the files before being able to run them. I thought maybe I could just run the …
Inventory System v1.18 available
A new version of the Inventory System is available. This release includes a new structure placement feature and improves crafting.
Structure Placement
Players can now place structures from their inventory. When using an inventory item representing a structure, the player is prompted to select where to place it. The included demo lets players place an anvil. Once placed, the anvil is used to craft items.
Structure placement provides an example of how to build mechanisms that let players build structures or place objects.
Crafting Refinements
The crafting components have received some improvements to add support for multiplayer.
Changelog
Features:
Bug fixes:
/game_uifolder.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
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.
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.1 available
Hot on the heels of 1.0, version 1.1 allows for gaps in the inventory. This release also correctly bakes the release version into the PDF Guide.
Quickly deploying Godot games on the web with Netlify
When I think of video games, I generally still think of an application that is downloaded and runs on the client. Technically, that’s still the case with web-based exports from Godot Engine, since the web browser has to download the files before being able to run them. I thought maybe I could just run the …