Difference between revisions of "User:JRoush"
Jump to navigation
Jump to search
→General Traits
imported>JRoush |
imported>JRoush |
||
Line 29: | Line 29: | ||
=== General Traits === | === General Traits === | ||
*<id> (int or &generic;) - links an element to a particular aspect of the menu class in the game engine. The game expects, for each menu class, that certain ids will be present, and treats them specially. For example, clicking on element id#14 in the alchemy menu will create a new potion, regardless of the name or (I think) the type of the element. | *<id> (int or &generic;) - links an element to a particular aspect of the menu class in the game engine. The game expects, for each menu class, that certain ids will be present, and treats them specially. For example, clicking on element id#14 in the alchemy menu will create a new potion, regardless of the name or (I think) the type of the element. | ||
*<x>,<y> (int) - coordinates (in pixels) of upper left corner (most elements), or center for center justified text elements | *<x>,<y> (int) - coordinates (in pixels) of upper left corner (most elements), or center for center justified text elements |