Lot of cleanup
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
This commit is contained in:
1 parent
6c6bc2a21a
commit
de90af743c
51 files changed
+273
-752
No files matched your search
@@ -0,0 +1,19 @@
|
||||
extends CanvasLayer
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
if !get_tree().paused or Input.is_action_just_pressed("pause"):
|
||||
queue_free()
|
||||
get_tree().paused = false
|
||||
|
||||
func _on_button_pressed() -> void:
|
||||
get_tree().paused = false
|
||||
queue_free()
|
||||
|
||||
func _on_button_2_pressed() -> void:
|
||||
get_tree().quit()
|
||||
Reference in new issue
Block a user