Files
wgj26/scripts/phonebooth.gd
T
bigmstone 2c6a395938 Level 3
Using Level 3 to do a big art pass and get a lot of systems set up and
cleaned up.

Add Phantom Camera addon with comprehensive 2D/3D camera system
2026-10-04 02:21:46 -06:00

17 lines
381 B
GDScript

extends Node2D
@onready var phonephreak = preload("res://scenes/puzzles/phonephreak.tscn")
func _ready() -> void:
pass # Replace with function body.
func _process(delta: float) -> void:
pass
func _on_area_2d_body_entered(body: Node2D) -> void:
if $CanvasLayer.get_children().is_empty():
GloblaData.doing_puzzle = true
$CanvasLayer.add_child(phonephreak.instantiate())