Thread: Tiles blocking
View Single Post
  #8  
Old 06-24-2010, 09:29 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
hmmm
just do in a script

HTML Code:
function onCreated() {
  this.b_area = {2, 2}; //32x32 px
  this.join("block_area");
}
in the class
HTML Code:
function onCreated() {
  this.setShape(1,16 * this.b_area[0], 16 * this.b_area[1]);

  save[1] = this.b_area[0];
  save[2] = this.b_area[1];
}
//#CLIENTSIDE
function onCreated() {
  this.setShape(1, 16 * save[1], 16 * save[2]);
}
Shouldn't cause any lagg
__________________
Reply With Quote