Quote:
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);
|
I may need to rephrase. I don't need stretching, but actually setting the width and height value.