77 lines
2.7 KiB
Text
77 lines
2.7 KiB
Text
; 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=5
|
|
|
|
[application]
|
|
|
|
config/name="rectangular"
|
|
run/main_scene="res://main/main.tscn"
|
|
config/features=PackedStringArray("4.3", "Forward Plus")
|
|
boot_splash/bg_color=Color(0, 0, 0, 1)
|
|
config/icon="res://icon.svg"
|
|
|
|
[autoload]
|
|
|
|
Levels="*res://core/globals/levels.gd"
|
|
NodeRegistry="*res://core/globals/node_registry.gd"
|
|
Gamestate="*res://core/globals/gamestate.gd"
|
|
|
|
[debug]
|
|
|
|
settings/stdout/print_fps=true
|
|
|
|
[display]
|
|
|
|
window/size/viewport_width=800
|
|
window/size/viewport_height=450
|
|
window/stretch/mode="viewport"
|
|
window/stretch/aspect="expand"
|
|
window/stretch/scale_mode="integer"
|
|
|
|
[global_group]
|
|
|
|
text_viewport="Render this in the TextViewport"
|
|
|
|
[input]
|
|
|
|
player_jump={
|
|
"deadzone": 0.5,
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":true,"script":null)
|
|
]
|
|
}
|
|
player_left={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
|
|
]
|
|
}
|
|
player_right={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
|
|
]
|
|
}
|
|
|
|
[physics]
|
|
|
|
common/physics_ticks_per_second=120
|
|
common/max_physics_steps_per_frame=16
|
|
common/physics_jitter_fix=0.0
|
|
2d/physics_engine="Rapier2D"
|
|
common/physics_interpolation=true
|
|
|
|
[rendering]
|
|
|
|
environment/defaults/default_clear_color=Color(0, 0, 0, 1)
|
|
anti_aliasing/quality/screen_space_aa=1
|
|
anti_aliasing/size/mode=3
|
|
anti_aliasing/stretch/aspect="keep"
|
|
anti_aliasing/stretch/mode="viewport"
|
|
anti_aliasing/stretch/scale_mode="integer"
|