2022-12-31 23:03:26 +01:00
|
|
|
; 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": "KinematicBody2D",
|
2023-04-06 21:19:37 +02:00
|
|
|
"class": @"Player",
|
|
|
|
"language": @"GDScript",
|
2022-12-31 23:03:26 +01:00
|
|
|
"path": "res://player/player.gd"
|
|
|
|
} ]
|
|
|
|
_global_script_class_icons={
|
|
|
|
"Player": ""
|
|
|
|
}
|
|
|
|
|
|
|
|
[application]
|
|
|
|
|
|
|
|
config/name="Skeleton2D Demo"
|
|
|
|
config/description="This demo shows how to create a rigged and animated character in 2D using
|
|
|
|
Godot's Skeleton2D node. There are several movement-related animations and
|
|
|
|
there is a simple character controller that controls the animations."
|
|
|
|
run/main_scene="res://level.tscn"
|
|
|
|
config/icon="res://icon.png"
|
|
|
|
|
|
|
|
[display]
|
|
|
|
|
|
|
|
window/size/width=1600
|
|
|
|
window/size/height=900
|
|
|
|
window/dpi/allow_hidpi=true
|
|
|
|
window/stretch/mode="2d"
|
|
|
|
window/stretch/aspect="keep_height"
|
|
|
|
|
|
|
|
[input]
|
|
|
|
|
|
|
|
move_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":65,"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":16777231,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
|
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
move_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":68,"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":16777233,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
|
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
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":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":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)
|
|
|
|
, 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(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
|
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":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)
|
|
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
walk={
|
|
|
|
"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":16777237,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
|
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null)
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
[network]
|
|
|
|
|
|
|
|
limits/debugger_stdout/max_chars_per_second=1000000
|
|
|
|
|
|
|
|
[physics]
|
|
|
|
|
|
|
|
2d/default_gravity=900
|
|
|
|
|
|
|
|
[rendering]
|
|
|
|
|
|
|
|
2d/snapping/use_gpu_pixel_snap=true
|
|
|
|
vram_compression/import_etc=true
|
|
|
|
vram_compression/import_etc2=false
|
|
|
|
quality/2d/use_pixel_snap=true
|