Author Topic: How does .png support work?  (Read 1201 times)

0 Members and 1 Guest are viewing this topic.

Offline Darkebrz

  • Major(1)
  • Posts: 38
How does .png support work?
« on: August 17, 2008, 05:29:09 pm »
I know that there is png support, but how do I get it to load my png files?
Like, how would I get it to load a gun that uses .png?
Also, is there support for transparency? (this may be the real problem.)

Offline Espadon

  • Global Moderator
  • Rainbow Warrior
  • *****
  • Posts: 2606
  • GO BEAT CRAZY
    • Tabnir at deviantART
Re: How does .png support work?
« Reply #1 on: August 17, 2008, 05:49:51 pm »
PNG loading takes priority over BMP, so if you have a PNG at all, it'll get loaded. Soldat 'accepts' PNGs for everything except textures so far, and so you should be fine with transparency on guns. Soldat won't load PNGs perfectly all the time, but usually it's worth it.
CRYSO | HLT                        

    CRY0 | NAN0 2.1 | 0MEN 1.0 | PYR0 1.1M | B0RG 1.0

Offline Darkebrz

  • Major(1)
  • Posts: 38
Re: How does .png support work?
« Reply #2 on: August 17, 2008, 06:13:31 pm »
Hmm. Then Im assuming it might be the program Im working with.
Still, does it support transparency?

Offline Espadon

  • Global Moderator
  • Rainbow Warrior
  • *****
  • Posts: 2606
  • GO BEAT CRAZY
    • Tabnir at deviantART
Re: How does .png support work?
« Reply #3 on: August 17, 2008, 07:47:20 pm »
Hmm. Then Im assuming it might be the program Im working with.
Still, does it support transparency?

It works with alpha transparency, absolutely. What seems to be the problem?
CRYSO | HLT                        

    CRY0 | NAN0 2.1 | 0MEN 1.0 | PYR0 1.1M | B0RG 1.0