mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
|
; Engine configuration file.
|
||
|
; It's best edited using the editor UI and not directly,
|
||
|
; since the parameters that go here are not all obvious.
|
||
|
;
|
||
|
; Format:
|
||
|
; [section] ; section goes between []
|
||
|
; param=value ; assign values to parameters
|
||
|
|
||
|
config_version=4
|
||
|
|
||
|
[application]
|
||
|
|
||
|
config/name="Multiple Resolutions and Aspect Ratios"
|
||
|
config/description="This project demonstrates how to set up a project to handle screens of
|
||
|
multiple resolutions and aspect ratios.
|
||
|
|
||
|
The GUI can be made to fit the window or constrained to a specific
|
||
|
aspect ratio from a list of common aspect ratios. On ultrawide aspect ratios,
|
||
|
this can be used to prevent HUD elements from being too spread apart,
|
||
|
which can harm the gameplay experience.
|
||
|
|
||
|
For non-essential HUD elements, specific controls can be made to
|
||
|
ignore this aspect ratio constraint when it makes sense
|
||
|
(e.g. a list of players on the side of the screen).
|
||
|
|
||
|
Additionally, a GUI margin setting is provided to better handle TVs
|
||
|
with an overscan area to prevent GUI elements from being cut off.
|
||
|
This can also improve the gameplay experience on large monitors
|
||
|
by bringing HUD elements closer to the center of the screen."
|
||
|
run/main_scene="res://main.tscn"
|
||
|
run/low_processor_mode=true
|
||
|
config/icon="res://icon.png"
|
||
|
|
||
|
[display]
|
||
|
|
||
|
window/size/width=648
|
||
|
window/size/height=648
|
||
|
window/size/test_width=1152
|
||
|
window/size/test_height=648
|
||
|
window/dpi/allow_hidpi=true
|
||
|
window/handheld/orientation="sensor"
|
||
|
window/stretch/mode="2d"
|
||
|
window/stretch/aspect="expand"
|
||
|
|
||
|
[rendering]
|
||
|
|
||
|
environment/default_clear_color=Color( 0.133333, 0.133333, 0.2, 1 )
|