[gd_scene load_steps=17 format=4] [ext_resource type="Script" path="res://Scripts/Entities/Entity.cs" id="1"] [ext_resource type="Texture2D" path="res://Sprites/Characters/martlet.png" id="2"] [sub_resource type="Animation" id="Animation_p4rg2"] resource_name = "FlyDown" 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.1, 0.2), "transitions": PackedFloat32Array(1, 1, 1), "update": 1, "values": [Rect2(128, 128, 64, 64), Rect2(64, 128, 32, 64), Rect2(96, 128, 32, 64)] } [sub_resource type="Animation" id="Animation_r53k1"] resource_name = "FlyUp" 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, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1), "update": 1, "values": [Rect2(240, 64, 48, 64), Rect2(288, 64, 48, 64), Rect2(336, 64, 48, 64), Rect2(336, 128, 48, 64), Rect2(288, 128, 48, 64), Rect2(240, 128, 48, 64), Rect2(192, 128, 48, 64), Rect2(0, 128, 32, 64), Rect2(32, 128, 32, 64)] } [sub_resource type="Animation" id="Animation_k43e8"] resource_name = "Hug" length = 0.699999988079071 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, 0.2, 0.3, 0.4, 0.5, 0.6), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1), "update": 1, "values": [Rect2(0, 64, 32, 64), Rect2(32, 64, 32, 64), Rect2(64, 64, 32, 64), Rect2(96, 64, 32, 64), Rect2(128, 64, 32, 64), Rect2(160, 64, 32, 64), Rect2(192, 64, 32, 64)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Sprite:offset") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [Vector2(0, -24)] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("AnimationPlayer") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0.4), "transitions": PackedFloat32Array(1), "values": [{ "args": [], "method": &"pause" }] } [sub_resource type="Animation" id="Animation_p35d4"] resource_name = "Land" length = 0.800000011920929 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, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1), "update": 1, "values": [Rect2(128, 128, 64, 64), Rect2(192, 128, 48, 64), Rect2(240, 128, 48, 64), Rect2(288, 128, 48, 64), Rect2(336, 128, 48, 64), Rect2(336, 64, 48, 64), Rect2(288, 64, 48, 64), Rect2(240, 64, 48, 64)] } [sub_resource type="Animation" id="Animation_6uvph"] resource_name = "SouthIdle" 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(128, 0, 32, 64)] } [sub_resource type="Animation" id="Animation_mcuq3"] resource_name = "SouthIdle" 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(160, 0, 32, 64), Rect2(128, 0, 32, 64), Rect2(96, 0, 32, 64), Rect2(128, 0, 32, 64)] } [sub_resource type="Animation" id="Animation_x8otg"] 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, 32, 64)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Sprite:offset") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0, -32)] } [sub_resource type="Animation" id="Animation_eyb54"] resource_name = "SouthIdle" 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(224, 0, 32, 64)] } [sub_resource type="Animation" id="Animation_g6jxi"] resource_name = "SouthIdle" 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(256, 0, 32, 64), Rect2(224, 0, 32, 64), Rect2(192, 0, 32, 64), Rect2(224, 0, 32, 64)] } [sub_resource type="Animation" id="Animation_bkjgn"] resource_name = "SouthIdle" 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(0, 0, 32, 64)] } [sub_resource type="Animation" id="Animation_myn72"] resource_name = "SouthIdle" 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(32, 0, 32, 64), Rect2(0, 0, 32, 64), Rect2(64, 0, 32, 64), Rect2(0, 0, 32, 64)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_hrq8m"] _data = { &"FlyDown": SubResource("Animation_p4rg2"), &"FlyUp": SubResource("Animation_r53k1"), &"Hug": SubResource("Animation_k43e8"), &"Land": SubResource("Animation_p35d4"), &"NorthIdle": SubResource("Animation_6uvph"), &"NorthWalk": SubResource("Animation_mcuq3"), &"RESET": SubResource("Animation_x8otg"), &"SideIdle": SubResource("Animation_eyb54"), &"SideWalk": SubResource("Animation_g6jxi"), &"SouthIdle": SubResource("Animation_bkjgn"), &"SouthWalk": SubResource("Animation_myn72") } [sub_resource type="RectangleShape2D" id="RectangleShape2D_ut4oy"] size = Vector2(13, 10) [sub_resource type="CircleShape2D" id="CircleShape2D_tnufd"] radius = 8.062259674072266 [node name="Martlet" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")] script = ExtResource("1") id = 2 extras = [] anim = NodePath("AnimationPlayer") sprite = NodePath("Sprite") collider = NodePath("CollisionShape2D") trigger = NodePath("Trigger") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_hrq8m") } autoplay = "SouthIdle" next/FlyDown = &"SouthIdle" [node name="Sprite" type="Sprite2D" parent="."] texture = ExtResource("2") offset = Vector2(0, -32) region_enabled = true region_rect = Rect2(0, 0, 32, 64) region_filter_clip_enabled = true [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")