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 (OptimusPrime, AndrewAMD), 14,595 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
Page 2 of 2 1 2
Re: panel in full screen [Re: Progger] #342349
09/26/10 17:15
09/26/10 17:15
Joined: Apr 2007
Posts: 21
B
Brahve Offline OP
Newbie
Brahve  Offline OP
Newbie
B

Joined: Apr 2007
Posts: 21
Yes that was what I need for my game. Thank you very much laugh

It is good to put this in manual online because there is nothing where you can find how to make panel to be in full screen like this with all parts to be visible. Why is this so hard with game studio to have I dont know. It is basic for all games.

Re: panel in full screen [Re: Brahve] #342356
09/26/10 18:50
09/26/10 18:50
Joined: Sep 2009
Posts: 1,032
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,032
Budapest
What do you want to do with this statement: panel.scale_x = screen_size.x/1920;?
For example, if you want a fullscreen panel i think this will be enough:
panel.size_x = screen_size.x;
panel.size_y = screen_size.y;

Do not forget to set this
panel.x=0;
panel.y=0;

Hope this help.

Last edited by Aku_Aku; 09/26/10 18:56.
Re: panel in full screen [Re: Aku_Aku] #342360
09/26/10 19:02
09/26/10 19:02
Joined: Apr 2007
Posts: 21
B
Brahve Offline OP
Newbie
Brahve  Offline OP
Newbie
B

Joined: Apr 2007
Posts: 21
No it is not good to do it like this with no bmap numbers.

My code:
panel.scale_x=(screen_size.x)/1920;
panel.scale_y=(screen_size.y)/1080;

Because my bmap is 1920/1080 and it is good but I failed because I put it before level_load. After level_load everything is work.

Thank you in any way for help.

Re: panel in full screen [Re: Brahve] #342368
09/26/10 20:44
09/26/10 20:44
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
Originally Posted By: Brahve
No it is not good to do it like this with no bmap numbers.

My code:
panel.scale_x=(screen_size.x)/1920;
panel.scale_y=(screen_size.y)/1080;

Because my bmap is 1920/1080 and it is good but I failed because I put it before level_load. After level_load everything is work.

Thank you in any way for help.
it's nothing to do with level_load,

screen_size isn't set until after the initial wait(1), so any maths with it will obviously fail

Page 2 of 2 1 2

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