Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.48k stars 636 forks source link

Tile export has ghosted offset copy of map overlaid #1057

Closed justinian closed 5 months ago

justinian commented 5 months ago

When exporting my map as tiles, each tile has the previous tiles overlaid as successively transparent images. Tile 0 has the schema image imposed over it, and tile 1 has the schema very faintly imposed over it. Other tiles have the landmass and details of at least the previous tile visible on them.

I am unable to reproduce this on new maps, but it happens 100% of the time on the attached map. This map was created as a submap from a generated map, however creating submaps from other new maps also does not create the behavior.

Steps to reproduce

  1. Load the attached map file into the map generator
  2. Click Export, then Tiles, then on the popup click Download
  3. When the zip file is downloaded, extract it and look at the tiles. For this map, tiles 0, 1, and 19 are good examples.

Expected behavior

Tiles look like the map in the map generator, with no transparent overlay of other tiles.

.map file

Zoayage 2024-03-12-13-43.zip

Screenshots

fmg_tile_19

System

Azgaar commented 5 months ago

Hello and thanks for the report!

I saw this issue before and I believe (non totally sure) that it depends on map size and happens when the browser struggles with the complexity. In this case I would recommend to try the smaller size.

I would like to check on your file, but it's not available for me as it's a link to your system (local link)

justinian commented 5 months ago

Ah, apologies, I thought the drag-drop interface uploaded them to GH. Here is the map file and here is a zip of generated tiles.

Azgaar commented 5 months ago

Both link don't work for me... You can add ZIP right here, to the GitHub message

justinian commented 5 months ago

Strange. I had added the zipped map file to the original bug, let me try again. afmg_ghosting_tiles_map.zip

Huh. Looks like the same issue - it uploads but the link it generates 404s.

justinian commented 5 months ago

Does this dropbox link work for you? https://www.dropbox.com/t/PUbQ5mvcLflKwZbT

Azgaar commented 5 months ago

Yes, the last one work fine. I believe it's a matter of size, it looks the smaller size is more or less fine. Also all these effects/filters make it harder to render.

Azgaar commented 5 months ago

Should be fixed now

justinian commented 5 months ago

Thank you!