space_empire/scenes/sector.tscn
2025-10-20 19:51:40 +02:00

67 lines
1.9 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://b1a8a10jb4auf"]
[ext_resource type="Script" uid="uid://cntq3qk522oqg" path="res://scripts/sector.gd" id="1_l8itw"]
[ext_resource type="Texture2D" uid="uid://di7qrtp4lusa3" path="res://assets/icons/galaxy_button.png" id="2_c2nvg"]
[ext_resource type="Texture2D" uid="uid://cxanptjcnnwh" path="res://assets/icons/galaxy_button_hover.png" id="3_d5vc0"]
[node name="Sector" type="Node2D"]
script = ExtResource("1_l8itw")
[node name="background" type="Sprite2D" parent="."]
position = Vector2(572.00006, 328.5)
[node name="PlanetStatPanel" type="Panel" parent="."]
visible = false
offset_right = 320.0
offset_bottom = 204.0
[node name="PlanetName" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 16.0
offset_right = 278.0
offset_bottom = 41.0
theme_override_colors/font_color = Color(0.15989491, 0.40655294, 0.47780138, 1)
[node name="PopulationPanel" type="Label" parent="PlanetStatPanel"]
layout_mode = 1
anchors_preset = -1
anchor_bottom = 0.277
offset_left = 8.0
offset_top = 48.0
offset_right = 278.0
offset_bottom = 16.491997
[node name="ResourcePlanet" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 80.0
offset_right = 278.0
offset_bottom = 105.0
[node name="MiningRate" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 112.0
offset_right = 278.0
offset_bottom = 137.0
[node name="GrowthRate" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 144.0
offset_right = 278.0
offset_bottom = 169.0
[node name="BackButton" type="TextureButton" parent="."]
offset_left = 2337.0
offset_top = 1199.0
offset_right = 2407.0
offset_bottom = 1269.0
size_flags_horizontal = 8
size_flags_vertical = 8
texture_normal = ExtResource("2_c2nvg")
texture_hover = ExtResource("3_d5vc0")
ignore_texture_size = true
stretch_mode = 0