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

165 lines
4.5 KiB
Plaintext

[gd_scene load_steps=13 format=4]
[ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"]
[ext_resource type="Texture2D" path="res://Sprites/Characters/lightworld.png" id="2"]
[sub_resource type="Animation" id="Animation_trlfo"]
resource_name = "Back"
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(880, 420, 40, 60)]
}
[sub_resource type="Animation" id="Animation_lod2l"]
resource_name = "HandRaise"
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(840, 420, 40, 60)]
}
[sub_resource type="Animation" id="Animation_fatuc"]
resource_name = "Idle"
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(920, 420, 40, 60)]
}
[sub_resource type="Animation" id="Animation_y4t6d"]
resource_name = "KO"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 0
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Rect2(840, 150, 40, 70)]
}
[sub_resource type="Animation" id="Animation_sw8q5"]
resource_name = "KO_2"
length = 0.4000000059604645
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 = 0
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Rect2(880, 150, 40, 70), Rect2(920, 150, 40, 70)]
}
[sub_resource type="Animation" id="Animation_sx5km"]
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(920, 420, 40, 60)]
}
[sub_resource type="Animation" id="Animation_67i7a"]
resource_name = "Talk"
length = 0.4000000059604645
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),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [Rect2(960, 420, 40, 60), Rect2(920, 420, 40, 60)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_vl4w6"]
_data = {
&"Back": SubResource("Animation_trlfo"),
&"HandRaise": SubResource("Animation_lod2l"),
&"Idle": SubResource("Animation_fatuc"),
&"KO": SubResource("Animation_y4t6d"),
&"KO_2": SubResource("Animation_sw8q5"),
&"RESET": SubResource("Animation_sx5km"),
&"Talk": SubResource("Animation_67i7a")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_21d8v"]
size = Vector2(20, 11)
[sub_resource type="CircleShape2D" id="CircleShape2D_sntc0"]
radius = 13.0
[node name="Britz" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
script = ExtResource("1")
id = 89
singleDirection = true
extras = []
anim = NodePath("AnimationPlayer")
sprite = NodePath("Sprite")
collider = NodePath("CollisionShape2D")
trigger = NodePath("Trigger")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_vl4w6")
}
autoplay = "Idle"
[node name="Sprite" type="Sprite2D" parent="."]
texture = ExtResource("2")
offset = Vector2(0, -30)
region_enabled = true
region_rect = Rect2(920, 420, 40, 60)
region_filter_clip_enabled = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(1, -5.5)
shape = SubResource("RectangleShape2D_21d8v")
[node name="Trigger" type="Area2D" parent="."]
position = Vector2(5, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
position = Vector2(-4, -16)
shape = SubResource("CircleShape2D_sntc0")