I beleive he was referring to my the 0.5 in my example.
0.5 * -1 = -0.5
-0.5 * -1 = 0.5
Is what I think he meant, oh well...
Also I just spotted this:
PHP Code:
showpoly(1, {
player.x + 1, player.y + 1.5, this.sx, this.sy
});
findimg(1).layer = 0;
findimg(1).red = 0;
findimg(1).green = 1;
findimg(1).blue = 0;
it would be alot cleaner if you just did it with a with statement:
PHP Code:
with (findimg(1)){
polygon = {player.x + 1, player.y + 1.5, this.sx, this.sy};
layer = 0;
red = 0;
green = 1;
blue = 0;
}