731 matching pages
Results for inventory
The Text Parser15. Include inventory commands An inventory definition has its own ID, name, synonyms, description and verb responses. A physical key lying in the room is a scene object; a key carried in the bag is an inventory item. They can use related words, but …
World & story · Page 32Save Games & Inventory… > PAGE 95 Before you begin This book is about two GUI elements: Inventory Grid and Save Game Widget. Both look like grids, but they display different information. One shows the items a character carries. The other shows the saved games stored for th…
Interface design · Page 2Save Games & Inventory…inued page. 4 1. Know what each piece does 6 2. Build your first inventory menu 8 3. Define the items the grid will show 13 4. Choose who owns the contents 15 5. Give the grid enough room 19 6. Page through the carried items 22 7. Select an item and …
Interface design · Page 3Save Games & Inventory…at each piece does Piece | Its job | It does not do this for you Inventory item definition | Names the item, chooses its icon and stores its authored behavior. | Put the item in the player’s bag. Character inventory | Stores which item IDs a characte…
Interface design · Page 4Save Games & Inventory…le reference actions and scripts use. A dropdown may show Player Inventory(inventory_lab). The reference you type into a script is inventory_lab. Example | Name | ID or number Inventory GUI | Player Inventory | inventory_lab Inventory element | Bag G…
Interface design · Page 5Save Games & Inventory3. Define the items the grid will show 1. Open the Inventory Designer and add an item. 2. Give it a stable ID such as brass_key and a readable name such as Brass key. 3. Enter a description for Look and other explanatory uses. 4. Choose its main icon…
Interface design · Page 8Save Games & Inventory…unter in a separate Label, update it from game logic. Use Remove Inventory to take items away. Giving an amount of zero is not a reliable way to mean “do nothing”; the add action normalizes its count. Check your amount before calling the action.
Interface design · Page 9Save Games & Inventory…ates Figure 6. Item artwork belongs in Images & Animation in the Inventory Designer. Item image | When it is used Normal | The ordinary carried item icon. Hover | The pointer enters this item’s cell. Leave hover | A short departure state, then the no…
Interface design · Page 10Save Games & Inventory…ther than a full animated preview. Use animation sparingly in an inventory. A softly moving potion is easy to read. Twenty flashing item icons make it harder to find the key the player actually wants. If all items animate except one, inspect that ite…
Interface design · Page 11Save Games & Inventory…the widget’s type filter. Types are practical labels used by the inventory widget’s filter. The workshop’s key has key and tool. Oil has tool and consumable. The notebook has note. One item can belong to several types. Category, value and other organ…
Interface design · Page 12Save Games & Inventory4. Choose who owns the contents Figure 8. Inventory Owner chooses the source of the contents. Inventory Types narrows that source. Owner setting | Use it for Current player | The normal bag. It follows the active playable character. Specific characte…
Interface design · Page 13Save Games & InventoryCompare two characters’ bags Figure 9. Two Inventory Grids show separate characters. Only the active player’s built-in item controls operate on that player’s inventory. 1. Create two grids with different element IDs, such as hero_bag and assistant_ba…
Interface design · Page 14Save Games & Inventory…art with the same size in every state so the text does not jump. Inventory captions use the item’s name. Do not put normal Label wildcards such as $$score in an item name and expect the inventory grid to expand them. Use a separate Label for changing…
Interface design · Page 18Save Games & Inventory…et can show its Empty Text instead. This build does not give the inventory grid a dedicated typed checkbox for every advanced option.
Interface design · Page 19Save Games & Inventory…nds. A nested scroller can take a wheel event, while a draggable inventory item can take a touch gesture as an item drag. Test over the blank panel, a filled cell and an empty cell. For an external Button, the legacy inventory-next, inventory-previou…
Interface design · Page 20Save Games & Inventory…ther verbs run the actions you authored for that item. 1. In the Inventory Designer, select Brass key and open Verb Interactions. 2. Add a Look action. A Show Message action can display a short description; the workshop uses Set Variable to update in…
Interface design · Page 22Save Games & InventoryInteraction mode changes the click rules Inventory behavior is part of the project’s interaction system. Do not assume that left click, right click and double click mean the same thing in every game. Project choice | What to check in the inventory Ve…
Interface design · Page 23Save Games & Inventory…se.gd" func run(_context: Dictionary = {}) -> Variant: if not HasInventory("oil"): return false if not HasInventory("brass_gear"): return false await RemoveInventory({"itemId": "oil", "count": 1}) await RemoveInventory({"itemId": "brass_gear", "count…
Interface design · Page 26Save Games & Inventory… both, and test each path. Be especially careful with a filtered inventory. Visible cell positions are relative to the filtered view, while the carried order belongs to the character’s full inventory. Test a reorder, switch to All items and check the…
Interface design · Page 28Save Games & Inventory…Button or action list. Action | Useful fields | Typical use Give Inventory | Character, Item, Count | Give a named playable character an item. Add Inventory | Item, Count; optional characterId | Give the active player an item through the runtime acti…
Interface design · Page 29