[gd_scene load_steps=13 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_tsygy"] 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(680, 260, 40, 60)] } [sub_resource type="Animation" id="Animation_jtht2"] 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 = 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(640, 260, 40, 60), Rect2(680, 260, 40, 60), Rect2(720, 260, 40, 60), Rect2(680, 260, 40, 60)] } [sub_resource type="Animation" id="Animation_i8tw0"] 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(680, 200, 40, 60)] } [sub_resource type="Animation" id="Animation_cpagp"] 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(620, 280, 20, 60)] } [sub_resource type="Animation" id="Animation_vy7yl"] 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 = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [Rect2(600, 280, 20, 60), Rect2(620, 280, 20, 60)] } [sub_resource type="Animation" id="Animation_6lm7d"] 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(680, 200, 40, 60)] } [sub_resource type="Animation" id="Animation_mdtpk"] 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 = 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(640, 200, 40, 60), Rect2(680, 200, 40, 60), Rect2(720, 200, 40, 60), Rect2(680, 200, 40, 60)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_ox02t"] _data = { &"NorthIdle": SubResource("Animation_tsygy"), &"NorthWalk": SubResource("Animation_jtht2"), &"RESET": SubResource("Animation_i8tw0"), &"SideIdle": SubResource("Animation_cpagp"), &"SideWalk": SubResource("Animation_vy7yl"), &"SouthIdle": SubResource("Animation_6lm7d"), &"SouthWalk": SubResource("Animation_mdtpk") } [sub_resource type="RectangleShape2D" id="RectangleShape2D_5paiq"] size = Vector2(12, 12) [sub_resource type="CircleShape2D" id="CircleShape2D_erku2"] radius = 7.0 [node name="Dalv" type="CharacterBody2D" node_paths=PackedStringArray("extras", "anim", "sprite", "collider", "trigger")] script = ExtResource("1") id = 15 extras = [] anim = NodePath("AnimationPlayer") sprite = NodePath("Sprite") collider = NodePath("CollisionShape2D") trigger = NodePath("Trigger") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_ox02t") } autoplay = "SouthIdle" [node name="Sprite" type="Sprite2D" parent="."] texture = ExtResource("2") offset = Vector2(0, -30) region_enabled = true region_rect = Rect2(680, 200, 40, 60) region_filter_clip_enabled = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -6) shape = SubResource("RectangleShape2D_5paiq") [node name="Trigger" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger"] position = Vector2(0, -19) shape = SubResource("CircleShape2D_erku2")