>
> I need to spawn the object where the tilemap are in different way, but maybe is not possible...
>
I don't understand. Can you draw a picture?
>
> because with this method I can spawn the object with the specific x and y...
>
No.It spawn on tiles.For example,TiletoPositionX(1), spawn it on the 2nd tile horizontally(Since it starts with zero)
yes different but it's the same... because I need to draw the code anyway... and with the tilemap you can't set a perfect axis....
my method it's for save time, when you draw on the tilemap, you can save the tilemap in one JSON file... I'm thinking about if is possible to spawn the object where the tilemap is without write anything...
like:
for each single tile, where the tile is "1", spawn a object...
with the collision you can do it, make a big vertical line and move in horizontal or vertical, and when the "big line" touch a tile numer "1", the "big line" spawn a new object where the tile number 1 is... I can do it actually but I would prefer without "scanning"
thank you for the reply