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
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 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
Panel linking help #218852
07/31/08 02:56
07/31/08 02:56
Joined: Jun 2008
Posts: 11
Manila, Philippines
P
Polygon_Digital Offline OP
Newbie
Polygon_Digital  Offline OP
Newbie
P

Joined: Jun 2008
Posts: 11
Manila, Philippines
Hi guys.

I'd like to ask what command do you use when you kink the panels

E.g the splash screen of the page then when you click the buttong it will go to another panel/windows (When I click the option button it will go option menu etc.).

Thanks...



Last edited by Polygon_Digital; 07/31/08 02:56.
Re: Panel linking help [Re: Polygon_Digital] #218861
07/31/08 05:14
07/31/08 05:14
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Are you asking how do you go from one menu to another.

For this you would need to write a function and attach it to the function_on of the button properties...

If you are clever about it you can write one big function that controls every menu/panel and changes it depending upon its name or button number.

Here's a little somthing to get you started...

function main_to_options()
{
pnl_mainmenu.visible = OFF;
pnl_options.visible = ON;
}

attach this to your button that takes you to the options menu and it will chnage it. Its a little boring though, just a simple click and change. You could make it more interestung by coding a fade effect or another transition.
Use a while loop to increase/decrease the panel's alpha.

Re: Panel linking help [Re: DJBMASTER] #218918
07/31/08 11:24
07/31/08 11:24
Joined: Jun 2008
Posts: 11
Manila, Philippines
P
Polygon_Digital Offline OP
Newbie
Polygon_Digital  Offline OP
Newbie
P

Joined: Jun 2008
Posts: 11
Manila, Philippines
Originally Posted By: DJBMASTER
Are you asking how do you go from one menu to another.

For this you would need to write a function and attach it to the function_on of the button properties...

If you are clever about it you can write one big function that controls every menu/panel and changes it depending upon its name or button number.

Here's a little somthing to get you started...

function main_to_options()
{
pnl_mainmenu.visible = OFF;
pnl_options.visible = ON;
}

attach this to your button that takes you to the options menu and it will chnage it. Its a little boring though, just a simple click and change. You could make it more interestung by coding a fade effect or another transition.
Use a while loop to increase/decrease the panel's alpha.


Yes sir that's it.

Sir more please.

Example maybe.

Thank you very much.


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