155 lines
5.7 KiB
Text
155 lines
5.7 KiB
Text
[gd_scene format=3 uid="uid://ce2k04khaub8n"]
|
|
|
|
[ext_resource type="Script" uid="uid://bx500kvj301vt" path="res://player/player.gd" id="1_g1dw6"]
|
|
[ext_resource type="SpriteFrames" uid="uid://d0dy3j0qdycqf" path="res://player/player.aseprite" id="2_yw30f"]
|
|
[ext_resource type="Texture2D" uid="uid://blw6f2ktsrcmg" path="res://player/hair.aseprite" id="3_qjkh3"]
|
|
[ext_resource type="Script" uid="uid://b7shvbf7iv6an" path="res://spring2d.gd" id="4_yw30f"]
|
|
[ext_resource type="Script" uid="uid://bk0k3j7th00wu" path="res://player/ribbon.gd" id="5_qjkh3"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_e2o6t"]
|
|
radius = 4.0
|
|
height = 14.0
|
|
|
|
[sub_resource type="Animation" id="Animation_g6k8r"]
|
|
length = 0.001
|
|
step = 0.016666668
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body/Ribbon:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(2),
|
|
"points": PackedFloat32Array(1, -0.1666675, 0, 0.1666675, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Body/Ribbon:position:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(2),
|
|
"points": PackedFloat32Array(1, -0.1666675, 0, 0.1666675, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Body/Ribbon:new_segments_damage")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_qjkh3"]
|
|
resource_name = "slash"
|
|
length = 0.20000167
|
|
step = 0.016666668
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Body/Ribbon:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 2, 2, 2, 2, 2, 2, 2, 0),
|
|
"points": PackedFloat32Array(3, 0, 0, 0.027242973, 2.1666667, 5, -6.0920916e-05, 0.02146086, 0.002777778, -0.9785392, -5, -0.002777778, 0.5833334, 0.002777778, -0.5833334, -3, -0.002777778, -0.75, 0.0027777783, 0.75000006, 21, -0.0027777783, -2.2500002, 0.0027777776, 2.2499998, 46, -0.0027777776, 0.45238093, 0.016666668, -2.7142859, 9, -0.016666668, 5.7148743, 0.005692142, -1.9517924, 2, -0.005555558, 1.4640074, 0.00013658404, -0.035992794, 0, -0.0029143642, 0.16666667, 0, 0),
|
|
"times": PackedFloat32Array(-0.00036552548, 0, 0.016666668, 0.033333335, 0.050000004, 0.06666667, 0.16666667, 0.20000002, 0.20081952)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Body/Ribbon:position:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0, 2, 2, 2, 2, 2, 2, 2, 0),
|
|
"points": PackedFloat32Array(2, 0, 0, 0.027242973, -0.33333334, 5, -6.0920916e-05, 0, 0.002777778, 0, 3, -0.002777778, 0.6666667, 0.002777778, -0.6666667, -4, -0.002777778, 0.49999997, 0.0027777783, -0.5, -6, -0.0027777783, -0.33333337, 0.0027777776, 0.33333328, 0, -0.0027777776, -0.23809522, 0.016666668, 1.4285715, 8, -0.016666668, 0, 0.005692142, 0, 3, -0.005555558, 1.3013397, 0.00013658404, -0.03199359, 0, -0.0029143642, -0.16666667, 0, 0),
|
|
"times": PackedFloat32Array(-0.00036552548, 0, 0.016666668, 0.033333335, 0.050000004, 0.06666667, 0.16666667, 0.20000002, 0.20081952)
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath("Body/Ribbon:new_segments_damage")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0, 0.016666668, 0.16666667),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [false, true, false]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_g6k8r"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_g6k8r"),
|
|
&"slash": SubResource("Animation_qjkh3")
|
|
}
|
|
|
|
[node name="Player" type="CharacterBody2D" unique_id=500011307]
|
|
physics_interpolation_mode = 1
|
|
collision_layer = 2
|
|
floor_constant_speed = true
|
|
floor_max_angle = 0.24783675
|
|
script = ExtResource("1_g1dw6")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=84142517]
|
|
position = Vector2(0, 1)
|
|
shape = SubResource("CapsuleShape2D_e2o6t")
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="." unique_id=1975474809]
|
|
limit_enabled = false
|
|
|
|
[node name="Body" type="AnimatedSprite2D" parent="." unique_id=559621433]
|
|
unique_name_in_owner = true
|
|
sprite_frames = ExtResource("2_yw30f")
|
|
animation = &"idle"
|
|
autoplay = "idle"
|
|
metadata/_aseprite_wizard_interface_config_ = {
|
|
"animation_section": true,
|
|
"layer_section": false,
|
|
"output_section": false,
|
|
"pending_changes": {
|
|
"source": "res://player/player.aseprite"
|
|
},
|
|
"slice_section": false
|
|
}
|
|
metadata/_aseprite_wizard_config_ = {
|
|
"embed_tex": true,
|
|
"layers": [],
|
|
"o_ex_p": "",
|
|
"o_folder": "",
|
|
"o_name": "",
|
|
"only_visible": false,
|
|
"scale": "1.0",
|
|
"should_round_fps": true,
|
|
"slice": "",
|
|
"source": "res://player.aseprite",
|
|
"source_uid": 8921683997410207965
|
|
}
|
|
metadata/_aseprite_wizard_source_file_hash_ = "61168df4a163c039cfaab97f4fccb905"
|
|
|
|
[node name="Spring2D" type="Node2D" parent="Body" unique_id=1050714188]
|
|
show_behind_parent = true
|
|
script = ExtResource("4_yw30f")
|
|
max_offset = Vector2(1, 2)
|
|
|
|
[node name="Hair" type="Sprite2D" parent="Body/Spring2D" unique_id=796557000]
|
|
unique_name_in_owner = true
|
|
position = Vector2(-2, 2)
|
|
texture = ExtResource("3_qjkh3")
|
|
|
|
[node name="Ribbon" type="Node2D" parent="Body" unique_id=45519559]
|
|
position = Vector2(1, 1)
|
|
script = ExtResource("5_qjkh3")
|
|
color = Color(0.49411765, 0.76862746, 0.75686276, 1)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1251324400]
|
|
libraries/ = SubResource("AnimationLibrary_g6k8r")
|