View Single Post
  #3  
Unread 01-06-2005, 12:57 PM
tonyis3l33t's Avatar
tonyis3l33t tonyis3l33t is offline
a hedgehog
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 854
Default

images work like this. You have a DDS. A dds must be a square. Most for this game are 512x512 or 1024x1024. Inside this DDS you can have several images, or just one image. Either way, when you want to insert a portion of that DDS as an image into a UI, you must specify the top-left and bottom right pixel coordinates of that DDS portion.

If you click on an image inside the UIbuilder and look at the little properties window, you will see

source %pathtoDDS%
sourcerect 0,0,512,371

the 0,0 means the very top left of the DDS is where the inserted image starts. The 512,371 says where it ends. If you wanted to add the enire 512x512 image, you would write 0,0,512,512
________
OliviaSparks cam

Last edited by tonyis3l33t : 09-16-2011 at 03:18 AM.
Reply With Quote