A world of typed blocks


Hello everyone,

For a research project, I would like to create a map wich in each tile is a type of block (a little bit like in Minecraft but in 2D) : type wook, grass, dirt, … What is the best and fastest solution to do that ?

For now, my idea is to create one object type by type of block and draw, in a specific layer, a rectangle over each tile that would be associate to an object type. Any better suggestion ?

(Thorbjørn Lindeijer) #2

If each tile should have a specific type, then you could use the “Type” property on the tiles, so that you don’t need to use an object layer at all.


Good idea, I didn’t think about it. Thank you !