266 lines
7.4 KiB
Plaintext
266 lines
7.4 KiB
Plaintext
[gd_scene load_steps=19 format=4]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Characters/melody.png" id="2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_tdj7x"]
|
|
resource_name = "BattleIdle"
|
|
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(80, 0, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_43b1c"]
|
|
resource_name = "BattleStart"
|
|
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(80, 0, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_88xqp"]
|
|
resource_name = "NorthIdle"
|
|
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, 40, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ovglo"]
|
|
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(20, 40, 20, 40), Rect2(0, 40, 20, 40), Rect2(40, 40, 20, 40), Rect2(0, 40, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_3od1s"]
|
|
resource_name = "Push"
|
|
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, 160, 30, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_bpkft"]
|
|
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, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ved33"]
|
|
resource_name = "ReadyJump"
|
|
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, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_8sgep"]
|
|
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(0, 80, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_3fh06"]
|
|
resource_name = "SideWalk"
|
|
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(20, 80, 20, 40), Rect2(0, 80, 20, 40), Rect2(40, 80, 20, 40), Rect2(0, 80, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_4lbtr"]
|
|
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, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_1gkln"]
|
|
resource_name = "SouthIdleDW"
|
|
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(60, 0, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_kv02m"]
|
|
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(20, 0, 20, 40), Rect2(0, 0, 20, 40), Rect2(40, 0, 20, 40), Rect2(0, 0, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_0u48o"]
|
|
resource_name = "Sweep"
|
|
length = 0.30000001192092896
|
|
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.15),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [Rect2(0, 120, 20, 40), Rect2(20, 120, 20, 40)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mxa3w"]
|
|
_data = {
|
|
&"BattleIdle": SubResource("Animation_tdj7x"),
|
|
&"BattleStart": SubResource("Animation_43b1c"),
|
|
&"NorthIdle": SubResource("Animation_88xqp"),
|
|
&"NorthWalk": SubResource("Animation_ovglo"),
|
|
&"Push": SubResource("Animation_3od1s"),
|
|
&"RESET": SubResource("Animation_bpkft"),
|
|
&"ReadyJump": SubResource("Animation_ved33"),
|
|
&"SideIdle": SubResource("Animation_8sgep"),
|
|
&"SideWalk": SubResource("Animation_3fh06"),
|
|
&"SouthIdle": SubResource("Animation_4lbtr"),
|
|
&"SouthIdleDW": SubResource("Animation_1gkln"),
|
|
&"SouthWalk": SubResource("Animation_kv02m"),
|
|
&"Sweep": SubResource("Animation_0u48o")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0gvs8"]
|
|
size = Vector2(16, 14)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_a8maw"]
|
|
radius = 10.04990005493164
|
|
|
|
[node name="Melody" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
|
|
script = ExtResource("1")
|
|
id = 14
|
|
extras = []
|
|
anim = NodePath("AnimationPlayer")
|
|
sprite = NodePath("Sprite")
|
|
collider = NodePath("CollisionShape2D")
|
|
trigger = NodePath("Trigger")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_mxa3w")
|
|
}
|
|
autoplay = "Idle"
|
|
next/BattleStart = &"BattleIdle"
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|
|
offset = Vector2(0, -20)
|
|
region_enabled = true
|
|
region_rect = Rect2(0, 0, 20, 40)
|
|
region_filter_clip_enabled = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
position = Vector2(0, -7)
|
|
shape = SubResource("RectangleShape2D_0gvs8")
|
|
|
|
[node name="Trigger" type="Area2D" parent="."]
|
|
visible = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
|
|
position = Vector2(0, -19)
|
|
shape = SubResource("CircleShape2D_a8maw")
|