[Bug] Official flags have alpha layer

2 replies [Last post]
Wuzzy
Wuzzy's picture
User offline. Last seen 1 week 5 days ago. Offline
Joined: 2012-06-20
Posts: 1301

This is a very minor “issue”.

Since Hedgewars does not support transparency in flags, all official flags should be RGB PNGs (and not RGBA).

However, almost all flags are RGBA.

There is a problem with the flag “cm_fcw.png”, which includes actual transparent pixels. These pixels will turn white in the game, but is displayed with transparency in the team editing menu, which is a bit awkward.

Hi, I am a Hedgewars developer. Smile

nemo
nemo's picture
User offline. Last seen 1 week 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

All game images are loaded as RGBA PNGs. This is mostly for easy and consistent internal manipulation.

Also, there's no obvious reason why we shouldn't allow translucent flags.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Wuzzy
Wuzzy's picture
User offline. Last seen 1 week 5 days ago. Offline
Joined: 2012-06-20
Posts: 1301

Well, okay. But in-game the transparent pixels are still being blended to the background color or something, as seen with cm_fcw.png.
Whatever, it's not really important anyways.

Hi, I am a Hedgewars developer. Smile

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]