Fullscreen's "Size Setting" is throwing an error when not null
Closed this issue · 2 comments
Versions tested on: 3.2.1
, 3.2.0
Setting "Size Setting" inside of Fullscreen Setting Resource results in:
- Error
Trying to assign value of type 'int' to a variable of type 'String'.
when running the scene - Error
Trying to assign value of type 'bool' to a variable of type 'String'.
when flipping the fullscreen switch
on a line 29 ofsetting_display_fullscreen.gd
Minimal Reproduction Demo:
ggs-fullscreen.zip
Also, fullscreen setting uses MODE_FULLSCREEN
, which causes 1px border around application. Using MODE_EXCLUSIVE_FULLSCREEN
instead fixes it. (Maybe there could be an additional setting in the setting resource?)
From here:
This is intentional and done to ensure multiwindow interface works in fullscreen (
MODE_FULLSCREEN
is only intended for GUI apps like Godot editor itself, not for games).For everything else, use
MODE_EXCLUSIVE_FULLSCREEN
(naming is bad, this mode is fully equivalent to 3.xMODE_FULLSCREEN
).I'm pretty sure it is the same in 4.2 (and other 4.x), but border was always black, now it's using
clear color
from project settings.
I've changed the issues you've mentioned. Everything should be fine in the latest push to the 3.2
branch.