220 lines
6.1 KiB
Plaintext
220 lines
6.1 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/june.png" id="2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_23qls"]
|
|
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(48, 96, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_12xqw"]
|
|
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(48, 96, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_gn1yv"]
|
|
resource_name = "NorthIdle"
|
|
length = 0.0010000000474974513
|
|
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 = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Rect2(0, 48, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_eya5n"]
|
|
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 = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Rect2(48, 48, 48, 48), Rect2(0, 48, 48, 48), Rect2(96, 48, 48, 48), Rect2(0, 48, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_pd8nv"]
|
|
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(48, 96, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ec02x"]
|
|
resource_name = "SideIdle"
|
|
length = 0.0010000000474974513
|
|
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 = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Rect2(144, 0, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_66gf1"]
|
|
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 = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Rect2(192, 0, 48, 48), Rect2(144, 0, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_koe8k"]
|
|
resource_name = "Idle"
|
|
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 = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Rect2(0, 0, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_a0s3p"]
|
|
resource_name = "SouthIdleDW"
|
|
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 = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Rect2(0, 96, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_fatlo"]
|
|
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 = 0
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [Rect2(48, 0, 48, 48), Rect2(0, 0, 48, 48), Rect2(96, 0, 48, 48), Rect2(0, 0, 48, 48)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_kbxg3"]
|
|
_data = {
|
|
&"BattleIdle": SubResource("Animation_23qls"),
|
|
&"BattleStart": SubResource("Animation_12xqw"),
|
|
&"NorthIdle": SubResource("Animation_gn1yv"),
|
|
&"NorthWalk": SubResource("Animation_eya5n"),
|
|
&"RESET": SubResource("Animation_pd8nv"),
|
|
&"SideIdle": SubResource("Animation_ec02x"),
|
|
&"SideWalk": SubResource("Animation_66gf1"),
|
|
&"SouthIdle": SubResource("Animation_koe8k"),
|
|
&"SouthIdleDW": SubResource("Animation_a0s3p"),
|
|
&"SouthWalk": SubResource("Animation_fatlo")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ut4oy"]
|
|
size = Vector2(13, 10)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_tnufd"]
|
|
radius = 8.062259674072266
|
|
|
|
[node name="June" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
|
|
script = ExtResource("1")
|
|
id = 13
|
|
extras = []
|
|
anim = NodePath("AnimationPlayer")
|
|
sprite = NodePath("Sprite")
|
|
collider = NodePath("CollisionShape2D")
|
|
trigger = NodePath("Trigger")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_kbxg3")
|
|
}
|
|
autoplay = "SouthIdle"
|
|
next/BattleStart = &"BattleIdle"
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|
|
offset = Vector2(0, -24)
|
|
region_enabled = true
|
|
region_rect = Rect2(48, 96, 48, 48)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-0.5, -5)
|
|
shape = SubResource("RectangleShape2D_ut4oy")
|
|
|
|
[node name="Trigger" type="Area2D" parent="."]
|
|
position = Vector2(-1, -2)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
|
|
position = Vector2(0, -3)
|
|
shape = SubResource("CircleShape2D_tnufd")
|