Files
MisguidedLaunch/scenes/space_gui.tscn
Eric Vande Voort 7eb0dea424 init
2025-01-07 16:10:03 -06:00

103 lines
3.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://vkqp8mnf3jcx"]
[ext_resource type="Script" path="res://scripts/SpaceGUI.gd" id="1_pkcso"]
[ext_resource type="Texture2D" uid="uid://bdnapk5ubpkp5" path="res://assets/entities.png" id="2_ng047"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2trj6"]
bg_color = Color(0.91722, 0.0430384, 0.16786, 1)
[sub_resource type="AtlasTexture" id="AtlasTexture_c4ocm"]
atlas = ExtResource("2_ng047")
region = Rect2(160, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_qq8k1"]
atlas = ExtResource("2_ng047")
region = Rect2(128, 0, 32, 32)
[node name="SpaceGUI" type="CanvasLayer"]
script = ExtResource("1_pkcso")
[node name="FuelGauge" type="ProgressBar" parent="."]
unique_name_in_owner = true
custom_minimum_size = Vector2(64, 2.08165e-12)
anchors_preset = 9
anchor_bottom = 1.0
offset_right = 64.0
grow_vertical = 2
theme_override_styles/fill = SubResource("StyleBoxFlat_2trj6")
value = 10.0
fill_mode = 3
[node name="EjectPodLevel" type="HBoxContainer" parent="."]
unique_name_in_owner = true
custom_minimum_size = Vector2(128, 2.08165e-12)
offset_right = 128.0
offset_bottom = 32.0
[node name="HSeparator" type="HSeparator" parent="EjectPodLevel"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 3.0
[node name="EjectIndicator" type="Control" parent="EjectPodLevel"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[node name="Background" type="TextureRect" parent="EjectPodLevel/EjectIndicator"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_c4ocm")
[node name="EjectIcon" type="TextureRect" parent="EjectPodLevel/EjectIndicator"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("AtlasTexture_qq8k1")
expand_mode = 3
[node name="PanelContainer" type="PanelContainer" parent="."]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -40.0
offset_top = -40.0
grow_horizontal = 0
grow_vertical = 0
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"HeaderSmall"
text = "Cargo:"
[node name="CargoItemContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="NoCargoPlaceholder" type="PanelContainer" parent="PanelContainer/MarginContainer/VBoxContainer/CargoItemContainer"]
unique_name_in_owner = true
layout_mode = 2
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/CargoItemContainer/NoCargoPlaceholder"]
layout_mode = 2
text = "None"