View Single Post
  #6  
Old 01-31-2012, 02:34 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Just in case other players might get across that question:

Quote:
Originally Posted by khortez View Post
what part of an image does partw and parth change?
partx and party are changing the locations from where the image will be shown. partw and parth are changing the width and height from the image (how big it will appear). So:

PHP Code:
with (findimg(200)) {
  
image "head0.png";
  
partx =  0;  //starting x
  
party 64;  //starting y
  
partw 32;  //width 
  
parth 32;  //height

Will display the head0.png. It will show that image from the image´s x = 0 and the images y = 64 (from there on the front view of the head starts). The width will be 32 aswell as the height. So there will be only the front view of the head displayed

Just explained it that way since you told me once that it helps you better
__________________
MEEP!
Reply With Quote