the tiles are always single sprites.. i don´t want to use tilesets like the rpg makers are doing.
BUT
Charactersets
http://www.imagesload.net/img/Personen%20%20-%20%20Karnevals.pngShould be used like they are - 4 directions with X frames for each direction on 1 single image
Same for Autotiles. See my 4-Frame Autotile here:
http://www.imagesload.net/img/ARC_Ocean.png1.)
Okay.. the filling tool is good for a bitmap..
Here´s my live example of what i need.
Let´s say i created this as map:
http://www.imagesload.net/img/shot_0172.jpgNow i want to fill this empty space in the middle with a tile i chose from the list.
How to detect if there´s already a tile on X/Y position?
if(blocks[X][Y][tile_position.z].locked == 0) //check if the tile is empty
Z is a constant variable.. so i just need X and Y.
How to check if the filename of the actual tile is different from the chosen one?
if(str_cmpi(blocks[X][Y][tile_position.z].filename, placing_filename) == 0) //check if filename and placing_filename is different
filling a tile works with the following call:
fill_tile(vector(x,y,tile_position.z)); //fill the tile with the actual placing_filename object
the actual tile position (equal to cursor position) is stored in:
tile_position.x, tile_position.y, tile_position.z
I hope a filling tool is possible with that ^^"