mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
This also improves visuals in the Voxel and Dynamic Split Screen demos, and fixes splitscreen mode in the Platformer 2D demo. Most demos (other than physics tests) have also had their physics FPS increased to 120. This is done consistency with 4.x, but also for the benefits it still provides when interpolation are enabled (lower input lag, more stable simulation).
133 lines
4.8 KiB
Plaintext
133 lines
4.8 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=[ {
|
|
"base": "MenuButton",
|
|
"class": "OptionMenu",
|
|
"language": "GDScript",
|
|
"path": "res://utils/option_menu.gd"
|
|
}, {
|
|
"base": "Node2D",
|
|
"class": "Test",
|
|
"language": "GDScript",
|
|
"path": "res://test.gd"
|
|
}, {
|
|
"base": "Test",
|
|
"class": "TestCharacter",
|
|
"language": "GDScript",
|
|
"path": "res://tests/functional/test_character.gd"
|
|
} ]
|
|
_global_script_class_icons={
|
|
"OptionMenu": "",
|
|
"Test": "",
|
|
"TestCharacter": ""
|
|
}
|
|
|
|
[application]
|
|
|
|
config/name="2D Physics Tests"
|
|
config/description="This demo contains a series of tests for the 2D physics engine.
|
|
|
|
They can be used for different purpose:
|
|
|
|
- Functional tests to check for regressions and behavior of the 2D physics engine
|
|
- Performance tests to evaluate performance of the 2D physics engine"
|
|
run/main_scene="res://main.tscn"
|
|
config/icon="res://icon.png"
|
|
|
|
[autoload]
|
|
|
|
Log="*res://utils/system_log.gd"
|
|
System="*res://utils/system.gd"
|
|
|
|
[display]
|
|
|
|
window/dpi/allow_hidpi=true
|
|
window/stretch/mode="2d"
|
|
window/stretch/aspect="expand"
|
|
|
|
[input]
|
|
|
|
ui_left={
|
|
"deadzone": 0.5,
|
|
"events": [ ]
|
|
}
|
|
ui_right={
|
|
"deadzone": 0.5,
|
|
"events": [ ]
|
|
}
|
|
ui_up={
|
|
"deadzone": 0.5,
|
|
"events": [ ]
|
|
}
|
|
ui_down={
|
|
"deadzone": 0.5,
|
|
"events": [ ]
|
|
}
|
|
toggle_full_screen={
|
|
"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":70,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
exit={
|
|
"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":16777217,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
toggle_debug_collision={
|
|
"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":67,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
restart_test={
|
|
"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":82,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
toggle_pause={
|
|
"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":80,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
character_left={
|
|
"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":16777231,"physical_scancode":0,"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":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
character_right={
|
|
"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":16777233,"physical_scancode":0,"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":68,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
character_jump={
|
|
"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,"physical_scancode":0,"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,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
|
|
[memory]
|
|
|
|
limits/message_queue/max_size_kb=10240
|
|
|
|
[physics]
|
|
|
|
common/physics_interpolation=true
|
|
|
|
[rendering]
|
|
|
|
quality/driver/driver_name="GLES2"
|
|
vram_compression/import_etc=true
|
|
vram_compression/import_etc2=false
|
|
environment/default_clear_color=Color( 0.184314, 0.184314, 0.184314, 1 )
|
|
quality/filters/msaa=2
|