View Single Post
  #4  
Old 12-07-2011, 04:42 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
PHP Code:
//#CLIENTSIDE
function onPlayerEnters() {
  
temp.haha= {
  
"world_bb01.nw","world_bb02.nw","world_bb03.nw",
  
"world_bc01.nw","world_bc02.nw","world_bc03.nw",
  
"world_bd01.nw","world_bd02.nw","world_bd03.nw",
  
"world_be01.nw","world_be02.nw","world_be03.nw"
  
};
  
//make haha tileset on world_aa01(top left) through
  //world_bf03(bottom right).
  
  
addTileDef("regular-tileset.gif""world_"1);
  for (
temp.temp.haha) {
    
addTileDef("haha-tileset.gif"temp.i1);
  }

Also, don't use GIF's, especially for tilesets... they have much larger file sizes for things like this than a PNG would, not to mention with a tileset you'll most likely run out of colors(256 max) and have permanent color-loss, which is VERY ugly in GIF.
Reply With Quote