1 registered members (AndrewAMD),
1,507
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Sorry, another question.
[Re: Lion_Ts]
#85614
08/13/06 03:25
08/13/06 03:25
|
Joined: Aug 2005
Posts: 312 Sweden
tindust
Senior Member
|
Senior Member
Joined: Aug 2005
Posts: 312
Sweden
|
Yes it is, Quote:
d3d_autotransparency If this flag is set, the color of the upper left pixel of true color textures is taken as transparency color, instead of black. This way the background of sprites or skins can be set to any color, thus avoiding the black seams visible by antialiasing to a black background.
Range: on - the color of the upper left pixel is the overlay color off - black (0,0,0) is overlay color
using an image with an alpha channel may be the best way though...
cheers
Last edited by tindust; 08/13/06 03:31.
|
|
|
Re: Sorry, another question.
[Re: Lion_Ts]
#85615
08/13/06 03:32
08/13/06 03:32
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Quote:
Yes, it is a black color (below rgb:8,8,8). But try 32bit tga with alpha channel instead.
That's actually rgb(0, 0, 0) instead that causes it. The color (0, 0, 1) is as close to black as you can get without being black (the darkest blue) and the color (0, 0, 8) is the lowest it can go if using 16-bit color.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Sorry, another question.
[Re: Hashi]
#85617
08/15/06 03:39
08/15/06 03:39
|
Joined: Jun 2006
Posts: 86 Asia
xboy360
Junior Member
|
Junior Member
Joined: Jun 2006
Posts: 86
Asia
|
Wait! about that GIF animation, you can use GIFs in gamestudio? i thought BMP only.
Happy Birthday!
|
|
|
Re: Sorry, another question.
[Re: xboy360]
#85618
08/15/06 03:50
08/15/06 03:50
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
GIF animations aren't allowed. For animations, you lay out each frame in a long line then add "+xx" to the file name where "xx" is the number of frames. +6 would mean 6 frames and the width of the image should be 6 times that of the height. +32 means 32 frames and the width should be 32 times that of the height.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|