refactor and rename cassette system - Rename cassette references throughout codebase - Update scene files and scripts for consistency - Refactor cassette.gd and related components - Update player, enemy, and phonebooth interactions - Sync game_over and pause_screen with new structure
22 lines
442 B
GDScript
22 lines
442 B
GDScript
extends Node2D
|
|
|
|
|
|
# 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:
|
|
GlobalData.death_counter = 3
|
|
$".".queue_free()
|
|
get_tree().reload_current_scene()
|
|
|
|
|
|
func _on_button_2_pressed() -> void:
|
|
get_tree().quit()
|