Reorganize project structure into scenes and scripts directories
- Move core game objects (player, enemy, projectile, cassette, phonebooth) to scenes/core/
- Move UI helpers (title, pause_screen, game_over, speech) to scenes/helpers/
- Move puzzle logic (phonephreak) to scenes/puzzles/
- Move global utilities to scripts/
- Consolidate levels in scenes/levels/ with new base_level structure
- Fix naming conventions (snake_case for scripts)
- Remove obsolete test and duplicate scenes
74 lines
2.4 KiB
Plaintext
74 lines
2.4 KiB
Plaintext
[gd_scene format=3 uid="uid://btj7tpfvqfelu"]
|
|
|
|
[ext_resource type="Script" uid="uid://c7fhd1eqlgwr4" path="res://scenes/puzzles/phonephreak.gd" id="1_knn0u"]
|
|
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_bg4gc"]
|
|
[ext_resource type="Texture2D" uid="uid://x0lbagpjbmqi" path="res://assets/sprites/led.png" id="3_4f8pu"]
|
|
[ext_resource type="Texture2D" uid="uid://hbkkhhlechol" path="res://assets/sprites/phonephreak.png" id="3_ba2os"]
|
|
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="4_35g6u"]
|
|
|
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_d53c6"]
|
|
blend_mode = 1
|
|
particles_animation = true
|
|
particles_anim_h_frames = 1
|
|
particles_anim_v_frames = 1
|
|
particles_anim_loop = false
|
|
|
|
[node name="Phonephreak" type="Control" unique_id=843580128]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
script = ExtResource("1_knn0u")
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1214012603]
|
|
|
|
[node name="Phonephreak" type="Sprite2D" parent="." unique_id=1607325509]
|
|
position = Vector2(-0.9999695, 34.50003)
|
|
scale = Vector2(2.17, 2.17)
|
|
texture = ExtResource("3_ba2os")
|
|
|
|
[node name="Led" type="Sprite2D" parent="." unique_id=2066490296]
|
|
material = SubResource("CanvasItemMaterial_d53c6")
|
|
position = Vector2(-126, -218)
|
|
scale = Vector2(0.47368422, 0.47368422)
|
|
texture = ExtResource("3_4f8pu")
|
|
|
|
[node name="Button0" type="Button" parent="." unique_id=1619377723]
|
|
layout_mode = 0
|
|
offset_left = -41.0
|
|
offset_top = 207.0
|
|
offset_right = 41.0
|
|
offset_bottom = 284.0
|
|
flat = true
|
|
|
|
[node name="Label" type="Label" parent="Button0" unique_id=1004291322]
|
|
layout_mode = 0
|
|
offset_left = 18.0
|
|
offset_top = 15.0
|
|
offset_right = 62.0
|
|
offset_bottom = 66.0
|
|
theme_override_fonts/font = ExtResource("2_bg4gc")
|
|
theme_override_font_sizes/font_size = 50
|
|
text = "0"
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="Button0" unique_id=582830561]
|
|
layout_mode = 0
|
|
offset_left = 2.0
|
|
offset_top = -1.0
|
|
offset_right = 80.0
|
|
offset_bottom = 76.0
|
|
mouse_filter = 2
|
|
color = Color(1, 1, 1, 0)
|
|
|
|
[node name="Label" type="Label" parent="." unique_id=1513678322]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 18.0
|
|
offset_top = 298.0
|
|
offset_right = 606.0
|
|
offset_bottom = 399.0
|
|
theme_override_fonts/font = ExtResource("4_35g6u")
|
|
theme_override_font_sizes/font_size = 100
|
|
text = "WRONG!"
|
|
|
|
[node name="ButtonOrigin" type="Marker2D" parent="." unique_id=1784060472]
|
|
position = Vector2(-169, -165)
|