I tried your code above and would get an error before the 1st frame. So I re-wrote it kinda. And now it runs with no errors but I dont see the tiling sprites
function tile_sprite (amount_of_tiles, tile_width) {
var amount_of_tiles = 15;
var tile_width = 512;
var counter;
while (counter < amount_of_tiles) {
//put a tile on an increasing x-axis position
ent_create ("water.pcx", vector (counter * tile_width, 0, 0), null);
counter += 1;
}
}
Last edited by Leaf; 06/22/07 03:43.