Tile Exactor
Posted: Sun Jan 02, 2011 9:18 pm
i've seen that people have had problems with the clone arrays as in they create a map with alot of clones with a certain image decide they dont want it and to there dismay have to delete alot of clones it's time consuming and a turn off to even wanting to work on your project after that..
this will draw up to 10 tiles along the X or Y depeding which ones specified and draws them aligned by corners and can do layers by specifying your actors Zdepth on the actor control screen shot here of it's capabilities so far:
it does create boxes of tiles you just have to line the tiles up
it's very easy to use to
all you need is a call to draw in your view actor and a script then just put this:
TileMap("Your actors name", "Animation Sequence", 0, 0, 10, 10, 10, 32, 32);
the function passes: actors name, animation sequence, x, y, length of tiles, height of tiles, corner aligned tiles, tile width, tile height..
enjoy!
Edit: if you want to lay actors down normally dont use the same actors in the drawing function, so if you wanted to use the same image but lay it down the normal way then make a new actor that hholds the sam image and create tiles from there
this will draw up to 10 tiles along the X or Y depeding which ones specified and draws them aligned by corners and can do layers by specifying your actors Zdepth on the actor control screen shot here of it's capabilities so far:
it does create boxes of tiles you just have to line the tiles up
it's very easy to use to
all you need is a call to draw in your view actor and a script then just put this:
TileMap("Your actors name", "Animation Sequence", 0, 0, 10, 10, 10, 32, 32);
the function passes: actors name, animation sequence, x, y, length of tiles, height of tiles, corner aligned tiles, tile width, tile height..
enjoy!
Edit: if you want to lay actors down normally dont use the same actors in the drawing function, so if you wanted to use the same image but lay it down the normal way then make a new actor that hholds the sam image and create tiles from there