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
13 lines
188 B
GDScript
13 lines
188 B
GDScript
extends Node2D
|
|
|
|
|
|
var points = 0
|
|
|
|
func _ready() -> void:
|
|
$AnimatedSprite2D.play()
|
|
|
|
func _on_body_entered(_body: Node2D) -> void:
|
|
queue_free()
|
|
GlobalData.cassettes += 1
|
|
print("1 point")
|