This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Actors/Objects/Computer/UI/ControlComp.tscn

210 lines
5.4 KiB
Text
Raw Permalink Normal View History

2020-07-07 00:47:29 +00:00
[gd_scene load_steps=5 format=2]
2020-07-06 22:00:39 +00:00
[ext_resource path="res://Actors/Objects/Computer/UI/ControlComp.gd" type="Script" id=1]
2020-07-07 00:47:29 +00:00
[ext_resource path="res://Graphics/UI/ui-popup-panel.png" type="Texture" id=2]
[ext_resource path="res://Graphics/UI/ui_theme.tres" type="Theme" id=3]
[ext_resource path="res://Graphics/unshaded_mat.tres" type="Material" id=4]
2020-07-06 22:00:39 +00:00
2020-07-07 00:47:29 +00:00
[node name="ControlComp" type="Control"]
material = ExtResource( 4 )
margin_left = -157.0
2020-07-20 09:15:39 +00:00
margin_top = -160.0
margin_right = 156.0
2020-07-06 22:00:39 +00:00
margin_bottom = -20.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
2020-07-06 22:00:39 +00:00
script = ExtResource( 1 )
2020-07-07 00:47:29 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
2020-07-06 22:00:39 +00:00
2020-07-07 00:47:29 +00:00
[node name="TextureRect" type="TextureRect" parent="."]
material = ExtResource( 4 )
anchor_left = 0.5
2020-07-10 00:09:54 +00:00
anchor_top = 1.0
2020-07-07 00:47:29 +00:00
anchor_right = 0.5
2020-07-10 00:09:54 +00:00
anchor_bottom = 1.0
2020-07-07 00:47:29 +00:00
margin_left = -8.0
2020-07-10 00:09:54 +00:00
margin_top = -16.5409
2020-07-07 00:47:29 +00:00
margin_right = 8.27014
2020-07-10 00:09:54 +00:00
margin_bottom = 15.4881
2020-07-07 00:47:29 +00:00
texture = ExtResource( 2 )
stretch_mode = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NinePatchRect" type="NinePatchRect" parent="."]
material = ExtResource( 4 )
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 2 )
region_rect = Rect2( 0, 0, 16, 16 )
patch_margin_left = 4
patch_margin_top = 4
patch_margin_right = 4
patch_margin_bottom = 5
axis_stretch_horizontal = 1
2020-07-06 22:00:39 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Margin" type="MarginContainer" parent="."]
2020-07-06 22:00:39 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 10.0
margin_top = 10.0
margin_right = -10.0
margin_bottom = -10.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Container" type="VBoxContainer" parent="Margin"]
material = ExtResource( 4 )
margin_right = 293.0
2020-07-20 09:15:39 +00:00
margin_bottom = 120.0
grow_horizontal = 2
grow_vertical = 2
2020-07-06 22:00:39 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
2020-07-20 09:15:39 +00:00
custom_constants/separation = 10
2020-07-06 22:00:39 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VelocityBox" type="VBoxContainer" parent="Margin/Container"]
2020-07-07 00:47:29 +00:00
material = ExtResource( 4 )
margin_right = 293.0
2020-07-20 09:15:39 +00:00
margin_bottom = 86.0
2020-07-06 22:00:39 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="Margin/Container/VelocityBox"]
2020-07-20 09:15:39 +00:00
margin_top = 1.0
margin_right = 293.0
2020-07-20 09:15:39 +00:00
margin_bottom = 19.0
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ShipTarget" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer"]
material = ExtResource( 4 )
2020-07-10 00:09:54 +00:00
margin_right = 98.0
margin_bottom = 18.0
mouse_filter = 1
2020-07-07 00:47:29 +00:00
theme = ExtResource( 3 )
2020-07-10 00:09:54 +00:00
text = "Current target"
2020-07-06 22:00:39 +00:00
[node name="CurrentTarget" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer"]
material = ExtResource( 4 )
2020-07-10 00:09:54 +00:00
margin_left = 108.0
margin_right = 293.0
margin_bottom = 18.0
mouse_filter = 1
2020-07-10 00:09:54 +00:00
size_flags_horizontal = 3
theme = ExtResource( 3 )
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
2020-07-10 00:09:54 +00:00
text = "2A.01/10"
align = 2
[node name="HBoxContainer4" type="HBoxContainer" parent="Margin/Container/VelocityBox"]
2020-07-20 09:15:39 +00:00
margin_top = 23.0
margin_right = 293.0
2020-07-20 09:15:39 +00:00
margin_bottom = 41.0
2020-07-10 00:09:54 +00:00
custom_constants/separation = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ShipTarget" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer4"]
2020-07-07 00:47:29 +00:00
material = ExtResource( 4 )
2020-07-10 00:09:54 +00:00
margin_right = 110.0
margin_bottom = 18.0
mouse_filter = 1
2020-07-10 00:09:54 +00:00
theme = ExtResource( 3 )
text = "Current position"
2020-07-06 22:00:39 +00:00
[node name="CurrentPosition" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer4"]
2020-07-07 00:47:29 +00:00
material = ExtResource( 4 )
2020-07-10 00:09:54 +00:00
margin_left = 120.0
margin_right = 293.0
2020-07-10 00:09:54 +00:00
margin_bottom = 18.0
mouse_filter = 1
2020-07-06 22:00:39 +00:00
size_flags_horizontal = 3
2020-07-10 00:09:54 +00:00
theme = ExtResource( 3 )
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
text = "0A.00/00"
align = 2
[node name="HBoxContainer3" type="HBoxContainer" parent="Margin/Container/VelocityBox"]
2020-07-20 09:15:39 +00:00
margin_top = 45.0
margin_right = 293.0
2020-07-20 09:15:39 +00:00
margin_bottom = 63.0
2020-07-10 00:09:54 +00:00
custom_constants/separation = 10
2020-07-06 22:00:39 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ShipVelocityLabel" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer3"]
material = ExtResource( 4 )
2020-07-10 00:09:54 +00:00
margin_right = 88.0
margin_bottom = 18.0
mouse_filter = 1
2020-07-07 00:47:29 +00:00
theme = ExtResource( 3 )
2020-07-10 00:09:54 +00:00
text = "Ship velocity"
2020-07-06 22:00:39 +00:00
[node name="CurrentSpeed" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer3"]
material = ExtResource( 4 )
margin_left = 98.0
margin_right = 293.0
margin_bottom = 18.0
mouse_filter = 1
2020-07-10 00:09:54 +00:00
size_flags_horizontal = 3
theme = ExtResource( 3 )
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
2020-07-10 00:09:54 +00:00
align = 2
[node name="HBoxContainer2" type="HBoxContainer" parent="Margin/Container/VelocityBox"]
2020-07-20 09:15:39 +00:00
margin_top = 67.0
margin_right = 293.0
2020-07-20 09:15:39 +00:00
margin_bottom = 85.0
2020-07-10 00:09:54 +00:00
[node name="ShipDirectionLabel" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer2"]
2020-07-10 00:09:54 +00:00
material = ExtResource( 4 )
margin_right = 94.0
margin_bottom = 18.0
mouse_filter = 1
theme = ExtResource( 3 )
text = "Ship direction"
[node name="CurrentDirection" type="Label" parent="Margin/Container/VelocityBox/HBoxContainer2"]
2020-07-07 00:47:29 +00:00
material = ExtResource( 4 )
2020-07-10 00:09:54 +00:00
margin_left = 98.0
margin_right = 293.0
2020-07-10 00:09:54 +00:00
margin_bottom = 18.0
mouse_filter = 1
2020-07-10 00:09:54 +00:00
size_flags_horizontal = 3
theme = ExtResource( 3 )
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
align = 2
[node name="Button" type="Button" parent="Margin/Container"]
material = ExtResource( 4 )
2020-07-20 09:15:39 +00:00
margin_top = 96.0
margin_right = 293.0
2020-07-20 09:15:39 +00:00
margin_bottom = 120.0
theme = ExtResource( 3 )
text = "Open map"
[connection signal="pressed" from="Margin/Container/Button" to="." method="_map_button_pressed"]