So I'm just creating a Tower-Defence Game.
Now I'm trying to configure, that the player can click on a tile, and by doing that, an object gets attatched to this tile, and the texture of this object is used for the tile.
And I don't know how to do that.
I don't know how to take onclick events, since you cant set those on tiles, maps, cells etc. ... (I tried to create an Actor in the size of the tiledmap, but I don't know how to convert the x and y position to the correct tile...)
I thought about working with MapObjects, but I just don't understand those and I couldn't find a good explenation online.