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
2 registered members (AndrewAMD, TipmyPip), 12,420 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
View within a Panel? #141712
07/17/07 18:03
07/17/07 18:03
Joined: Aug 2006
Posts: 41
Racine, WI, USA
dreadFusemonkey Offline OP
Newbie
dreadFusemonkey  Offline OP
Newbie

Joined: Aug 2006
Posts: 41
Racine, WI, USA
I am working on an A7 lite-c project. I have a minimap VIEW that I would like to make drag-able and resize-able. (Anyone here ever play Minions of Mirth?). I haven't seen any sample code, and search didn't turn anything up that looked related.

So, my plan is to have a PANEL with the VIEW superimposed over it, and have buttons on the PANEL that I will use for resizing/dragging/closing/zooming .

Unfortunately, I can't get the VIEW to stay above the PANEL. I have set the VIEW's layer to a larger number than the PANEL's, but the PANEL is always covering the VIEW. I have tried making the VIEW a little bigger than the PANEL to test to make sure the VIEW is actually being displayed, and it is peeking out from behind the PANEL.

Am I making this too complicated? Does this sound like a good solution, or is there a better way? And, is there something besides the "layer" property that I need to fiddle with to make this work?

Thanks for any help you can offer.


To crush your enemy...see them driven before you, and to hear da lamentation of da vimmen!
Re: View within a Panel? [Re: dreadFusemonkey] #141713
07/17/07 18:33
07/17/07 18:33
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline
Member
dennis  Offline
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
Hi!

"Panels, texts and view entities with a negative layer value are now drawn below VIEW objects, and can be used to draw into the background of a view when the sky is switched off."
- Manual new features 7.04

Did not test it yet....but it should work....

Re: View within a Panel? [Re: dennis] #141714
07/17/07 19:36
07/17/07 19:36
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
You can make it this way:
make your panel cover the view
make a cutout hole in your panel using alpha-channel or overlay, this will create an illusion that the view is over the panel

Re: View within a Panel? [Re: Shadow969] #141715
07/17/07 21:49
07/17/07 21:49
Joined: Aug 2006
Posts: 41
Racine, WI, USA
dreadFusemonkey Offline OP
Newbie
dreadFusemonkey  Offline OP
Newbie

Joined: Aug 2006
Posts: 41
Racine, WI, USA
Dennis: I tried what the manual said, setting my panel layer to -10 and my view layer to a positive number, and the panel still overlaps. I have version 7.04. My level does have a sky cube - I don't know if this statement, "...when the sky is switched off" says I can't have a sky? or can I turn the sky off on my minimap view?

Shadow: I created a 256x256 TGA w/ a colored border and a transparent background. I used it for the panel bmap, and viola - I could see my minimap view. Thanks.


To crush your enemy...see them driven before you, and to hear da lamentation of da vimmen!
Re: View within a Panel? [Re: dreadFusemonkey] #141716
07/17/07 22:02
07/17/07 22:02
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline
Member
dennis  Offline
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
Probably it has something to do with the sky cube....if I find some time I will test it....


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