Hello again!
I followed the tutorial:
https://www.adventurecreator.org/tutorials/adding-screen-resolution-option
But I only want a 1920x1080(windowed)/1920x1080(fullscreen) toggle button. Maybe it's a similar logic, but how am I supposed to do?
Thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You likely wouldn't need the SetupOptionsMenu script - just change the variable to a Boolean ("IsFullScreen"), and have the custom Action update the resolution this way:
You can then link the Boolean variable to a Toggle element in your Options menu.
Thank you so much! I also used chatGPT to help me based on your script, problem solved!
hi,
maybe someone has come across this topic
is there a way to implement toggle only to switch between fullscreen and windowed mode?
the script above gives an error, I can't quite figure out how to use it