Hello! I’m trying to make a game where nations fight over territory. I’ve come across an issue with optimization however. As the game isn’t using the tilemap, each tile is its own object and that is causing quite a bit of lag. However, using the tilemap will be difficult as I want the nations to each have their own color without adding it in a tileset. If anyone can help out, thanks!
(Sorry if im explaining this poorly, im new around here :P)
It depends what kind of data. If it’s static data that you won’t modify at runtime then, yes, you can save custom data for each tile in the TileSet. If it’s data that you will be changing then no, it’s not possible and you’ll need to keep that data separated.