Hey we could really do with tiled image layer support for our game engine, which is being built upon MTE. Would this be much work to implement?
/Steven
Hey we could really do with tiled image layer support for our game engine, which is being built upon MTE. Would this be much work to implement?
/Steven
Nope, Tiled image layer support should be easy enough to implement. I’ll look into getting it out in the next MTE update, in two weeks or so.
Is there any extra functionality you’d like for the image layers?
I’m working on Image Layer support right now, but it doesn’t really seem to do much of anything. An image layer holds one image, placed against the top left edges of the map, which cannot be modified, positioned, repeated or flipped/rotated. At least I haven’t found such options within Tiled 0.9. It really is just one picture, locked in place, floating in a map.
Oh so its intended usage is just to float in place?
Hmmm what would be useful is if you had the option to align the image to a particular cell and that image moved along side the cell.
I think though that this may be already supported. one could for example specify a tileset with a very large tile size, (the size of the background image).
I’m not exactly sure what the creators of Tiled intended it for, really. As you say, a developer can achieve the same effect with much greater flexibility with tile layers and very large tiles. Loading an image with tiles the same size as the map would be even better because it would avoid culling problems. You can select more than one Tile in Tiled by holding down the mouse button and dragging across the tileset, thus allowing you to select every tile in a tileset “image.” These are then all placed at once, in their correct respective positions, when you click a cell on the map.
Anyway, I did add image layer support for those who’d like to have it. The current behavior is for the image to follow the map as it scrolls.
Nope, Tiled image layer support should be easy enough to implement. I’ll look into getting it out in the next MTE update, in two weeks or so.
Is there any extra functionality you’d like for the image layers?
I’m working on Image Layer support right now, but it doesn’t really seem to do much of anything. An image layer holds one image, placed against the top left edges of the map, which cannot be modified, positioned, repeated or flipped/rotated. At least I haven’t found such options within Tiled 0.9. It really is just one picture, locked in place, floating in a map.
Oh so its intended usage is just to float in place?
Hmmm what would be useful is if you had the option to align the image to a particular cell and that image moved along side the cell.
I think though that this may be already supported. one could for example specify a tileset with a very large tile size, (the size of the background image).
I’m not exactly sure what the creators of Tiled intended it for, really. As you say, a developer can achieve the same effect with much greater flexibility with tile layers and very large tiles. Loading an image with tiles the same size as the map would be even better because it would avoid culling problems. You can select more than one Tile in Tiled by holding down the mouse button and dragging across the tileset, thus allowing you to select every tile in a tileset “image.” These are then all placed at once, in their correct respective positions, when you click a cell on the map.
Anyway, I did add image layer support for those who’d like to have it. The current behavior is for the image to follow the map as it scrolls.