View Single Post
  #7  
Old 01-03-2012, 06:47 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is just really niceTricxta is just really nice
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;
} 
Reply With Quote