Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by ukgamer. 08/30/26 14:27
ZorroGPT
by TipmyPip. 08/29/26 06:56
Retrieve optimize() variables order (edited)
by NorbertSz. 08/25/26 13:24
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 1,245 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 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,133
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,133
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