mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
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.
68 lines
3.0 KiB
Plaintext
68 lines
3.0 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
|
|
|
|
_global_script_classes=[ ]
|
|
_global_script_class_icons={
|
|
|
|
}
|
|
|
|
[application]
|
|
|
|
config/name="Pong Multiplayer"
|
|
config/description="A multiplayer demo of the classical pong game.
|
|
One of the players should press 'host', while the
|
|
other should select the address and press 'join'."
|
|
run/main_scene="res://lobby.tscn"
|
|
config/icon="res://icon.png"
|
|
|
|
[debug]
|
|
|
|
gdscript/warnings/return_value_discarded=false
|
|
|
|
[display]
|
|
|
|
window/size/width=640
|
|
window/size/height=400
|
|
window/dpi/allow_hidpi=true
|
|
window/stretch/mode="2d"
|
|
window/stretch/aspect="expand"
|
|
stretch_2d=true
|
|
|
|
[gdnative]
|
|
|
|
singletons=[ ]
|
|
|
|
[input]
|
|
|
|
move_down={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null)
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null)
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
move_up={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
|
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
|
|
[rendering]
|
|
|
|
quality/driver/driver_name="GLES2"
|
|
quality/2d/use_pixel_snap=true
|
|
viewport/default_clear_color=Color( 0, 0, 0, 1 )
|