HTML Code:
function onCreated() {
this.setshape(1, 64, 64);
temp.tiles = {0x12D, 0xAA, 0xF, 0xAA,
0xAA, 0x17D, 0xAA, 0xAA,
0xAA, 0xAA, 0x8, 0xAA,
0xAA, 0xAA, 0xAA, 0x17E};
for (temp.i = 0; temp.i < 16; temp.i++) {
tiles[this.x + temp.i 'DIV' 4, this.y + int(temp.i / 4)] = randomstring(temp.tiles); //Change the 'DIV' to a percent sign
}
updateboard(this.x, this.y, 4, 4);
setTimer(50);
}
It should create a set of 16 tiles at the drop position, but it's not... Any ideas? thanks