131 lines
3.6 KiB
Plaintext
131 lines
3.6 KiB
Plaintext
[gd_scene load_steps=11 format=4]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"]
|
|
[ext_resource type="Texture2D" path="res://Sprites/Characters/lightworld.png" id="2"]
|
|
|
|
[sub_resource type="Animation" id="Animation_uxhkb"]
|
|
resource_name = "Back"
|
|
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(520, 280, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_qyfn2"]
|
|
resource_name = "HandRaise"
|
|
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(520, 320, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_gtq1c"]
|
|
resource_name = "Idle"
|
|
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(480, 280, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_bed2n"]
|
|
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(480, 280, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_3s2bb"]
|
|
resource_name = "Talk"
|
|
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(480, 320, 40, 40), Rect2(480, 280, 40, 40)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_07sdj"]
|
|
_data = {
|
|
&"Back": SubResource("Animation_uxhkb"),
|
|
&"HandRaise": SubResource("Animation_qyfn2"),
|
|
&"Idle": SubResource("Animation_gtq1c"),
|
|
&"RESET": SubResource("Animation_bed2n"),
|
|
&"Talk": SubResource("Animation_3s2bb")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_21d8v"]
|
|
size = Vector2(20, 11)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_sntc0"]
|
|
radius = 13.0
|
|
|
|
[node name="Gizmo" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")]
|
|
script = ExtResource("1")
|
|
id = 87
|
|
singleDirection = true
|
|
extras = []
|
|
anim = NodePath("AnimationPlayer")
|
|
sprite = NodePath("Sprite")
|
|
collider = NodePath("CollisionShape2D")
|
|
trigger = NodePath("Trigger")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_07sdj")
|
|
}
|
|
autoplay = "SouthIdle"
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2")
|
|
offset = Vector2(0, -20)
|
|
region_enabled = true
|
|
region_rect = Rect2(480, 280, 40, 40)
|
|
region_filter_clip_enabled = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(1, -5.5)
|
|
shape = SubResource("RectangleShape2D_21d8v")
|
|
|
|
[node name="Trigger" type="Area2D" parent="."]
|
|
position = Vector2(5, 0)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"]
|
|
position = Vector2(-4, -16)
|
|
shape = SubResource("CircleShape2D_sntc0")
|