[gd_scene load_steps=9 format=3 uid="uid://b1vxl6rs5odt1"]

[ext_resource type="Script" uid="uid://cts6e8xmnqsax" path="res://scripts/galaxy.gd" id="1_jxn3g"]
[ext_resource type="PackedScene" uid="uid://bbgymc0drqpbx" path="res://scenes/ui/time_display.tscn" id="3_fmtwf"]
[ext_resource type="AudioStream" uid="uid://c8xg32p8lbltw" path="res://assets/sounds/music/game_music.mp3" id="3_mlxib"]
[ext_resource type="Script" uid="uid://b4cmg63daeo7g" path="res://scripts/camera_2d.gd" id="4_5xxpo"]
[ext_resource type="Texture2D" uid="uid://bvucvdvh00uaw" path="res://assets/background/galback1.jpg" id="5_xhm0b"]
[ext_resource type="Script" uid="uid://dpwk3ruw8mx6k" path="res://scripts/background.gd" id="6_xhm0b"]
[ext_resource type="PackedScene" uid="uid://dgxm8txsiukwf" path="res://scenes/planet_panel.tscn" id="7_xhm0b"]
[ext_resource type="PackedScene" uid="uid://c405r414rsut2" path="res://scenes/top_panel.tscn" id="8_0pfb5"]

[node name="Galaxy" type="Node2D"]
script = ExtResource("1_jxn3g")

[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = -1

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_mlxib")
volume_db = -24.807
autoplay = true

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(904, 512)
zoom = Vector2(0.81, 0.81)
limit_smoothed = true
script = ExtResource("4_5xxpo")

[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
scroll_ignore_camera_zoom = true

[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
position = Vector2(-72, -32)
motion_scale = Vector2(0.1, 0.1)

[node name="Background" type="Sprite2D" parent="ParallaxBackground/ParallaxLayer"]
z_index = -10
position = Vector2(2560, 1328)
scale = Vector2(0.7135999, 0.76515555)
texture = ExtResource("5_xhm0b")
script = ExtResource("6_xhm0b")

[node name="UI" type="CanvasLayer" parent="."]
offset = Vector2(50, 50)
transform = Transform2D(1, 0, 0, 1, 50, 50)

[node name="PlanetPanel" parent="UI" instance=ExtResource("7_xhm0b")]
visible = false
show_behind_parent = true
anchors_preset = 0
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 1758.0
offset_top = 30.0
offset_right = 2418.0
offset_bottom = 1086.0
grow_vertical = 1
size_flags_horizontal = 4
size_flags_vertical = 4

[node name="CanvasLayer2" type="CanvasLayer" parent="UI"]
layer = 10

[node name="TimeDisplay" parent="UI/CanvasLayer2" instance=ExtResource("3_fmtwf")]
unique_name_in_owner = true
top_level = true
z_index = 13
z_as_relative = false
offset_left = 2144.0
offset_top = 8.0
offset_right = -80.0
offset_bottom = -1384.0

[node name="TopPanel" parent="UI" instance=ExtResource("8_0pfb5")]
offset_left = -18.0
offset_top = -26.0
offset_right = 2022.0
offset_bottom = 78.0
size_flags_horizontal = 0
