Getting Weird Black Rectangle When Placing Tileset

Hi! New user to tiled here. On my first image, you can see theres like these weird black rectangles that seem to be a layer overlap issue. I had downloaded a pack off open game art, its a beautiful pack and as far as i can tell, there really arent issues.

How do I get rid of those black rectangles? Would like to figure it out as I’m experimenting in Iso Game Dev.

Thanks in advance :slight_smile:

Hmm, it’s not immediately obvious to me what could be causing that. Can you link the pack on OGA so I could see if I can reproduce it?

Hi Bjorn, thanks for your reply - its this one: Flare Super Dungeon Tileset Version 1.0 | OpenGameArt.org

The reason this is happening is because you’ve loaded the tiles as 64x32 sections, and when you place the multi-tile segments, because the lower tiles are in front of the upper tiles, they overlap the tiles higher up. While this is fine for a single segment because the tiles within a segent don’t overlap, problems start once you have two segments next to each other, because the bottom of the near segment overlaps the top of the next segment.

If you slice this tileset up appropriately, so that each taller section is a single larger tile, they will tile correctly, with overlaps working as the artist expected.

Since there are several different tile sizes in this tileset, you would need to edit this tileset image either so that all the tiles can be as tall as the tallest object, or to split it into separate tilesets for each tile size.

(It’s possible to use the image as-is by creating an Image Collection where all the tiles are subrects of it, but it’s tedious to set that up.)

amazing. i separated the tilesets into three pieces, tall, short, large.

just tested it with tall at 64px by 128px and it seems to have done the trick. im guessing similar result with small. had to edit these in photoship by aligning the grid etc. but thank you so much