User Tools

Site Tools


widget_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
widget_editor [2020/12/02 18:17] justinwidget_editor [2020/12/03 17:40] justin
Line 7: Line 7:
 Custom [[widget|widgets]] can be displayed in-game using the [[Show Widget]] scripting function. You can also add them to the [[management screen]] by adding their IDs to the comma-separated list of [[widget|widgets]] in the "Experimental" section of your [[Game Configuration]]. Custom [[widget|widgets]] can be displayed in-game using the [[Show Widget]] scripting function. You can also add them to the [[management screen]] by adding their IDs to the comma-separated list of [[widget|widgets]] in the "Experimental" section of your [[Game Configuration]].
 </WRAP> </WRAP>
 +
 +=====Creating a Widget=====
 +
 +To create a new [[widget]], click the "Add" button ({{:wiki:add.png?nolink|}}) on the main toolbar and then provide a unique ID that will be assigned to it. Once created, the width and height of the [[widget]] can be adjusted from the "Widget Properties" panel on the left-hand side of the editor. Elements (item slots, text fields, buttons, etc.) can be dragged and dropped from the "Widget Tools" panel onto the grid layout of the [[widget]].
 +
 +Elements that have been placed can be resized by selecting the element and then dragging the handles of the selection box. To delete an element, select it and press the Delete key or drag and drop it outside of the [[widget]].
 +
 +See the "Elements" section below for a description of each element type that can be added to a [[widget]].
  
 =====Main Toolbar===== =====Main Toolbar=====
Line 46: Line 54:
 |{{:wiki:character.png?nolink|}}|[[3D Model]]|Element for displaying a 3D model that the player can rotate by clicking and dragging. This is currently limited to displaying the [[player_character|player character's]] model, with future updates allowing it to display others.| |{{:wiki:character.png?nolink|}}|[[3D Model]]|Element for displaying a 3D model that the player can rotate by clicking and dragging. This is currently limited to displaying the [[player_character|player character's]] model, with future updates allowing it to display others.|
 |{{:wiki:map.png?nolink|}}|[[minimap_element|Minimap]]|Element for displaying a top-down view of the current [[map]].| |{{:wiki:map.png?nolink|}}|[[minimap_element|Minimap]]|Element for displaying a top-down view of the current [[map]].|
- 
-=====Creating a Widget===== 
- 
-To create a new [[widget]], click the "Add" button ({{:wiki:add.png?nolink|}}) on the main toolbar and then provide a unique ID that will be assigned to it. Once created, the width and height of the [[widget]] can be adjusted from the "Widget Properties" panel on the left-hand side of the editor. Elements (item slot, text, buttons, etc.) can be dragged and dropped from the "Widget Tools" panel onto the grid layout of the [[widget]]. 
- 
-Elements that have been placed can be resized by selecting the element and then dragging the handles of the selection box. To delete an element, select it and press the Delete key or drag and drop it outside of the [[widget]]. 
  
 ~~NOTOC~~ ~~NOTOC~~
widget_editor.txt · Last modified: 2023/02/06 22:05 by justin