Quote:
Originally Posted by coreys
Angel, no layers can't have decimals. I'm guessing in Graal's code the variable for layer is declared as int. Sure, you can set it as a decimal, but that doesn't mean it's gonna act as a decimal value. And you didn't correct me, you just failed to read my original post where I already did that.
And yes, levels have layers, but this doesn't pertain to my problem. -.-
|
LOOK AT WHAT YOU TYPED EXACTLY!!! You types "findImage()" that will not work. It is "findImg()" notice it is IMG not IMAGE. I've just tested this and it works.
PHP Code:
//#CLIENTSIDE
function onCreated()
{
showImg( 200, "block.png", this.x, this.y);
showImg( 201, "bar.png", this.x, this.y);
findImg( 200).layer++;
}