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

Description: It's archive, posting new is here http://wohlsoft.ru/forum/viewforum.php?f=11

Animebryan
Topic author, Good citizen
Good citizen
Animebryan
Topic author, Good citizen
Good citizen
Reputation: -1
Posts: 28
Joined: 9 Jun 2017

Post #1by Animebryan » 15 Oct 2019, 1:02

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

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 31
Reputation: 507
Posts: 1825
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #2by Wohlstand » 15 Oct 2019, 3:35

Anything you set to hide here, is hiding on exported image only, but they aren't be hidden while you setting up things here.
Image

Animebryan
Topic author, Good citizen
Good citizen
Animebryan
Topic author, Good citizen
Good citizen
Reputation: -1
Posts: 28
Joined: 9 Jun 2017

Post #3by Animebryan » 15 Oct 2019, 13:14

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.

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 31
Reputation: 507
Posts: 1825
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #4by Wohlstand » 15 Oct 2019, 13:22

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)
Image

Animebryan
Topic author, Good citizen
Good citizen
Animebryan
Topic author, Good citizen
Good citizen
Reputation: -1
Posts: 28
Joined: 9 Jun 2017

Post #5by Animebryan » 15 Oct 2019, 20:57

Invisible Solid (Block-1006).png
Invisible Solid (Block-1006).png (5.91 KiB) Viewed 2946 times

Star Sanctuary.lvlx
(547.76 KiB) Downloaded 192 times

Not invisible by default.png

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 31
Reputation: 507
Posts: 1825
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #6by Wohlstand » 15 Oct 2019, 22:55

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
Image


Return to “Troubleshooting”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests