[gd_scene load_steps=15 format=3 uid="uid://bxaheg7l4h1ip"] [ext_resource type="Script" path="res://src/scene-scripts/player.cs" id="1_qehox"] [ext_resource type="Texture2D" uid="uid://olceowuycu8c" path="res://assets/textures/debug/dummy-player-atlas.png" id="2_yu1q5"] [ext_resource type="PackedScene" uid="uid://bkm7365u1mm3o" path="res://scenes/gui/dialog_bubble.tscn" id="3_8f573"] [ext_resource type="PackedScene" uid="uid://dlkpivjpbxnlg" path="res://scenes/gui/console.tscn" id="4_kw3hh"] [sub_resource type="AtlasTexture" id="AtlasTexture_tokqm"] atlas = ExtResource("2_yu1q5") region = Rect2(0, 0, 83, 127) [sub_resource type="AtlasTexture" id="AtlasTexture_qomfj"] atlas = ExtResource("2_yu1q5") region = Rect2(168, 0, 84, 128) [sub_resource type="AtlasTexture" id="AtlasTexture_bsfbd"] atlas = ExtResource("2_yu1q5") region = Rect2(84, 0, 83, 127) [sub_resource type="AtlasTexture" id="AtlasTexture_ulejc"] atlas = ExtResource("2_yu1q5") region = Rect2(252, 0, 84, 128) [sub_resource type="AtlasTexture" id="AtlasTexture_1x805"] atlas = ExtResource("2_yu1q5") region = Rect2(252, 128, 84, 128) [sub_resource type="AtlasTexture" id="AtlasTexture_x338k"] atlas = ExtResource("2_yu1q5") region = Rect2(0, 128, 84, 128) [sub_resource type="AtlasTexture" id="AtlasTexture_6ynw8"] atlas = ExtResource("2_yu1q5") region = Rect2(84, 128, 84, 128) [sub_resource type="AtlasTexture" id="AtlasTexture_2yirn"] atlas = ExtResource("2_yu1q5") region = Rect2(168, 128, 84, 128) [sub_resource type="SpriteFrames" id="SpriteFrames_2x1cy"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_tokqm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qomfj") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tokqm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_bsfbd") }], "loop": true, "name": &"move_down", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_ulejc") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1x805") }], "loop": true, "name": &"move_side", "speed": 4.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_x338k") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_6ynw8") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_x338k") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_2yirn") }], "loop": true, "name": &"move_up", "speed": 5.0 }] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_38v5o"] height = 59.9998 [node name="player" type="CharacterBody2D"] process_mode = 1 floor_stop_on_slope = false script = ExtResource("1_qehox") metadata/_edit_lock_ = true [node name="rotation_center" type="Marker2D" parent="."] metadata/_edit_lock_ = true [node name="ray_cast_2d" type="RayCast2D" parent="rotation_center"] rotation = 3.14159 target_position = Vector2(-64, 0) collision_mask = 2 hit_from_inside = true collide_with_areas = true collide_with_bodies = false metadata/_edit_lock_ = true [node name="animated_sprite_2d" type="AnimatedSprite2D" parent="."] texture_filter = 1 scale = Vector2(0.733398, 0.733398) sprite_frames = SubResource("SpriteFrames_2x1cy") animation = &"move_down" metadata/_edit_lock_ = true [node name="main_cam" type="Camera2D" parent="."] zoom = Vector2(0.8, 0.8) position_smoothing_enabled = true position_smoothing_speed = 3.0 drag_horizontal_enabled = true drag_vertical_enabled = true drag_left_margin = 0.15 drag_top_margin = 0.15 drag_right_margin = 0.15 drag_bottom_margin = 0.15 editor_draw_drag_margin = true metadata/_edit_lock_ = true [node name="cheat_cam" type="Camera2D" parent="."] zoom = Vector2(0.8, 0.8) metadata/_edit_lock_ = true [node name="audio_listener_2d" type="AudioListener2D" parent="."] current = true metadata/_edit_lock_ = true [node name="dialog_bubble" parent="." instance=ExtResource("3_8f573")] visible = false [node name="collision_shape" type="CollisionShape2D" parent="."] position = Vector2(0, 38) rotation = 1.57345 shape = SubResource("CapsuleShape2D_38v5o") [node name="console" parent="." instance=ExtResource("4_kw3hh")] visible = false [connection signal="animation_changed" from="animated_sprite_2d" to="." method="OnAnimationChanged"]