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.0temp.64temp.x++) {
    
with (findimg(200 temp.x)) {
      
polygon = {
        
temp.x0temp.x64
      
};
    }
  }
  for (
temp.0temp.64temp.y++) {
    
with (findimg(300 temp.y)) {
      
polygon = {
        
0temp.y64temp.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