png-8 and animation

For questions about using Classic.

Post » Sun Oct 24, 2010 11:31 am

When i have a png-8 format sprite, transparency works fine.

However when I have a png-8 format sprite with animation, the transparency fails.

Any way to fix this while maintaining png-8 format?

Thanks
B
2
G
2
Posts: 24
Reputation: 698

Post » Sun Oct 24, 2010 1:37 pm

Maybe you'll find it usefull.
[url:1vux4b3w]http://www.scirra.com/forum/viewtopic.php?f=3&t=7400[/url:1vux4b3w]
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Sun Oct 24, 2010 2:24 pm

Ah so its a bug?
B
2
G
2
Posts: 24
Reputation: 698

Post » Sun Oct 24, 2010 2:46 pm

In my case it was. Use gif for color table, or png24
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Sun Oct 24, 2010 3:34 pm

[quote="aCuria":flmoqk4z]Ah so its a bug?[/quote:flmoqk4z]

No, you should be using 32 bit images for everything.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Oct 24, 2010 4:36 pm

[quote="newt":20qkk4mc][quote="aCuria":20qkk4mc]Ah so its a bug?[/quote:20qkk4mc]

No, you should be using 32 bit images for everything.[/quote:20qkk4mc]

Why should we? It a feature that expected to be implemented. Looks more than incompleted feature or bug rather than we should use 32bit. On-the-fly convert would be better than just ignoring alpha? </IMHO>
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Sun Oct 24, 2010 4:57 pm

Would you rather the devs waste their time making a feature to convert non 32 to 32, since all images are saved internally as png32?
Or have them work on existing real bugs, or new features.
There are literally hundreds of apps that can convert those images beforehand.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Oct 24, 2010 9:47 pm

Hey I'm not talking about "real" and "unreal" bugs. It's about simplicity of using construct. Would be great adding one of those tips, that you see when using any panel for the first time (for ex. when you set "fixed" fps rate you getting warning tip) for the (in this case) sprite object something like "For internal calculations Construct using PNG32" to prevent further confusing about file types.

Further more even Wiki is making you confuse about it.
Quote from this page
[url:1afisseu]http://sourceforge.net/apps/mediawiki/construct/index.php?title=Picture_Editor[/url:1afisseu]

[quote:1afisseu]From left to right the items on the Menu Bar are as follows:
New: ...
Open: Open an existing image file. Supported file types are .png, .jpg, and .bmp. The Picture Editor will correctly automatically apply alpha channel information for .png images, so images with transparency will be imported correctly
Save: ...[/quote:1afisseu]

No word about it's 32bit-ness.

P.S.
And btw construct is for people with gamedev experience and without game experience. So it's a bug at min 50% sureness), it's like I have png - it doesn't work. Wiki sais it does. I go posting on "Help'n'Support"
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Mon Oct 25, 2010 1:01 am

[quote="newt":3ojr8d7n]Would you rather the devs waste their time making a feature to convert non 32 to 32, since all images are saved internally as png32?
Or have them work on existing real bugs, or new features.
There are literally hundreds of apps that can convert those images beforehand.[/quote:3ojr8d7n]

It should either
1) not accept png-8 all together and give a warning
2) give a warning that says animations dont work with png-8
3) get animations to work properly with png-8
4) transparently convert everything internally to png-8

Problem is that it does none of the above. If i need to convert it, at least tell me the moment I import a png-8 image.
B
2
G
2
Posts: 24
Reputation: 698

Post » Mon Oct 25, 2010 10:49 am

[quote="aCuria":6g8sid72]Problem is that it does none of the above. If i need to convert it, at least tell me the moment I import a png-8 image.[/quote:6g8sid72]
That's what i'm talking about. Just one simple warning and future confusing is gone forever.
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest