Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,403 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Panel should "hide" entities but it does not... #290240
09/17/09 20:53
09/17/09 20:53
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hi, I have some entities that react on a mouse over and mouse leave. Now I want to place a panel over the screen so that the entities are not touchable any more.

But when I put a panel over the entities I can still touch them... Is there any chance that I can avoid that?

Re: Panel should "hide" entities but it does not... [Re: PadMalcom] #290241
09/17/09 21:13
09/17/09 21:13
Joined: Sep 2009
Posts: 12
Z
zero_karma Offline
Newbie
zero_karma  Offline
Newbie
Z

Joined: Sep 2009
Posts: 12
Do you mean something like...

if(is(sweet_panel.SHOW)) {set(my,UNTOUCHABLE);} else {reset(my,UNTOUCHABLE);}

... and plunk it down in the while loop of your entities.

Re: Panel should "hide" entities but it does not... [Re: zero_karma] #290243
09/17/09 21:19
09/17/09 21:19
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
That might be a possibility but I thought about something easier like set(sweet_panel,HIDE_ENTITIES_BEHIND_ME);

wink

Re: Panel should "hide" entities but it does not... [Re: PadMalcom] #290246
09/17/09 22:07
09/17/09 22:07
Joined: Sep 2009
Posts: 12
Z
zero_karma Offline
Newbie
zero_karma  Offline
Newbie
Z

Joined: Sep 2009
Posts: 12
Do you want them actually hidden? As in objects are not rendered behind sweet panels?

Re: Panel should "hide" entities but it does not... [Re: zero_karma] #290247
09/17/09 22:33
09/17/09 22:33
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
No just "unclickable" and "untouchable", but I implemented your solution. That will do it laugh Thanks!

Re: Panel should "hide" entities but it does not... [Re: PadMalcom] #290248
09/17/09 22:47
09/17/09 22:47
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
if(mouse_panel==NULL) trigger the event otherwise dont.

Last edited by Quadraxas; 09/17/09 22:47.

3333333333

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

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