[gd_scene load_steps=8 format=3 uid="uid://c5rmt3jeffjx7"] [ext_resource type="Script" path="res://nodes/player/player.gd" id="1_exx2i"] [ext_resource type="Texture2D" uid="uid://cm4rn4vgyjd1b" path="res://nodes/player/temp.png" id="1_s33dc"] [ext_resource type="Script" path="res://scripts/ia/fsm.gd" id="2_ix1o4"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_w17ly"] radius = 9.0 height = 24.0 [sub_resource type="Animation" id="Animation_gwu4b"] resource_name = "zoom_in" length = 3.0 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("camera:zoom") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1.6, 3), "transitions": PackedFloat32Array(1, 1.86606, 1), "update": 0, "values": [Vector2(0.2, 0.2), Vector2(0.2, 0.2), Vector2(5, 5)] } [sub_resource type="Animation" id="Animation_kwmth"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("camera:zoom") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0.2, 0.2)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_t0d07"] _data = { "RESET": SubResource("Animation_kwmth"), "zoom_in": SubResource("Animation_gwu4b") } [node name="player" type="CharacterBody2D"] script = ExtResource("1_exx2i") LOSE_SCREEN = "res://scenes/lose_screen.tscn" [node name="fsm" type="Node2D" parent="." node_paths=PackedStringArray("root")] script = ExtResource("2_ix1o4") root = NodePath("..") [node name="shape" type="CollisionShape2D" parent="."] rotation = 1.5708 shape = SubResource("CapsuleShape2D_w17ly") metadata/_edit_group_ = true [node name="camera" type="Camera2D" parent="."] zoom = Vector2(0.2, 0.2) [node name="oriented_container" type="Node2D" parent="."] [node name="grab_ray" type="RayCast2D" parent="oriented_container"] target_position = Vector2(24, 0) [node name="sprite" type="Sprite2D" parent="oriented_container"] texture = ExtResource("1_s33dc") [node name="fx_animator" type="AnimationPlayer" parent="."] autoplay = "zoom_in" libraries = { "": SubResource("AnimationLibrary_t0d07") }