Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > Graphics modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 12-16-2003, 07:49 PM   #1
hacher
A Fire Beetle
 
Join Date: Dec 2003
Posts: 3
Default can someone explain .tga ?

hello all, I'm makin my own graphics but im little confused on how one tga file can be used to repersent multple items? how does the code actualy know what to use within the tga file?

( for example ) if you have a circle and a square in the same tga file thats 256x256, how does the code know to use the square and not the circle? I've looked at several tga files, but it contains nothing that signifies what items are what.

i could keep all the files seperate but i was just curious if anyone could explain to me how thats posible. I'd like to know for future reference.

Thanks.
hacher is offline   Reply With Quote
Old 12-16-2003, 07:58 PM   #2
Tuvil
A Ghoul
 
Join Date: Nov 2002
Server: Rodcet Nife
Posts: 10
Interface Author - Click to view interfaces
Default

Hacher

Take a look here http://www.eqgui.com/forumdisplay.php?s=&forumid=49 it should help ya
Tuvil is offline   Reply With Quote
Old 12-17-2003, 05:27 PM   #3
hacher
A Fire Beetle
 
Join Date: Dec 2003
Posts: 3
Default tga

thanks man, for the reply, after reading all that. im assume that the you have to know the location of the top left corner of the image within the tga and then you use that in the location tags within the Ui2DAnimation item.

e.g. marked in red..

<Ui2DAnimation item = "PictureX">
<Cycle>true</Cycle>
<Frames>
<Texture>sample.tga</Texture>
<Location>
<X>50</X>
<Y>20</Y>
</Location>
hacher is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 05:47 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI