View Single Post
  #1  
Old 12-04-2003, 06:28 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
cropping zoomed images

Hmm, I'm having a problem, I hope I can explain it well... Ok, here goes.

If I have an image of, for example, 16*16 pixels, then I want to do a setzoomeffect of... 3... Ok, So i've done that, and now I should have an image of 48*48 pixels. (Unless my math is just THAT horrible). Ok. Now, what if I do a
NPC Code:

setimgpart img,0,0,48,32;



Well... Nothing...

I've tried this useing showimgs as well,

NPC Code:

if (created) {
showimg 143,setimgpart black.png,x,y;
changeimgzoom 143,10;
changeimgpart black.png,x+32,y,32,32;
}



Will this not work? Or am I just really horrible at scripting?
Reply With Quote