Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Ayumi, ozgur), 678 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Why gamestudio can't use png? #176686
01/06/08 03:09
01/06/08 03:09
Joined: Jul 2005
Posts: 34
Hong Kong
U
ultranet Offline OP
Newbie
ultranet  Offline OP
Newbie
U

Joined: Jul 2005
Posts: 34
Hong Kong
I want to use images with perfect soft edges but the alpha channel of a tga is difficult to draw precisely. What I know is that tga can't preserve its transparent area. Even if I draw in photoshop with transparent background and save as 32 bits tga, gamestudio still need an alpha channel to know how to draw the transparent part.

So why gamestudio can only use bmp, pcx and tga? Why png is not supported?
While other game engines generally support png, gamestudio doesn't. This seems as gamestudio is degraded.

Re: Why gamestudio can't use png? [Re: ultranet] #176687
01/06/08 09:55
01/06/08 09:55
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Well my friend, there is no difference between the alpha channel of a TGA and the alpha channel of a PNG. Both are only different file formats. The content is the same. I assume that you are not familiar with the concept of transparent images and alpha channels, so check out the lite-c workshops. Theres a lesson about how to paint transparent images.

In other words, when your TGA image looks like sh**t your PNG image won't look any better.

In other words, learn to know what you're talking about and then you can avoid similar embarassing situations in the future. Hope this helps...

Re: Why gamestudio can't use png? [Re: Tobias] #176688
01/06/08 10:58
01/06/08 10:58
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
@ulranet:
Just for the record: the png file format is supported.
Quote:


Supported image formats are PCX, BMP, TGA, DDS, PNG, JPG, and WAD.




Quoted: The holy manual, keyword: "File formats"

Re: Why gamestudio can't use png? [Re: Xarthor] #176689
01/06/08 15:47
01/06/08 15:47
Joined: Jul 2005
Posts: 34
Hong Kong
U
ultranet Offline OP
Newbie
ultranet  Offline OP
Newbie
U

Joined: Jul 2005
Posts: 34
Hong Kong
Sorry for posting this silly question, guys.
I didn't see it in the manual before......
It's happy to know gs supports png.

Re: Why gamestudio can't use png? [Re: ultranet] #176690
01/06/08 16:07
01/06/08 16:07
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
the only thing is, that you can't import it to wed, you need to create it by script. But if you use png you should preload it always, else there appear ugly lags, because it have to be loaded(which takes more time then other pics, because of the good compression)

Re: Why gamestudio can't use png? [Re: Scorpion] #176691
02/10/08 18:39
02/10/08 18:39
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
But .png cannot be used for model textures, can it? I have tried and my models always appear white in the game. Can they be used as model textures and if not, why?

Re: Why gamestudio can't use png? [Re: DJBMASTER] #176692
02/10/08 19:49
02/10/08 19:49
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline
Senior Member
Vadim647  Offline
Senior Member
V

Joined: Feb 2008
Posts: 337
Have you tried to use it as external texture?
Anyway, every program codes files a little bit different.
For example, i can use tga's saved by PhotoShop, because my other painting program makes it in such way, that images in GameStudio are vert-mirrored.
Sometimes i can't import a 32-bit bmp, because model will have wrong-flipped rendering (from back parts to front).


I switched to other account since marth 2010. Guess which.
Re: Why gamestudio can't use png? [Re: Vadim647] #176693
02/11/08 07:01
02/11/08 07:01
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
We support all major formats for BMAPs, but for model and level textures you should use TGA or DDS. All other texture formats are either not supported or not recommended for various reasons.


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1