186 lines
5.3 KiB
Plaintext
186 lines
5.3 KiB
Plaintext
[gd_scene load_steps=14 format=4]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Characters/ch2dw chars.png" id="2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_5sa5p"]
|
|
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(370, 420, 30, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_8pgax"]
|
|
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(370, 580, 30, 40), Rect2(370, 420, 30, 40), Rect2(370, 540, 30, 40), Rect2(370, 420, 30, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_c3334"]
|
|
resource_name = "Pose"
|
|
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(260, 540, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_tdk7o"]
|
|
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(370, 380, 30, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_r8q5f"]
|
|
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(430, 460, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_s8u8n"]
|
|
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(430, 500, 30, 40), Rect2(430, 460, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_rfk8h"]
|
|
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(370, 380, 30, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_j17ae"]
|
|
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(370, 460, 30, 40), Rect2(370, 380, 30, 40), Rect2(370, 500, 30, 40), Rect2(370, 380, 30, 40)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_3u6vk"]
|
|
_data = {
|
|
&"NorthIdle": SubResource("Animation_5sa5p"),
|
|
&"NorthWalk": SubResource("Animation_8pgax"),
|
|
&"Pose": SubResource("Animation_c3334"),
|
|
&"RESET": SubResource("Animation_tdk7o"),
|
|
&"SideIdle": SubResource("Animation_r8q5f"),
|
|
&"SideWalk": SubResource("Animation_s8u8n"),
|
|
&"SouthIdle": SubResource("Animation_rfk8h"),
|
|
&"SouthWalk": SubResource("Animation_j17ae")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f5qrk"]
|
|
size = Vector2(26, 10)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_tnufd"]
|
|
radius = 7.0
|
|
|
|
[node name="RangerBlue" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
|
|
script = ExtResource("1")
|
|
id = 113
|
|
extras = []
|
|
anim = NodePath("AnimationPlayer")
|
|
sprite = NodePath("Sprite")
|
|
collider = NodePath("CollisionShape2D")
|
|
trigger = NodePath("Trigger")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_3u6vk")
|
|
}
|
|
autoplay = "SouthIdle"
|
|
speed_scale = 0.75
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|
|
offset = Vector2(0, -20)
|
|
region_enabled = true
|
|
region_rect = Rect2(370, 380, 30, 40)
|
|
region_filter_clip_enabled = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, -5)
|
|
shape = SubResource("RectangleShape2D_f5qrk")
|
|
|
|
[node name="Trigger" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
|
|
position = Vector2(0, -18)
|
|
shape = SubResource("CircleShape2D_tnufd")
|