Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019AJMdB7iuHuLFZM1aBu3GD
16 lines
644 B
GDScript
16 lines
644 B
GDScript
extends Node2D
|
|
|
|
# Phone-sized visual fixture for the scanner's persistent flight direction.
|
|
# bash tests/screenshot.sh res://tests/_scanner_guidance_preview.tscn /tmp/scanner_guidance.png 45 720x1280
|
|
|
|
|
|
func _ready() -> void:
|
|
GameState.reset_new_game()
|
|
GameState.intro_active = false
|
|
GameState.reset_quests(false)
|
|
GameState.add_building(GameState.BUILDING_PLANET_SCANNER, Vector2.ZERO)
|
|
GameState.scan_for_planet(PlanetDefinitions.GAS_GIANT_ID, Vector2.ZERO)
|
|
var main: Node = load("res://world/Main.tscn").instantiate()
|
|
add_child(main)
|
|
main.get_node("EnemySpawner").set_process(false)
|
|
main.get_node("AsteroidField").set_process(false)
|