mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-07-12 18:43:49 +00:00
84 lines
2.2 KiB
Plaintext
84 lines
2.2 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://c8kak2l3m4n5"]
|
|
|
|
[ext_resource type="Script" uid="uid://bx9j8k7l6m5n" path="res://scripts/HUDController.gd" id="1_hud_controller"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_hud"]
|
|
font_size = 32
|
|
|
|
[node name="HUD" type="CanvasLayer"]
|
|
script = ExtResource("1_hud_controller")
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="TimerLabel" type="Label" parent="Control"]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -90.5
|
|
offset_right = 90.5
|
|
offset_bottom = 62.0
|
|
grow_horizontal = 2
|
|
label_settings = SubResource("LabelSettings_hud")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Instruments" type="Control" parent="Control"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="InfoPanel" type="VBoxContainer" parent="Control"]
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 10.0
|
|
offset_top = -200.0
|
|
offset_right = 300.0
|
|
offset_bottom = -10.0
|
|
grow_vertical = 0
|
|
|
|
[node name="SpeedLabel" type="Label" parent="Control/InfoPanel"]
|
|
layout_mode = 2
|
|
text = "Speed: 0.0 m/s"
|
|
label_settings = SubResource("LabelSettings_hud")
|
|
|
|
[node name="AltitudeLabel" type="Label" parent="Control/InfoPanel"]
|
|
layout_mode = 2
|
|
text = "Altitude: 0.0 m"
|
|
label_settings = SubResource("LabelSettings_hud")
|
|
|
|
[node name="AngularVelLabel" type="Label" parent="Control/InfoPanel"]
|
|
layout_mode = 2
|
|
text = "Angular Vel: 0.0 rad/s"
|
|
label_settings = SubResource("LabelSettings_hud")
|
|
|
|
[node name="CameraModeLabel" type="Label" parent="Control/InfoPanel"]
|
|
layout_mode = 2
|
|
text = "Camera: Ball Cam"
|
|
label_settings = SubResource("LabelSettings_hud")
|
|
|
|
[node name="AttitudeLabel" type="Label" parent="Control/InfoPanel"]
|
|
layout_mode = 2
|
|
text = "Pitch: 0° Roll: 0°"
|
|
label_settings = SubResource("LabelSettings_hud")
|
|
|
|
[node name="HeadingLabel" type="Label" parent="Control/InfoPanel"]
|
|
layout_mode = 2
|
|
text = "Heading: 0°"
|
|
label_settings = SubResource("LabelSettings_hud")
|
|
|
|
[node name="ThrustLabel" type="Label" parent="Control/InfoPanel"]
|
|
layout_mode = 2
|
|
text = "Thrust: 0%"
|
|
label_settings = SubResource("LabelSettings_hud")
|