|
1 registered members (TipmyPip),
18,619
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Tileing a sprite
[Re: Leaf]
#137546
06/27/07 19:05
06/27/07 19:05
|
Joined: May 2006
Posts: 69 Canada
Leaf
OP
Junior Member
|
OP
Junior Member
Joined: May 2006
Posts: 69
Canada
|
Quote:
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; }
}
bump for more help, whats wrong here?
|
|
|
|
|
|