[gd_scene format=3 uid="uid://syx6ov00a585"] [ext_resource type="Script" uid="uid://ohb2t6o7wr1u" path="res://Scripts/player.gd" id="1_cvnsp"] [ext_resource type="Texture2D" uid="uid://cad78jiqplxdi" path="res://Sprites/png/spritesheet.png" id="2_6t5aa"] [ext_resource type="Material" uid="uid://ck13qte606w1j" path="res://Materials/Particles/down_particles.tres" id="2_vgqql"] [ext_resource type="Script" uid="uid://de1fdvk35epdt" path="res://Scripts/player_camera.gd" id="4_vgqql"] [ext_resource type="PackedScene" uid="uid://botdddpmgoc8o" path="res://Scenes/scene_transition_rect.tscn" id="5_fkybt"] [ext_resource type="Script" uid="uid://cbj4o4syiqn74" path="res://Scripts/background_particles.gd" id="6_x3wgy"] [ext_resource type="Script" uid="uid://wxkd002cqmui" path="res://Scripts/debug_info.gd" id="7_3smsa"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_jjgbg"] size = Vector2(16, 16) [sub_resource type="LabelSettings" id="LabelSettings_3smsa"] font_color = Color(0, 0, 0, 1) [sub_resource type="LabelSettings" id="LabelSettings_8erm5"] font_color = Color(0, 0, 0, 1) [sub_resource type="LabelSettings" id="LabelSettings_f1ek2"] font_color = Color(0, 0, 0, 1) [node name="Player" type="CharacterBody2D" unique_id=178862163] script = ExtResource("1_cvnsp") [node name="GPUParticles2D" type="GPUParticles2D" parent="." unique_id=1770667535] emitting = false amount = 100 lifetime = 3.3699999999999997 process_material = ExtResource("2_vgqql") [node name="Sprite" type="Sprite2D" parent="." unique_id=2108867379] texture = ExtResource("2_6t5aa") hframes = 3 vframes = 3 [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2085434834] shape = SubResource("RectangleShape2D_jjgbg") [node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="." unique_id=1070217901] rect = Rect2(-8, -8, 16, 16) [node name="Camera" type="Camera2D" parent="." unique_id=915178662] top_level = true script = ExtResource("4_vgqql") [node name="BackgroundParticles" type="Node2D" parent="." unique_id=867705320] script = ExtResource("6_x3wgy") number_of_particles = 250 [node name="SceneTransitionRect" parent="." unique_id=726492614 instance=ExtResource("5_fkybt")] offset_left = -5000.0 offset_top = -5000.0 offset_right = 5000.0 offset_bottom = 5000.0 [node name="DebugInfo" type="Control" parent="." unique_id=571159506] layout_mode = 3 anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("7_3smsa") [node name="txt_gravity" type="Label" parent="DebugInfo" unique_id=1223052517] visible = false layout_mode = 0 offset_left = -570.0 offset_top = -320.0 offset_right = -530.0 offset_bottom = -297.0 label_settings = SubResource("LabelSettings_3smsa") [node name="txt_pos" type="Label" parent="DebugInfo" unique_id=392465904] visible = false layout_mode = 0 offset_left = -570.0 offset_top = -300.0 offset_right = -530.0 offset_bottom = -277.0 label_settings = SubResource("LabelSettings_8erm5") [node name="txt_level" type="Label" parent="DebugInfo" unique_id=1638261896] visible = false layout_mode = 0 offset_left = -570.0 offset_top = -280.0 offset_right = -530.0 offset_bottom = -257.0 label_settings = SubResource("LabelSettings_f1ek2") [connection signal="gravity_reset" from="." to="BackgroundParticles" method="_on_player_gravity_reset"] [connection signal="input_event" from="." to="BackgroundParticles" method="_on_player_input_event"] [connection signal="player_respawned" from="." to="BackgroundParticles" method="_on_player_player_respawned"] [connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]