henck / trizbort

This is a browser implementation of the Trizbort adventure game mapping and code generation software.
MIT License
25 stars 16 forks source link

Export as image yielding blank png #98

Open trippp opened 2 years ago

trippp commented 2 years ago

Using the export as image option, the output is a png of seemingly correct size/proportions, with the correct background color, but completely devoid of any map items. Moving the map items around the canvas and changing the color schemes doesn't change the behavior (although the resulting image will change color to match the correct background color). Tested in Safari, Chrome and Firefox, all with the same results (using a map of Zork 2).

Nephar commented 1 year ago

Same problem, reproducible as follows(Firefox 108.0.1 and Safari 12.0.3 verified):

Open New map, add one room, select room, add second room to the west of the first one with Shift+Left, and add third one to the north of the first room with Shift+Up (final layout is like an "L" inverted on a glass window from backside), Export as image. Produces blank png.