34dc5b026e
Bull's boulder roll now homes on and ploughs through lobby barrels, and the slam shockwave bursts them within its radius. HUD tallies barrels on load and fires a confetti "WOooOoW!" + two gold bonus HP pips when the last one breaks; gates open from run state as fights are cleared. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
13 lines
350 B
GDScript
13 lines
350 B
GDScript
extends Area3D
|
|
## Lobby gate into the arena fight. Always open — the arena is the run's first door.
|
|
|
|
func _ready() -> void:
|
|
body_entered.connect(_on_body_entered)
|
|
|
|
|
|
func _on_body_entered(body: Node3D) -> void:
|
|
if not body.is_in_group("player"):
|
|
return
|
|
Run.choose_level(&"arena")
|
|
get_tree().change_scene_to_file(Run.active_level().scene_path)
|