View Single Post
  #1  
Old 02-28-2007, 10:38 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
setimg/setimgpart? offset

Is there any way to set where the img starts (in pixels) relative to the NPC? I'd like to use setimgpart() but basically do:

setimgpart("image.png",-10,0,width,height);

to give the image a transparent border on the left of 10px. Is this at all possible? I could do it with showimg, but it doesn't move in pixels unless I set the layer to 5 but with the layer at 5 i can't easily put the image in the correct place relative to the level.


Is this possible?

Thanks.
__________________

Coming soon (Hopefully:P)
Reply With Quote