112 lines
3.1 KiB
Plaintext
112 lines
3.1 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/feisty.png" id="2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_1cufq"]
|
|
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, 180, 80, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_etema"]
|
|
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, 180, 80, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_4sv08"]
|
|
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(160, 180, 60, 60)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_f1f5m"]
|
|
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(80, 180, 80, 60)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jkv6a"]
|
|
_data = {
|
|
&"NorthIdle": SubResource("Animation_1cufq"),
|
|
&"RESET": SubResource("Animation_etema"),
|
|
&"SideIdle": SubResource("Animation_4sv08"),
|
|
&"SouthIdle": SubResource("Animation_f1f5m")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5jwej"]
|
|
size = Vector2(41, 18)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_8n7md"]
|
|
radius = 17.029399871826172
|
|
|
|
[node name="Ed" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
|
|
script = ExtResource("1")
|
|
id = 6
|
|
extras = []
|
|
anim = NodePath("AnimationPlayer")
|
|
sprite = NodePath("Sprite")
|
|
collider = NodePath("CollisionShape2D")
|
|
trigger = NodePath("Trigger")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_jkv6a")
|
|
}
|
|
autoplay = "SouthIdle"
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|
|
offset = Vector2(0, -30)
|
|
region_enabled = true
|
|
region_rect = Rect2(0, 180, 80, 60)
|
|
region_filter_clip_enabled = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-0.5, -9)
|
|
shape = SubResource("RectangleShape2D_5jwej")
|
|
|
|
[node name="Trigger" type="Area2D" parent="."]
|
|
position = Vector2(0, -10)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
|
|
position = Vector2(0, -13)
|
|
shape = SubResource("CircleShape2D_8n7md")
|