[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/ch1dw chars.png" id="2"] [sub_resource type="Animation" id="Animation_q6vaf"] resource_name = "Hurt" 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(400, 0, 40, 40)] } [sub_resource type="Animation" id="Animation_pltoq"] resource_name = "Idle" 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(280, 0, 40, 40), Rect2(320, 0, 40, 40)] } [sub_resource type="Animation" id="Animation_j54n4"] 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(400, 0, 40, 40)] } [sub_resource type="Animation" id="Animation_bffot"] resource_name = "Talk" length = 0.20000000298023224 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.1), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [Rect2(360, 0, 40, 40), Rect2(280, 0, 40, 40)] } [sub_resource type="Animation" id="Animation_10xth"] resource_name = "Talk2" length = 0.6000000238418579 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.3), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [Rect2(520, 0, 40, 40), Rect2(440, 0, 40, 40)] } [sub_resource type="Animation" id="Animation_ogxu7"] resource_name = "Weak1" 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.5), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [Rect2(440, 0, 40, 40), Rect2(480, 0, 40, 40)] } [sub_resource type="Animation" id="Animation_k61gf"] resource_name = "Weak2" 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 = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [Rect2(320, 40, 40, 40)] } [sub_resource type="Animation" id="Animation_bv85a"] resource_name = "Weak3" 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 = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [Rect2(360, 40, 40, 40)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_eyr3p"] _data = { &"Hurt": SubResource("Animation_q6vaf"), &"Idle": SubResource("Animation_pltoq"), &"RESET": SubResource("Animation_j54n4"), &"Talk": SubResource("Animation_bffot"), &"Talk2": SubResource("Animation_10xth"), &"Weak1": SubResource("Animation_ogxu7"), &"Weak2": SubResource("Animation_k61gf"), &"Weak3": SubResource("Animation_bv85a") } [sub_resource type="RectangleShape2D" id="RectangleShape2D_ygnjw"] size = Vector2(28, 9) [sub_resource type="CircleShape2D" id="CircleShape2D_4r3b7"] radius = 18.0 [node name="Pennilton" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")] script = ExtResource("1") id = 20 singleDirection = true extras = [] anim = NodePath("AnimationPlayer") sprite = NodePath("Sprite") collider = NodePath("CollisionShape2D") trigger = NodePath("Trigger") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_eyr3p") } autoplay = "Idle" [node name="Sprite" type="Sprite2D" parent="."] texture = ExtResource("2") offset = Vector2(0, -20) region_enabled = true region_rect = Rect2(400, 0, 40, 40) region_filter_clip_enabled = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(1, -4.5) shape = SubResource("RectangleShape2D_ygnjw") [node name="Trigger" type="Area2D" parent="."] position = Vector2(5, 0) [node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"] position = Vector2(-5, -19) shape = SubResource("CircleShape2D_4r3b7")