2025-05-03 20:39:06 +08:00

223 lines
6.4 KiB
Plaintext

[gd_scene load_steps=16 format=4]
[ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"]
[ext_resource type="Texture2D" path="res://Sprites/Characters/ceroba.png" id="2"]
[sub_resource type="Animation" id="Animation_5hmkc"]
resource_name = "NorthIdle"
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(40, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_psvbr"]
resource_name = "NorthWalk"
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.2, 0.4, 0.6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [Rect2(120, 60, 40, 60), Rect2(40, 0, 40, 60), Rect2(240, 0, 40, 60), Rect2(40, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_2mbdv"]
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(0, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_qdxrn"]
resource_name = "SideIdle"
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(80, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_vq0fj"]
resource_name = "SideSit"
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(80, 120, 40, 60)]
}
[sub_resource type="Animation" id="Animation_28vrk"]
resource_name = "SideWalk"
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(200, 0, 40, 60), Rect2(80, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_521l0"]
resource_name = "SitEat"
length = 1.7999999523162842
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.5, 0.8),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [Rect2(120, 120, 40, 60), Rect2(160, 120, 40, 60), Rect2(200, 120, 40, 60)]
}
[sub_resource type="Animation" id="Animation_wfneq"]
resource_name = "SouthIdle"
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, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_4upeq"]
resource_name = "SouthWalk"
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.2, 0.4, 0.6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 1,
"values": [Rect2(120, 0, 40, 60), Rect2(0, 0, 40, 60), Rect2(160, 0, 40, 60), Rect2(0, 0, 40, 60)]
}
[sub_resource type="Animation" id="Animation_thdpg"]
resource_name = "Sweep"
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.3, 0.6, 0.7, 0.8, 0.9, 1, 1.4),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [Rect2(0, 60, 40, 60), Rect2(40, 60, 40, 60), Rect2(80, 60, 40, 60), Rect2(160, 60, 40, 60), Rect2(200, 60, 40, 60), Rect2(240, 60, 40, 60), Rect2(0, 120, 40, 60), Rect2(40, 120, 40, 60)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_e80gx"]
_data = {
&"NorthIdle": SubResource("Animation_5hmkc"),
&"NorthWalk": SubResource("Animation_psvbr"),
&"RESET": SubResource("Animation_2mbdv"),
&"SideIdle": SubResource("Animation_qdxrn"),
&"SideSit": SubResource("Animation_vq0fj"),
&"SideWalk": SubResource("Animation_28vrk"),
&"SitEat": SubResource("Animation_521l0"),
&"SouthIdle": SubResource("Animation_wfneq"),
&"SouthWalk": SubResource("Animation_4upeq"),
&"Sweep": SubResource("Animation_thdpg")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ut4oy"]
size = Vector2(20, 15)
[sub_resource type="CircleShape2D" id="CircleShape2D_tnufd"]
radius = 11.0
[node name="Ceroba" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
script = ExtResource("1")
id = 3
emoticonOffset = Vector2(0, -55)
extras = []
anim = NodePath("AnimationPlayer")
sprite = NodePath("Sprite")
collider = NodePath("CollisionShape2D")
trigger = NodePath("Trigger")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_e80gx")
}
autoplay = "SouthIdle"
[node name="Sprite" type="Sprite2D" parent="."]
texture = ExtResource("2")
offset = Vector2(0, -30)
region_enabled = true
region_rect = Rect2(0, 0, 40, 60)
region_filter_clip_enabled = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -7.5)
shape = SubResource("RectangleShape2D_ut4oy")
[node name="Trigger" type="Area2D" parent="."]
position = Vector2(-1, -2)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
position = Vector2(1, -3)
shape = SubResource("CircleShape2D_tnufd")