Allow hiDPI in all demos that support multiple resolutions

This is required to benefit from crisp display on hiDPI monitors.
This also fixes issues related to fullscreen and input handling
when using an hiDPI display on Windows.
This commit is contained in:
Hugo Locurcio
2020-10-01 00:56:12 +02:00
parent 7a84acea76
commit fe6103256a
51 changed files with 51 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ config/icon="res://icon.png"
window/size/width=1280
window/size/height=720
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -26,6 +26,7 @@ config/icon="res://icon.png"
window/size/width=1280
window/size/height=720
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="keep"

View File

@@ -28,6 +28,7 @@ run/name=""
window/size/width=1080
window/size/height=720
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -22,6 +22,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -24,6 +24,7 @@ config/icon="res://icon.png"
[display]
window/size/width=800
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -25,6 +25,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -26,6 +26,7 @@ config/icon="res://icon.png"
window/size/width=530
window/size/height=495
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch/aspect="keep"

View File

@@ -22,6 +22,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -24,6 +24,7 @@ config/icon="res://icon.png"
[display]
window/size/width=800
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch/aspect="keep"

View File

@@ -25,6 +25,7 @@ config/icon="res://icon.png"
[display]
window/size/width=800
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch/aspect="keep"

View File

@@ -23,6 +23,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -22,6 +22,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -64,6 +64,7 @@ gdscript/warnings/unsafe_call_argument=true
window/size/width=800
window/size/height=480
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="keep"

View File

@@ -25,6 +25,7 @@ config/icon="res://icon.png"
window/size/width=640
window/size/height=400
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch_2d=true

View File

@@ -26,6 +26,7 @@ config/icon="res://icon.png"
window/size/width=1280
window/size/height=720
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -24,6 +24,7 @@ config/icon="res://icon.png"
[display]
window/size/width=800
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="keep"
stretch/aspect="keep"

View File

@@ -23,6 +23,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -28,6 +28,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/size/height=768
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch/aspect="keep_width"

View File

@@ -24,6 +24,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -25,6 +25,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -41,6 +41,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -27,6 +27,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
window/height=720

View File

@@ -39,6 +39,7 @@ Settings="*res://settings.gd"
window/size/width=1600
window/size/height=900
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -29,6 +29,7 @@ enable_audio_input=true
window/size/width=640
window/size/height=480
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -25,6 +25,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -28,6 +28,7 @@ config/icon="res://icon.png"
window/size/width=640
window/size/height=480
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -23,6 +23,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -22,6 +22,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -24,6 +24,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -23,6 +23,7 @@ config/icon="res://icon.png"
[display]
window/size/height=576
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -23,6 +23,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -25,6 +25,7 @@ global="res://global.gd"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -26,6 +26,7 @@ background_load="*res://background_load.tscn"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -25,6 +25,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -21,6 +21,7 @@ run/main_scene="res://thread.tscn"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -28,6 +28,7 @@ gdscript/warnings/return_value_discarded=false
window/size/width=600
window/size/height=540
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -23,6 +23,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -26,6 +26,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -22,6 +22,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -23,6 +23,7 @@ config/icon="res://icon.png"
[display]
window/size/width=800
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
window/fullscreen=false

View File

@@ -29,6 +29,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -25,6 +25,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -25,6 +25,7 @@ config/icon="res://icon.png"
window/size/width=640
window/size/height=400
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="keep"

View File

@@ -33,6 +33,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/vsync/use_vsync=false
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -30,6 +30,7 @@ gdscript/warnings/return_value_discarded=false
window/size/width=640
window/size/height=400
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch_2d=true

View File

@@ -24,6 +24,7 @@ Signaling="*res://Signaling.gd"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -30,6 +30,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -22,6 +22,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -30,6 +30,7 @@ config/icon="res://icon.png"
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"

View File

@@ -26,6 +26,7 @@ gdscript/warnings/return_value_discarded=false
[display]
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="keep"

View File

@@ -25,6 +25,7 @@ config/icon="res://icon.png"
window/size/width=640
window/size/height=400
window/dpi/allow_hidpi=true
window/stretch/mode="2d"
window/stretch/aspect="expand"
stretch_2d=true