|
Is it possible to see through prefab...
#67565
03/21/06 15:02
03/21/06 15:02
|
Joined: Aug 2005
Posts: 176 Latvia
HackerL
OP
Member
|
OP
Member
Joined: Aug 2005
Posts: 176
Latvia
|
Is it possible to see through prefab in one place with textures? In my game i see my texture or prefab like this But i need to see through that black place. Can anybody help? Thanks.
|
|
|
Re: Is it possible to see through prefab...
[Re: Roy]
#67568
03/22/06 21:34
03/22/06 21:34
|
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
|
I did the color (0, 0, 1), the darkest blue you can get and the darkest color you can get that isn't black, and the overlay flag didn't work. But then again, it could be that I was using 32-bit color instead.... 16-bit color has the values snap to multiples of 8 (4 for green) so you could actually go with (8, 4, 8).
"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: Is it possible to see through prefab...
[Re: HackerL]
#67570
03/25/06 15:57
03/25/06 15:57
|
Joined: Nov 2004
Posts: 888
beegee
User
|
User
Joined: Nov 2004
Posts: 888
|
I found your problem:
On prefabs the lucency(transparent also alpha or overlay) don't work. Only on models and sprites(skys?). So you have to make a sprite or a (sky?) with the color black(0,0,0) on this certain places.
Regards, beegee
------------------------- GenuineMotors.de
Fratch - Newer statistics panel for GameStudio
|
|
|
Re: Is it possible to see through prefab...
[Re: beegee]
#67571
03/26/06 02:01
03/26/06 02:01
|
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
|
Anything involving level geometry cannot be made transparent. You can build a map entity, however, but you can only have the entire object as one set level of transparency. For full control on transparency, use a model with a TGA skin where the TGA has alpha channel.
"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
|
|
|
|