
02-06-2002, 07:41 AM
|
Registered User
|
Join Date: Dec 2001
Location: Shaded Legends
Posts: 22
|
|
Thats how the tiles were layed. tiledef was not used, and I feel its a bit unfair having to take the script down. With the exception that the image itself was from Graal2001 (which I wasnt aware of until today) and coould be replaced.
// NPC by Sky (Rawr)
if (created||playerenters) {
noplayerkilling;
this.b = 1;
for (this.x = 0; this.x <= 64; this.x++) {
for (this.y = 0; this.y <= 64; this.y++) {
checktile();
if (this.test = 1) {
showimg this.b,tiles_applefloor.png,this.x,this.y;
changeimgvis this.b,0;
this.b++;
}
}
}
}
function checktile() {
this.test = 0;
this.getb = board[this.x+64*this.y];
this.getbx = this.getb % 16;
this.getby = int(this.getb / 16);
if (this.getbx==0 && this.getby==110)
this.test = 1;
} |
__________________
~ Enfinityy (Chill)
since Graal Gold, Nov 1998
|
|
|