Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,435 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Lite-C] alpha < 50 & overlay = panel invisible #157161
09/27/07 11:41
09/27/07 11:41
Joined: Sep 2007
Posts: 42
Germany - Braunschweig
deleRium Offline OP
Newbie
deleRium  Offline OP
Newbie

Joined: Sep 2007
Posts: 42
Germany - Braunschweig
Hi.

A few days ago I posted my problem in the "Lite-C Scripting" Forum. I didn't get any usable answers, so I try it here:

Code:
PANEL* pConsole = {
bmap = bConsole;
layer = 1;
flags = TRANSLUCENT;
alpha = 30;
}

...

pConsole.pos_x = 1;
pConsole.pos_y = 1;
set(pConsole,OVERLAY);
set(pConsole,VISIBLE);



When it's set visible, it doesn't appear. But if i set the alpha to a value above 50, it appears. All alpha-values above 50 lets the transparency in- and decrease normaly.

Without the OVERLAY flag, everything works fine!

Lite-C Free-Edition V1.05.5
Direct X 9.0c
Old TNT2 (don't know the exact specs)

Link to my executable: http://rapidshare.com/files/57552769/panel_bug.rar
Link to original post: http://www.coniserver.net/ubbthreads/showflat.php/Cat/0/Number/787868/an/0/page/0#Post787868

Re: [Lite-C] alpha < 50 & overlay = panel invisibl [Re: deleRium] #157162
09/27/07 14:19
09/27/07 14:19
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Yes, overlays get 'holes' on transparent parts - that's just what the OVERLAY flag is used for. You can adjust this through:

http://manual.conitec.net/d3d_alpharef.htm

Re: [Lite-C] alpha < 50 & overlay = panel invisibl [Re: jcl] #157163
09/27/07 15:45
09/27/07 15:45
Joined: Sep 2007
Posts: 42
Germany - Braunschweig
deleRium Offline OP
Newbie
deleRium  Offline OP
Newbie

Joined: Sep 2007
Posts: 42
Germany - Braunschweig
Thx, works now

Re: [Lite-C] alpha < 50 & overlay = panel invisibl [Re: deleRium] #209875
06/06/08 11:54
06/06/08 11:54
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline
Senior Member
Clemens  Offline
Senior Member

Joined: Sep 2003
Posts: 303
Germany
You should add this information as a hint for OVERLAY to the manual! Spares searching time wink


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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