Page 1 of 1

The 'Export Section to Image' option isn't hiding invisible blocks like its supposed to

Posted: 15 Oct 2019, 1:02
by Animebryan
I went & exported a section from my current level to an image & I checked off all the options to hide all the 'editor only' images but the new invisible solid block still shows up even though I set it to hide that:
Export to image doesn't hide invisible blocks.png

Posted: 15 Oct 2019, 3:35
by Wohlstand
Anything you set to hide here, is hiding on exported image only, but they aren't be hidden while you setting up things here.

Posted: 15 Oct 2019, 13:14
by Animebryan
That IS the exported image. I just took a screenshot afterward to show the settings I used but that image was opened in MS Paint with the options pasted on to show what I selected. The 'hide invisible blocks' option doesn't seem to apply to those new invisible blocks.

Posted: 15 Oct 2019, 13:22
by Wohlstand
Animebryan wrote:That IS the exported image. I just took a screenshot afterward to show the settings I used but that image was opened in MS Paint with the options pasted on to show what I selected. The 'hide invisible blocks' option doesn't seem to apply to those new invisible blocks.
The question is: did you set these blocks be invisible? Or they are still lack the "invisible" flag set. Can you send me a level file to look on it? (even without custom graphics, just a level file itself)

Posted: 15 Oct 2019, 20:57
by Animebryan
Invisible Solid (Block-1006).png
Invisible Solid (Block-1006).png (5.91 KiB) Viewed 2020 times

Star Sanctuary.lvlx
(547.76 KiB) Downloaded 167 times

Not invisible by default.png

Posted: 15 Oct 2019, 22:55
by Wohlstand
Animebryan wrote:
Invisible Solid (Block-1006).png

Star Sanctuary.lvlx

Not invisible by default.png
You have confused just now:
- The "invisible in game" meant that block itself still be visible, but didn't rendered. Exported doesn't affects these blocks as these blocks are represented as visible solid blocks.
- The "invisible" flag on a block itself makes this block be invisible and be hidable while image export. BUT, in game this block can't be touched until attempt to pass through it from bottom side that causes this block became visible again.

The only way to make them hidable while export is giving a support on config pack side (add the special flag that will make this block be invisible on exported images). Right now this isn't supported.

Added after 11 hours 48 minutes:
https://github.com/WohlSoft/PGE-Project/issues/295