space_empire/scenes/sector.tscn

143 lines
3.7 KiB
Plaintext

[gd_scene load_steps=6 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"]
[ext_resource type="PackedScene" uid="uid://bbgymc0drqpbx" path="res://scenes/time_display.tscn" id="4_mad1q"]
[ext_resource type="Texture2D" uid="uid://c1npf2gngyyxp" path="res://assets/buildings/starbase.png" id="5_d1pn0"]
[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 = 512.0
[node name="PlanetName" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_right = 312.0
offset_bottom = 25.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 = 40.0
offset_right = 312.0
offset_bottom = -77.824005
[node name="IronPlanet" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 96.0
offset_right = 312.0
offset_bottom = 121.0
[node name="IronExist" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 72.0
offset_right = 312.0
offset_bottom = 97.0
[node name="TitanExist" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 136.0
offset_right = 312.0
offset_bottom = 161.0
[node name="TitanPlanet" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 160.0
offset_right = 312.0
offset_bottom = 185.0
[node name="AluExist" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 200.0
offset_right = 312.0
offset_bottom = 225.0
[node name="AluPlanet" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 224.0
offset_right = 312.0
offset_bottom = 249.0
[node name="UranExist" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 265.0
offset_right = 312.0
offset_bottom = 290.0
[node name="UranPlanet" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 289.0
offset_right = 312.0
offset_bottom = 314.0
[node name="MiningRate" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 361.0
offset_right = 312.0
offset_bottom = 386.0
[node name="GrowthRate" type="Label" parent="PlanetStatPanel"]
layout_mode = 0
offset_left = 8.0
offset_top = 321.0
offset_right = 312.0
offset_bottom = 346.0
[node name="BackButton" type="TextureButton" parent="."]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1096.0
offset_top = 592.0
offset_right = 1166.0
offset_bottom = 662.0
grow_horizontal = 0
grow_vertical = 0
scale = Vector2(0.4, 0.4)
pivot_offset = Vector2(50, 70)
texture_normal = ExtResource("2_c2nvg")
texture_hover = ExtResource("3_d5vc0")
ignore_texture_size = true
stretch_mode = 0
[node name="TimeDisplay" parent="." instance=ExtResource("4_mad1q")]
anchors_preset = 1
anchor_left = 1.0
anchor_bottom = 0.0
offset_left = 1024.0
offset_right = 1152.0
offset_bottom = 24.0
grow_horizontal = 0
grow_vertical = 1
[node name="TextureButton" type="TextureButton" parent="."]
offset_left = 504.0
offset_top = 360.0
offset_right = 544.0
offset_bottom = 400.0
texture_normal = ExtResource("5_d1pn0")
ignore_texture_size = true
stretch_mode = 0