2025-05-13 19:22:01 +08:00

166 lines
5.2 KiB
Plaintext

[gd_scene load_steps=12 format=4]
[ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"]
[ext_resource type="Texture2D" path="res://Sprites/Characters/ch1dw chars.png" id="2"]
[sub_resource type="Animation" id="Animation_v747m"]
resource_name = "Attack"
length = 2.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2, 0.3, 0.4, 0.5, 0.6, 0.8, 1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.8),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(80, 300, 60, 60), Rect2(140, 300, 60, 60), Rect2(0, 360, 60, 60), Rect2(140, 300, 60, 60), Rect2(0, 360, 60, 60), Rect2(140, 300, 60, 60), Rect2(0, 360, 60, 60), Rect2(60, 360, 60, 60), Rect2(120, 360, 60, 60), Rect2(180, 360, 60, 60), Rect2(120, 360, 60, 60), Rect2(180, 360, 60, 60), Rect2(120, 360, 60, 60), Rect2(180, 360, 60, 60)]
}
tracks/1/type = "method"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.2, 1.2),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [15.0, 1.0],
"method": &"Shake"
}, {
"args": [15.0, 1.0],
"method": &"Shake"
}]
}
[sub_resource type="Animation" id="Animation_rsjk0"]
resource_name = "Hurt"
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(200, 300, 60, 60)]
}
[sub_resource type="Animation" id="Animation_5ivb7"]
resource_name = "Idle"
length = 0.800000011920929
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.3),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [Rect2(0, 300, 40, 60), Rect2(40, 300, 40, 60)]
}
[sub_resource type="Animation" id="Animation_dd53f"]
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [Rect2(0, 300, 40, 60)]
}
[sub_resource type="Animation" id="Animation_67py0"]
resource_name = "Ring1"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 1.8),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(80, 300, 60, 60), Rect2(140, 300, 60, 60), Rect2(0, 360, 60, 60), Rect2(140, 300, 60, 60), Rect2(0, 360, 60, 60), Rect2(140, 300, 60, 60), Rect2(180, 360, 60, 60)]
}
[sub_resource type="Animation" id="Animation_8osg1"]
resource_name = "Ring2"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 1.8),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(60, 360, 60, 60), Rect2(120, 360, 60, 60), Rect2(180, 360, 60, 60), Rect2(120, 360, 60, 60), Rect2(180, 360, 60, 60), Rect2(120, 360, 60, 60), Rect2(180, 360, 60, 60)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7eip5"]
_data = {
&"Attack": SubResource("Animation_v747m"),
&"Hurt": SubResource("Animation_rsjk0"),
&"Idle": SubResource("Animation_5ivb7"),
&"RESET": SubResource("Animation_dd53f"),
&"Ring1": SubResource("Animation_67py0"),
&"Ring2": SubResource("Animation_8osg1")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_oliwm"]
size = Vector2(31, 20)
[sub_resource type="CircleShape2D" id="CircleShape2D_nauhb"]
radius = 17.029399871826172
[node name="BellBoss" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
script = ExtResource("1")
id = 21
singleDirection = true
extras = []
anim = NodePath("AnimationPlayer")
sprite = NodePath("Sprite")
collider = NodePath("CollisionShape2D")
trigger = NodePath("Trigger")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_7eip5")
}
autoplay = "Idle"
[node name="Sprite" type="Sprite2D" parent="."]
texture = ExtResource("2")
offset = Vector2(0, -30)
region_enabled = true
region_rect = Rect2(0, 300, 40, 60)
region_filter_clip_enabled = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.5, -10)
shape = SubResource("RectangleShape2D_oliwm")
[node name="Trigger" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
position = Vector2(1, -20)
shape = SubResource("CircleShape2D_nauhb")