116 lines
3.4 KiB
Plaintext
116 lines
3.4 KiB
Plaintext
[gd_scene load_steps=10 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_hr3k1"]
|
|
resource_name = "Idle"
|
|
length = 0.6000000238418579
|
|
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.1, 0.2, 0.3, 0.4, 0.5),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
|
|
"update": 1,
|
|
"values": [Rect2(760, 300, 40, 60), Rect2(800, 300, 40, 60), Rect2(840, 300, 40, 60), Rect2(880, 300, 40, 60), Rect2(920, 300, 40, 60), Rect2(960, 300, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_2n3uf"]
|
|
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(760, 300, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ladu7"]
|
|
resource_name = "Sit"
|
|
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(760, 220, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_fbp0o"]
|
|
resource_name = "SitTalk"
|
|
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(760, 220, 40, 60), Rect2(800, 220, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hfk1a"]
|
|
_data = {
|
|
&"Idle": SubResource("Animation_hr3k1"),
|
|
&"RESET": SubResource("Animation_2n3uf"),
|
|
&"Sit": SubResource("Animation_ladu7"),
|
|
&"SitTalk": SubResource("Animation_fbp0o")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dv8o3"]
|
|
size = Vector2(31, 22)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_48quk"]
|
|
radius = 15.033300399780273
|
|
|
|
[node name="MailWhale" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
|
|
script = ExtResource("1")
|
|
id = 86
|
|
singleDirection = true
|
|
extras = []
|
|
anim = NodePath("AnimationPlayer")
|
|
sprite = NodePath("Sprite")
|
|
collider = NodePath("CollisionShape2D")
|
|
trigger = NodePath("Trigger")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_hfk1a")
|
|
}
|
|
autoplay = "Idle"
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|
|
offset = Vector2(0, -30)
|
|
region_enabled = true
|
|
region_rect = Rect2(760, 300, 40, 60)
|
|
region_filter_clip_enabled = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(1.5, -11)
|
|
shape = SubResource("RectangleShape2D_dv8o3")
|
|
|
|
[node name="Trigger" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
|
|
position = Vector2(0, -33)
|
|
shape = SubResource("CircleShape2D_48quk")
|