The number literals used in the UI element initializations and to define the UI dialog's contants are pixel values that represent the UI's [[Modding:Modder_Guide/Game_Fundamentals#Positions | positions]] in the screen.
+
The number literals used in the UI element initializations and to define the UI dialogue's constants are pixel values that represent the UI's [[Modding:Modder_Guide/Game_Fundamentals#Positions | positions]] in the screen.
+
+
The positions are describing where to place the top left corner (anchor) of the UI element, dialogue boxes, etc.
The top-left corner of the screen is (0, 0) and increases across to the right and downwards.
The top-left corner of the screen is (0, 0) and increases across to the right and downwards.