215 lines
6.0 KiB
Plaintext
215 lines
6.0 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/chujin.png" id="2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_6u8p3"]
|
|
resource_name = "NorthIdle"
|
|
length = 0.4000000059604645
|
|
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, 120, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_1ogm3"]
|
|
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(80, 120, 40, 60), Rect2(40, 120, 40, 60), Rect2(120, 120, 40, 60), Rect2(40, 120, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_k03hq"]
|
|
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_21sjp"]
|
|
resource_name = "SideIdle"
|
|
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_f7t7y"]
|
|
resource_name = "SideSit"
|
|
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_cs77f"]
|
|
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(40, 60, 40, 60), Rect2(40, 0, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_g4uv0"]
|
|
resource_name = "SitAngry"
|
|
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, 60, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_umr4y"]
|
|
resource_name = "SitEat"
|
|
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),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 1,
|
|
"values": [Rect2(120, 0, 40, 60), Rect2(160, 0, 40, 60), Rect2(160, 60, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_hblgf"]
|
|
resource_name = "SouthIdle"
|
|
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_rh0ic"]
|
|
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(0, 60, 40, 60), Rect2(0, 0, 40, 60), Rect2(0, 120, 40, 60), Rect2(0, 0, 40, 60)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hhoxd"]
|
|
_data = {
|
|
&"NorthIdle": SubResource("Animation_6u8p3"),
|
|
&"NorthWalk": SubResource("Animation_1ogm3"),
|
|
&"RESET": SubResource("Animation_k03hq"),
|
|
&"SideIdle": SubResource("Animation_21sjp"),
|
|
&"SideSit": SubResource("Animation_f7t7y"),
|
|
&"SideWalk": SubResource("Animation_cs77f"),
|
|
&"SitAngry": SubResource("Animation_g4uv0"),
|
|
&"SitEat": SubResource("Animation_umr4y"),
|
|
&"SouthIdle": SubResource("Animation_hblgf"),
|
|
&"SouthWalk": SubResource("Animation_rh0ic")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0gvs8"]
|
|
size = Vector2(16, 14)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_a8maw"]
|
|
radius = 10.04990005493164
|
|
|
|
[node name="Chujin" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
|
|
script = ExtResource("1")
|
|
id = 4
|
|
extras = []
|
|
anim = NodePath("AnimationPlayer")
|
|
sprite = NodePath("Sprite")
|
|
collider = NodePath("CollisionShape2D")
|
|
trigger = NodePath("Trigger")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_hhoxd")
|
|
}
|
|
autoplay = "Idle"
|
|
|
|
[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)
|
|
shape = SubResource("RectangleShape2D_0gvs8")
|
|
|
|
[node name="Trigger" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
|
|
position = Vector2(0, -19)
|
|
shape = SubResource("CircleShape2D_a8maw")
|