103 lines
4.6 KiB
Text
103 lines
4.6 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="Dancer"
|
|
run/main_scene="uid://cujd7ltkrnxpt"
|
|
config/features=PackedStringArray("4.6", "C#", "GL Compatibility")
|
|
|
|
[aseprite]
|
|
|
|
animation/layers/only_include_visible_layers_by_default=true
|
|
import/import_plugin/default_automatic_importer="Static Texture"
|
|
|
|
[display]
|
|
|
|
window/size/viewport_width=640
|
|
window/size/viewport_height=360
|
|
window/size/window_width_override=1280
|
|
window/size/window_height_override=720
|
|
window/stretch/mode="viewport"
|
|
window/vsync/vsync_mode=3
|
|
|
|
[dotnet]
|
|
|
|
project/assembly_name="Dancer"
|
|
|
|
[editor_plugins]
|
|
|
|
enabled=PackedStringArray("res://addons/AsepriteWizard/plugin.cfg", "res://addons/TileMapDual/plugin.cfg")
|
|
|
|
[input]
|
|
|
|
move_left={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
|
|
, 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)
|
|
]
|
|
}
|
|
move_right={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
|
|
, 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)
|
|
]
|
|
}
|
|
move_up={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null)
|
|
, 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":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
move_down={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null)
|
|
, 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":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
jump={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":true,"script":null)
|
|
, 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)
|
|
]
|
|
}
|
|
attack={
|
|
"deadzone": 0.2,
|
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":true,"script":null)
|
|
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":1,"position":Vector2(207, 11),"global_position":Vector2(211, 49),"factor":1.0,"button_index":1,"canceled":false,"pressed":true,"double_click":false,"script":null)
|
|
]
|
|
}
|
|
|
|
[layer_names]
|
|
|
|
2d_physics/layer_1="environment"
|
|
2d_physics/layer_2="player_hurtbox"
|
|
2d_physics/layer_3="enemy_hurtbox"
|
|
2d_physics/layer_4="player_hitbox"
|
|
2d_physics/layer_5="enemy_hitbox"
|
|
|
|
[physics]
|
|
|
|
2d/run_on_separate_thread=true
|
|
common/physics_ticks_per_second=120
|
|
common/physics_jitter_fix=0.0
|
|
3d/physics_engine="Dummy"
|
|
2d/default_gravity=480.0
|
|
common/physics_interpolation=true
|
|
|
|
[rendering]
|
|
|
|
rendering_device/vsync/swapchain_image_count=2
|
|
textures/canvas_textures/default_texture_filter=0
|
|
rendering_device/driver.windows="d3d12"
|
|
renderer/rendering_method="gl_compatibility"
|
|
renderer/rendering_method.mobile="gl_compatibility"
|
|
environment/defaults/default_clear_color=Color(0.063487835, 0.09127209, 0.12370577, 1)
|
|
2d/snap/snap_2d_transforms_to_pixel=true
|