Now that I understand x/y a little better thanks to those great explanations ( as well as a way better understanding of calling the .tga ) , Hers another.
In the UI I am reverse enginereing, the Hp_Gauge is called to location
Code:
<Location>
<X>10</X>
<Y>20</Y>
</Location>
Obviously to high for a normal player window because of the name/surname/title. Then there is the offset-
Code:
<TextOffsetX>-300</TextOffsetX>
<GaugeOffsetY>16</GaugeOffsetY>
I understand the gaugeoffset of 16 puts me into <y>36</y> which looks right for the window I am using. Why offset and not just make it <x>10 and <y>36 ?
Also, ,what is the TextOffset and what does it do?