View Single Post
  #2  
Old 10-02-2011, 06:28 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
You could just draw 64 horizontal lines, and 64 vertical lines to 'outline' it.

I.e:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  for (
temp.x = 0; temp.x < 64; temp.x++) {
    
with (findimg(200 + temp.x)) {
      
polygon = {
        
temp.x, 0, temp.x, 64
      
};
    }
  }
  for (
temp.y = 0; temp.y < 64; temp.y++) {
    
with (findimg(300 + temp.y)) {
      
polygon = {
        
0, temp.y, 64, temp.y
      
};
    }
  }
} 
You'll have to tweak for GMAPs though by calculating the top-left position. You can see how I do it in my OLNE code.
__________________
Quote:
Reply With Quote