Thread: ShowImg Gani
View Single Post
  #4  
Old 12-07-2012, 07:19 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by greggiles View Post
can you changeImgWidth()??
I need to stretch an Img with the showImg function
http://www.graal.net/index.php/Creat...ShowImg_Values

So for instance you could do:

PHP Code:
temp.block this.showimg(200"block.png"player.xplayer.5);
temp.block.stretchx 2;

temp.bush this.showimg(201"bush.png"player.5player.y);
temp.bush.zoom 0.5//or this.changeimgzoom(201, 0.5); 
If you mean stretch a showani, you may need to edit temp.display.actor.stretchx, or possibly edit player.stretchx within the gani itself by opening the gani as a text file:

PHP Code:
SCRIPT
function onPlayerEnters(){
  
player.stretchx 2;
}
SCRIPTEND 
Reply With Quote