mirror of
https://github.com/GDQuest/godot-platformer-2d.git
synced 2026-01-23 02:14:19 +00:00
313 lines
12 KiB
Text
313 lines
12 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=4
|
|
|
|
_global_script_classes=[ {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "AlignBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/AlignBehavior2D.gd"
|
|
}, {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "ArriveBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/ArriveBehavior2D.gd"
|
|
}, {
|
|
"base": "SchedulableJob",
|
|
"class": "BalancedSubScheduler",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Scheduler/BalancedSubScheduler.gd"
|
|
}, {
|
|
"base": "Node",
|
|
"class": "BehaviorController2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/BehaviorController2D.gd"
|
|
}, {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "BlendedBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/BlendedBehavior2D.gd"
|
|
}, {
|
|
"base": "Area2D",
|
|
"class": "DamageSource",
|
|
"language": "GDScript",
|
|
"path": "res://src/Combat/DamageSource.gd"
|
|
}, {
|
|
"base": "Node2D",
|
|
"class": "DrawingUtils",
|
|
"language": "GDScript",
|
|
"path": "res://src/Autoload/DrawingUtils.gd"
|
|
}, {
|
|
"base": "InterceptBehavior2D",
|
|
"class": "EvadeBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/EvadeBehavior2D.gd"
|
|
}, {
|
|
"base": "SeekBehavior2D",
|
|
"class": "FleeBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/FleeBehavior2D.gd"
|
|
}, {
|
|
"base": "RayCast2D",
|
|
"class": "FloorDetector",
|
|
"language": "GDScript",
|
|
"path": "res://src/Player/FloorDetector.gd"
|
|
}, {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "FollowHeatmapBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/FollowHeatmapBehavior2D.gd"
|
|
}, {
|
|
"base": "Reference",
|
|
"class": "Hit",
|
|
"language": "GDScript",
|
|
"path": "res://src/Combat/Hit.gd"
|
|
}, {
|
|
"base": "Position2D",
|
|
"class": "Hook",
|
|
"language": "GDScript",
|
|
"path": "res://src/Player/Hook/Hook.gd"
|
|
}, {
|
|
"base": "Area2D",
|
|
"class": "HookTarget",
|
|
"language": "GDScript",
|
|
"path": "res://src/Objects/HookTarget.gd"
|
|
}, {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "InterceptBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/InterceptBehavior2D.gd"
|
|
}, {
|
|
"base": "Reference",
|
|
"class": "Pathfinder",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Pathfinder.gd"
|
|
}, {
|
|
"base": "KinematicBody2D",
|
|
"class": "Player",
|
|
"language": "GDScript",
|
|
"path": "res://src/Player/Player.gd"
|
|
}, {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "PrioritySteering2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/PrioritySteering2D.gd"
|
|
}, {
|
|
"base": "Reference",
|
|
"class": "SchedulableJob",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Scheduler/SchedulableJob.gd"
|
|
}, {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "SeekBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/SeekBehavior2D.gd"
|
|
}, {
|
|
"base": "Node",
|
|
"class": "State",
|
|
"language": "GDScript",
|
|
"path": "res://src/Main/StateMachine/State.gd"
|
|
}, {
|
|
"base": "Node",
|
|
"class": "StateMachine",
|
|
"language": "GDScript",
|
|
"path": "res://src/Main/StateMachine/StateMachine.gd"
|
|
}, {
|
|
"base": "Node",
|
|
"class": "Stats",
|
|
"language": "GDScript",
|
|
"path": "res://src/Combat/Stats.gd"
|
|
}, {
|
|
"base": "Node",
|
|
"class": "SteeringBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/SteeringBehavior2D.gd"
|
|
}, {
|
|
"base": "Reference",
|
|
"class": "SteeringMotion2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/SteeringMotion2D.gd"
|
|
}, {
|
|
"base": "SteeringBehavior2D",
|
|
"class": "StraightLineBehavior2D",
|
|
"language": "GDScript",
|
|
"path": "res://src/AI/Steering/Behaviors/Individual/StraightLineBehavior2D.gd"
|
|
} ]
|
|
_global_script_class_icons={
|
|
"AlignBehavior2D": "",
|
|
"ArriveBehavior2D": "",
|
|
"BalancedSubScheduler": "",
|
|
"BehaviorController2D": "",
|
|
"BlendedBehavior2D": "",
|
|
"DamageSource": "",
|
|
"DrawingUtils": "",
|
|
"EvadeBehavior2D": "",
|
|
"FleeBehavior2D": "",
|
|
"FloorDetector": "",
|
|
"FollowHeatmapBehavior2D": "",
|
|
"Hit": "",
|
|
"Hook": "res://assets/icons/icon_hook.svg",
|
|
"HookTarget": "",
|
|
"InterceptBehavior2D": "",
|
|
"Pathfinder": "",
|
|
"Player": "",
|
|
"PrioritySteering2D": "",
|
|
"SchedulableJob": "",
|
|
"SeekBehavior2D": "",
|
|
"State": "",
|
|
"StateMachine": "",
|
|
"Stats": "",
|
|
"SteeringBehavior2D": "",
|
|
"SteeringMotion2D": "",
|
|
"StraightLineBehavior2D": ""
|
|
}
|
|
|
|
[application]
|
|
|
|
config/name="Hook!"
|
|
run/main_scene="res://src/Main/Game.tscn"
|
|
config/icon="res://icon.png"
|
|
|
|
[autoload]
|
|
|
|
Settings="*res://src/Autoload/Settings.gd"
|
|
Events="*res://src/Autoload/Events.gd"
|
|
Steering="*res://src/Autoload/Steering.gd"
|
|
Utils="*res://src/Autoload/Utils.gd"
|
|
LevelLoader="*res://src/Autoload/LevelLoader.gd"
|
|
|
|
[display]
|
|
|
|
window/size/width=1920
|
|
window/size/height=1080
|
|
window/size/test_width=1280
|
|
window/size/test_height=720
|
|
window/stretch/mode="2d"
|
|
window/stretch/aspect="expand"
|
|
|
|
[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,"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)
|
|
]
|
|
}
|
|
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,"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)
|
|
]
|
|
}
|
|
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,"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,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
hook={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":5,"pressure":0.0,"pressed":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":4,"pressure":0.0,"pressed":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":7,"pressure":0.0,"pressed":false,"script":null)
|
|
]
|
|
}
|
|
aim_left={
|
|
"deadzone": 0.0,
|
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
|
]
|
|
}
|
|
aim_right={
|
|
"deadzone": 0.0,
|
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
|
]
|
|
}
|
|
aim_up={
|
|
"deadzone": 0.0,
|
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
|
]
|
|
}
|
|
aim_down={
|
|
"deadzone": 0.0,
|
|
"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
|
]
|
|
}
|
|
aim={
|
|
"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,"unicode":0,"echo":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":2,"pressure":0.0,"pressed":false,"script":null)
|
|
]
|
|
}
|
|
restart={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"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":87,"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)
|
|
]
|
|
}
|
|
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":83,"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)
|
|
]
|
|
}
|
|
toggle_debug_move={
|
|
"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,"unicode":0,"echo":false,"script":null)
|
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":10,"pressure":0.0,"pressed":false,"script":null)
|
|
]
|
|
}
|
|
debug_sprint={
|
|
"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,"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)
|
|
]
|
|
}
|
|
click={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
|
]
|
|
}
|
|
toggle_debug_menu={
|
|
"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,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
DEBUG_die={
|
|
"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":81,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
toggle_full_screen={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":true,"pressed":false,"scancode":16777244,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
|
|
[layer_names]
|
|
|
|
2d_physics/layer_1="Player"
|
|
2d_physics/layer_2="World"
|
|
2d_physics/layer_3="Hookable"
|
|
2d_physics/layer_4="PassThrough"
|
|
2d_physics/layer_5="Enemies"
|
|
2d_physics/layer_6="CameraAnchor"
|
|
2d_physics/layer_11="DamageSource"
|
|
2d_physics/layer_12="Hitbox"
|
|
|
|
[rendering]
|
|
|
|
quality/2d/use_pixel_snap=true
|
|
environment/default_environment="res://default_env.tres"
|