I have a question:
I have created a png of a 320x200 yellow rectangle object which I have been placing on the map
Each yellow rectangle is a screen in which I want to place objects on it, such as doors, windows…
The pngs of the objects (although as I said, the rectangle is also an object) have different sizes
I have tried a 16x26 one of a spider web, but it does not stick inside the rectangle of the map, only in the grey area
Another question is if it is possible to import pngs of objects (like the rectangle) of various sizes without modifying the Tile width and Tile height parameters
I have tried it and I get the following message:
No tiles found in the tilesetimage when using the given tile size, margin and spacing
It gets a bit heavy if there are many pngs and you have to modify this parameter
I couldn’t view the full-sized versions of your images, so please forgive me if I misunderstood your problems.
For your first problem: Is the rectangle perhaps being drawn in front of the other objects? By default, objects at a lower position are drawn in front, and for Tile Objects, it’s the lower left corder that they’re anchored to. You can control the render order manually by setting the Render Order on the Object Layer to “Manual”.
Even if that does work though, if the only reason you have the yellow rectangles is as a reference rather than as an intended visual compoent of your maps, you might not need them at all. You might be able to use the Major Grid feature instead, this displays thicker grid lines every N x M tiles. Or, perhaps it would be a better idea to have each room be its own separate Map, placed together in a World so you can see them all at once.
A “Based on Tileset Image” tilesets, all the tiles must be the same size since by definition it works by slicing up the image into a grid of tiles; you cannot mix different tile sizes. You should put your smaller tiles in a separate tileset. Alternatively, use an Image Collection tileset instead, that does allow mixed sizes. Image Collections are easiest to use when each tile is in a separate image, though. If they’re all in one image, you’ll have to manually specify the sub-rectangles of the image for each tile.