[gd_scene load_steps=14 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"] [sub_resource type="AtlasTexture" id="AtlasTexture_068kt"] atlas = ExtResource("2_yu1q5") region = Rect2(0, 0, 59, 90) [sub_resource type="AtlasTexture" id="AtlasTexture_tubtg"] atlas = ExtResource("2_yu1q5") region = Rect2(59, 0, 59, 90) [sub_resource type="AtlasTexture" id="AtlasTexture_ck0si"] atlas = ExtResource("2_yu1q5") region = Rect2(118, 0, 59, 90) [sub_resource type="AtlasTexture" id="AtlasTexture_48laa"] atlas = ExtResource("2_yu1q5") region = Rect2(177, 0, 59, 90) [sub_resource type="AtlasTexture" id="AtlasTexture_dp3ld"] atlas = ExtResource("2_yu1q5") region = Rect2(177, 90, 59, 90) [sub_resource type="AtlasTexture" id="AtlasTexture_7t6sn"] atlas = ExtResource("2_yu1q5") region = Rect2(0, 90, 59, 90) [sub_resource type="AtlasTexture" id="AtlasTexture_w5lt5"] atlas = ExtResource("2_yu1q5") region = Rect2(59, 90, 59, 90) [sub_resource type="AtlasTexture" id="AtlasTexture_0gngb"] atlas = ExtResource("2_yu1q5") region = Rect2(118, 90, 59, 90) [sub_resource type="SpriteFrames" id="SpriteFrames_65gi3"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_068kt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tubtg") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_068kt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ck0si") }], "loop": true, "name": &"move_down", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_48laa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_dp3ld") }], "loop": true, "name": &"move_side", "speed": 4.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_7t6sn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_w5lt5") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_7t6sn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_0gngb") }], "loop": true, "name": &"move_up", "speed": 5.0 }] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_38v5o"] height = 54.0 [node name="player" type="CharacterBody2D"] process_mode = 1 collision_layer = 5 collision_mask = 5 collision_priority = 2.0 motion_mode = 1 script = ExtResource("1_qehox") [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(-32, 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="."] sprite_frames = SubResource("SpriteFrames_65gi3") animation = &"move_down" [node name="main_cam" type="Camera2D" parent="."] process_callback = 0 position_smoothing_enabled = true drag_horizontal_enabled = true drag_vertical_enabled = true editor_draw_drag_margin = true metadata/_edit_lock_ = true [node name="cheat_cam" type="Camera2D" parent="."] metadata/_edit_lock_ = true [node name="audio_listener_2d" type="AudioListener2D" parent="."] 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, 35) rotation = 1.5708 shape = SubResource("CapsuleShape2D_38v5o") [node name="globalposition_timer" type="Timer" parent="."] wait_time = 1.5 autostart = true