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
16 lines
388 B
GDScript
16 lines
388 B
GDScript
extends Control
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta: float) -> void:
|
|
pass
|
|
|
|
|
|
func _on_button_pressed() -> void:
|
|
get_tree().change_scene_to_file("res://scenes/levels/level%s.tscn" % GlobalData.level)
|