Quote:
Originally Posted by greggiles
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.x, player.y - 5);
temp.block.stretchx = 2;
temp.bush = this.showimg(201, "bush.png", player.x - 5, player.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