Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] Struggeling with Fullscreen

Author
Message
SimonP
4
Years of Service
User Offline
Joined: 28th Feb 2020
Location:
Posted: 28th Feb 2020 11:27
Hey,

I want to create a simple desktop game in HD, I'm using 1920x1080 as base resolution.
I'm using the new "scenes" tool by AppGameKit Studio, but the scenes script always overwrite the Display settings.

Here is my main code:



I'm changing my scenes with this function:




Now after changing the scene, the scene script has it's own unchangeable display settings:



What is the correct way to setup scenes without changing the initial display setup?

Regards

The author of this post has marked a post as an answer.

Go to answer

Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 28th Feb 2020 18:38
I don't work with scenes myself but can't you just change the data to your own variables?



Replace menu_base_width with your own data?
Regards Sph!nx
SimonP
4
Years of Service
User Offline
Joined: 28th Feb 2020
Location:
Posted: 28th Feb 2020 19:18
Nope. that doesnt work.

The scene script resets after saving.
SimonP
4
Years of Service
User Offline
Joined: 28th Feb 2020
Location:
Posted: 28th Feb 2020 21:24
This post has been marked by the post author as the answer.
Found a solution with the help of a nice AppGameKit Studio Discord member.

I forgot to set my 1920x1080 resolution as base in the scene ("Change Resolution" → Tick "Base" Checkbox)
Then to go into "fullscreen" one needs to set the "WindowSize" to fullscreen AFTER scene setup.

e.g.

Login to post a reply

Server time is: 2024-04-24 23:36:40
Your offset time is: 2024-04-24 23:36:40