731 matching pages
Results for inventory
Images, Carousels & Choice Controls…ousel navigation 19 11. Show several cards at once 20 12. Use an Inventory Image Carousel 23 13. Control a carousel with actions 26 14. Read the current carousel entry 28 15. Add a Slider 30 16. Style the track and handle 32 17. Read a slider’s live …
Interface design · Page 3Images, Carousels & Choice Controls…, portrait or frame sequence. | An image is not automatically an inventory item. Image Carousel | Browsing an ordered set of imported images. | It does not automatically become a timed slideshow or write a selected-ID variable. Inventory Image Carous…
Interface design · Page 4Images, Carousels & Choice Controls…the whole picture and its proportions. Empty space may remain. | Inventory art, portraits, diagrams and illustrations that must stay complete. cover | Fills the rectangle while keeping proportions. Parts outside it are cropped. | A thumbnail or decor…
Interface design · Page 9Images, Carousels & Choice ControlsGive, remove and filter carried items Figure 18. Inventory Owner, Character and Inventory Categories / Tags belong to the inventory carousel. Leave Inventory Categories / Tags empty to show every eligible carried item. Enter tools to show items that …
Interface design · Page 21Images, Carousels & Choice ControlsBrowsing is separate from using an item Figure 19. After an inventory award, the notebook joins the carried-item cards. Moving the carousel changes its current entry. It does not automatically select an adventure inventory cursor, equip the item, com…
Interface design · Page 22Images, Carousels & Choice Controls… entry ID and image asset. Entry field | Normal Image Carousel | Inventory Image Carousel id | The image asset ID. | The inventory item ID. assetId | The image asset ID used for the card. | The item’s icon image asset ID. caption | The asset’s assign…
Interface design · Page 27Images, Carousels & Choice Controls…able writes and scripts | A running game preview. Actual carried inventory and filters | A running game with the intended owner and items. Preview changes are local tests, not a replacement for authoring a starting Value or Checked state. Turn Previe…
Interface design · Page 46Images, Carousels & Choice Controls…llery from it when needed. A carried item | The actual character inventory. A settings choice | Boolean, Number or String game variables, plus the intended save/load workflow. A slider handle position | Restore it from the stored numeric value. A rad…
Interface design · Page 47Images, Carousels & Choice Controls… Check Initial Image Assets for a normal carousel; check carried inventory, owner, icon assets and filters for the inventory version. A neighboring card cannot be clicked. | Browse with supported navigation or external carousel actions; side cards ar…
Interface design · Page 49Images, Carousels & Choice Controls…s in designer Preview. | Use a running game for events, scripts, inventory and real variable writes. The GUI stops working after a style change. | Some property changes rebuild controls. Recheck transient values, keyboard focus and carousel runtime e…
Interface design · Page 50Images, Carousels & Choice Controls…e, framed_image, animated_image gallery_lab | reference_carousel inventory_lab | carried_carousel settings_lab | subtitles_check, hints_check, opacity_slider, settings_art settings_lab radio groups | prefs_difficulty; prefs_hint_style Keep element ID…
Interface design · Page 51Lua Scripting…ls and includes | 19 Expose a Lua function as a visual node | 20 Inventory, quests and save slots | 21 Use Godot from a Lua record | 22 Choose where to store a value | 23 Read a return value | 24 Debugging a Lua record | 25 Event handlers | 26 Helper…
Scripting · Page 17Lua Scripting…side if eligible then … end. Choose a finite bound when scanning inventory. A tight loop waiting for a click prevents the runtime from processing that click. Use a GUI action or a signal for input.
Scripting · Page 23Lua Scripting…arted(event) OnDialogueEnded | Script.on_dialogue_ended(event) OnInventoryChanged | Script.on_inventory_changed(event) OnSaveLoaded | Script.on_save_loaded(event) OnCustomEvent | Script.on_custom_event(event) OnGlobalReady | Script.on_global_ready(ev…
Scripting · Page 41Lua Scripting…(condition, body, safety_limit = 100000) ForLoop(count, body) HasInventory(item_id, character_id = "player", amount = 1) InventoryCount(item_id, character_id = "player") CurrentScene() ActivePlayer() QuestState(quest_id) ObjectiveState(quest_id, obje…
Scripting · Page 42Lua Scripting…rHere(scene_id) IfVariable(variable_id, expected_value = true) IfInventoryItemWasUsed(item_id) IfCharacterMoving(character_id = "player") EndVisualScript(end_parent = false) End() NowUnix() DateTimeNow(utc = false) DateTimeString(utc = false, use_spa…
Scripting · Page 43Lua Scripting…rty_path, value) record:Exists() record:ToDictionary() record:AddInventory(inventory_id, amount = 1) record:RemoveInventory(inventory_id, amount = 1) record:AddDestinationPath(x, y = nil, z = nil, ignore_navigation_mesh_rules = false) record:ClearDes…
Scripting · Page 44Lua Scripting…SoundAssetId — Typing Sound Asset [audio_assets] · default "" AddInventory / Add Inventory itemId — Item [inventory] count — Count [int] · default 1
Scripting · Page 47Lua Scripting…cked action IDs > p. 95 Gameplay action fields / continued ChangeInventoryDescription / Change Inventory Description itemId — Inventory Item [inventory] description — Description [string] ChangeInventoryQuantity / Change Inventory Quantity characterI…
Scripting · Page 51Lua Scripting…mand verbId — Verb [verbs] sourceId — First Object (entity:id or inventory:id) [string] targetId — Second Object (entity:id or inventory:id) [string]
Scripting · Page 54