I have a simple custom char showing script (this.actor.blah) it works fine but when I use stretchx or change the alpha/mode it hides the body but the head/shield and shadow are still showing. Why is this?
PHP Code:
with( findImg( 10))
{
this.x = player.x + 2.5;
this.y = player.y;
layer = 1;
playerlook = false;
this.ani = "idle";
this.actor.mode =
this.actor.red =
this.actor.green =
this.actor.blue = 1;
this.actor.alpha = 0.5;
this.actor.head = "head0.png";
this.actor.body = "body.png";
this.actor.shield = "shield1.png";
this.actor.colors[ 0] = "orange";
this.actor.colors[ 1] = "white";
this.actor.colors[ 2] = "blue";
this.actor.colors[ 3] = "red";
this.actor.colors[ 4] = "black";
}