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
widget_editor [2020/12/03 17:40] justinwidget_editor [2023/02/06 22:05] (current) justin
Line 5: Line 5:
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-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 going to the "Screens" tab of the UI Editor and adding their IDs to the comma-separated list of custom [[widget|widgets]].
 </WRAP> </WRAP>
  
Line 34: Line 34:
 |{{:wiki:widget_width.png?nolink|}}|Grid Width (Columns)|Width of the [[widget]], or number of columns in the grid. Elements placed into the [[widget]] are aligned to this grid.| |{{:wiki:widget_width.png?nolink|}}|Grid Width (Columns)|Width of the [[widget]], or number of columns in the grid. Elements placed into the [[widget]] are aligned to this grid.|
 |{{:wiki:widget_height.png?nolink|}}|Grid Height (Rows)|Height of the [[widget]], or number of rows in the grid. Elements placed into the [[widget]] are aligned to this grid.| |{{:wiki:widget_height.png?nolink|}}|Grid Height (Rows)|Height of the [[widget]], or number of rows in the grid. Elements placed into the [[widget]] are aligned to this grid.|
 +|{{:wiki:ui.png?nolink|}}|Initial Position|Determines where the [[widget]] will be initially positioned on the screen. This is particularly useful for [[widget|widgets]] that are fixed (i.e. not draggable).|
 |{{:wiki:window_frame_show.png?nolink|}}|Show Frame|Determines whether or not the frame graphic (i.e. the borders and background) is visible for this [[widget]]. Currently this graphic is inherited from the [[item container]] window style in your game's default [[theme_editor|theme]].| |{{:wiki:window_frame_show.png?nolink|}}|Show Frame|Determines whether or not the frame graphic (i.e. the borders and background) is visible for this [[widget]]. Currently this graphic is inherited from the [[item container]] window style in your game's default [[theme_editor|theme]].|
 |{{:wiki:window_free.png?nolink|}}|Draggable|Determines whether or not the player can move the [[widget]] around by clicking and dragging the titlebar or empty area of the window. The "Show Frame" property must be enabled for this option to be available.| |{{:wiki:window_free.png?nolink|}}|Draggable|Determines whether or not the player can move the [[widget]] around by clicking and dragging the titlebar or empty area of the window. The "Show Frame" property must be enabled for this option to be available.|
Line 45: Line 46:
 |{{:wiki:potion.png?nolink|}}|[[Item Quick Slot]]|Slot for assigning an [[item]] to that the player currently possesses (for example, a health potion). This type of slot acts as a shortcut and allows the player to easily access the [[item]] during gameplay instead of being required to open their [[inventory]].| |{{:wiki:potion.png?nolink|}}|[[Item Quick Slot]]|Slot for assigning an [[item]] to that the player currently possesses (for example, a health potion). This type of slot acts as a shortcut and allows the player to easily access the [[item]] during gameplay instead of being required to open their [[inventory]].|
 |{{:wiki:sword.png?nolink|}}|[[Equipment Slot]]|Slot for equipping an [[item]] to (for example, a sword or shield). The player can equip an [[item]] to the slot if the [[item]] has been configured as equippable in the [[Item Editor]] and it includes a tag matching the slot ID assigned to the equipment slot.| |{{:wiki:sword.png?nolink|}}|[[Equipment Slot]]|Slot for equipping an [[item]] to (for example, a sword or shield). The player can equip an [[item]] to the slot if the [[item]] has been configured as equippable in the [[Item Editor]] and it includes a tag matching the slot ID assigned to the equipment slot.|
 +|{{:jump.png?nolink|}}|[[Skill Slot]]|Slot for assigning a [[skill]] to (for example, a healing spell or physical ability).|
 |{{:wiki:coins.png?nolink|}}|[[Shop Item Slot]]|Slot for allowing an [[item]] to be purchased by the player. The cost of the [[item]] is configured in the [[Item Editor]].| |{{:wiki:coins.png?nolink|}}|[[Shop Item Slot]]|Slot for allowing an [[item]] to be purchased by the player. The cost of the [[item]] is configured in the [[Item Editor]].|
 |{{:wiki:anvil_in.png?nolink|}}|[[Crafting Input Slot]]|Slot that an [[item]] can be placed into for crafting purposes. Adding multiple crafting input slots to a [[widget]], along with a button configured as a "Crafting" button, will allow the player to combine [[item|items]] together to create something new. The ingredients/materials required to craft a particular [[item]] is configured in the [[Item Editor]].| |{{:wiki:anvil_in.png?nolink|}}|[[Crafting Input Slot]]|Slot that an [[item]] can be placed into for crafting purposes. Adding multiple crafting input slots to a [[widget]], along with a button configured as a "Crafting" button, will allow the player to combine [[item|items]] together to create something new. The ingredients/materials required to craft a particular [[item]] is configured in the [[Item Editor]].|
widget_editor.1607046057.txt.gz · Last modified: 2020/12/03 17:40 by justin