Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 945 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Issues with Full Screen #479971
05/10/20 15:39
05/10/20 15:39
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I have a few players who are unable to get my game to run in full screen.

It should be detecting the current resolution of the monitor, and automatically setting that as the game's resolution, then switching to full screen mode.

It works on my system, and every other system I've tested it on. Also, the majority of other players have no problems.

I guess the first question I have is whether anyone else has encountered a similar problem, and if there are known causes and solutions for this kind of thing?

Re: Issues with Full Screen [Re: Dooley] #479974
05/10/20 20:29
05/10/20 20:29
Joined: Feb 2013
Posts: 122
Maysville, Ga
Evo Offline
Member
Evo  Offline
Member

Joined: Feb 2013
Posts: 122
Maysville, Ga
I'm not too sure what the issue is, but after you check the monitor resolution with sys_metrics(0) and sys_metrics(1), run some code to see if it's a compatible size for 3dgamestudio to render it into fullscreen. It if doesn't match one of those modes, set it to fullscreen window mode instead by making it a borderless window.

Code
video_set( game_resolution_x, game_resolution_y, 0, 2 );
video_window( vector(0.1,0.1,0), vector(sys_metrics(0),sys_metrics(1),0), 1, "Fullscreen Window");

Not sure if this helps, but based on what you've described, that's the only idea I have as to why fullscreen won't work for certain users. You could also try setting screen_size.x and screen_size.y to see if it corrects the issue.

Re: Issues with Full Screen [Re: Dooley] #479975
05/11/20 05:10
05/11/20 05:10
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Thanks,
Yeah, it's hard to know what's happening exactly. What you described is basically what I'm doing. I recommended using the full screen resolution with windowed mode (the game has no border by default) but they have not responded to that suggestion yet.

I'm wondering if there are certain monitors or configurations out there that might prevent it from going to fullscreen...

Re: Issues with Full Screen [Re: Dooley] #480255
05/28/20 15:53
05/28/20 15:53
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Ah! I think I may have it. From the manual: "When video_set is called several times within the same frame, it can fail when the OS is busy with rebuilding the window while it is resized. In this case, video_set returns 0. Just call it again in the next frame with the same parameters."

It's like I can't even understand the manual. I swear I've read this page 10 times, and I never saw this!

Re: Issues with Full Screen [Re: Dooley] #480257
05/28/20 17:33
05/28/20 17:33
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted by Dooley
It's like I can't even understand the manual. I swear I've read this page 10 times, and I never saw this!
That's how I feel too when reading manual grin


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

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