mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-07-12 18:43:49 +00:00
feat(*): Add basic flight data to HUD
This commit is contained in:
@@ -46,3 +46,49 @@ offset_bottom = 62.0
|
||||
grow_horizontal = 2
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="InfoPanel" type="VBoxContainer" parent="HUD/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="HUD/Control/InfoPanel"]
|
||||
layout_mode = 2
|
||||
text = "Speed: 0.0 m/s"
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
|
||||
[node name="AltitudeLabel" type="Label" parent="HUD/Control/InfoPanel"]
|
||||
layout_mode = 2
|
||||
text = "Altitude: 0.0 m"
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
|
||||
[node name="AngularVelLabel" type="Label" parent="HUD/Control/InfoPanel"]
|
||||
layout_mode = 2
|
||||
text = "Angular Vel: 0.0 rad/s"
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
|
||||
[node name="CameraModeLabel" type="Label" parent="HUD/Control/InfoPanel"]
|
||||
layout_mode = 2
|
||||
text = "Camera: Ball Cam"
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
|
||||
[node name="AttitudeLabel" type="Label" parent="HUD/Control/InfoPanel"]
|
||||
layout_mode = 2
|
||||
text = "Pitch: 0° Roll: 0°"
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
|
||||
[node name="HeadingLabel" type="Label" parent="HUD/Control/InfoPanel"]
|
||||
layout_mode = 2
|
||||
text = "Heading: 0°"
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
|
||||
[node name="ThrustLabel" type="Label" parent="HUD/Control/InfoPanel"]
|
||||
layout_mode = 2
|
||||
text = "Thrust: 0%"
|
||||
label_settings = SubResource("LabelSettings_efag7")
|
||||
|
||||
Reference in New Issue
Block a user