Tile-specific custom properties


#1

Is it possible to create custom properties that are specific to a single instance of a tile? For instance, say I have a tile (that is invisible during regular gameplay) whose job is to spawn a particular monster at a particular rate. Rather that creating a new tile for each different combination of monsters and rates that I want to have, it would be easier if I had a single ‘spawner’ tile with custom properties defining the type of monster spawned and the rate at which to spawn it, which may differ for each instance of the spawner tile that I place. Is something like this doable?


(Thorbjørn Lindeijer) #2

If you place your Spawner tile as a tile object you can associate custom properties with it. If you also specify the properties on the referenced tile, then you will see them in gray when you select the object, which avoids the need for adding those properties manually every time.