[gd_scene load_steps=2 format=2] [ext_resource path="res://Actors/Objects/Computer/UI/ControlComp.gd" type="Script" id=1] [node name="ControlComp" type="Panel"] margin_left = -100.0 margin_top = -150.0 margin_right = 100.0 margin_bottom = -20.0 mouse_filter = 1 script = ExtResource( 1 ) [node name="Panel" type="Panel" parent="."] margin_left = 100.0 margin_top = 90.0 margin_right = 140.0 margin_bottom = 130.0 rect_rotation = 45.0 mouse_filter = 1 __meta__ = { "_edit_use_anchors_": false } [node name="Container" type="VBoxContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 10.0 margin_top = 10.0 margin_right = -10.0 margin_bottom = -10.0 size_flags_horizontal = 3 size_flags_vertical = 3 custom_constants/separation = 20 __meta__ = { "_edit_use_anchors_": false } [node name="VelocityBox" type="VBoxContainer" parent="Container"] margin_right = 180.0 margin_bottom = 45.0 size_flags_horizontal = 3 size_flags_vertical = 3 alignment = 1 __meta__ = { "_edit_use_anchors_": false } [node name="ShipVelocityLabel" type="Label" parent="Container/VelocityBox"] margin_top = 5.0 margin_right = 180.0 margin_bottom = 19.0 mouse_filter = 1 text = "Ship velocity" [node name="HSlider" type="HSlider" parent="Container/VelocityBox"] margin_top = 23.0 margin_right = 180.0 margin_bottom = 39.0 mouse_filter = 1 max_value = 1000.0 value = 1000.0 tick_count = 10 ticks_on_borders = true [node name="DirectionBox" type="VBoxContainer" parent="Container"] margin_top = 65.0 margin_right = 180.0 margin_bottom = 110.0 size_flags_horizontal = 3 size_flags_vertical = 3 alignment = 1 __meta__ = { "_edit_use_anchors_": false } [node name="ShipDirectionLabel" type="Label" parent="Container/DirectionBox"] margin_top = 5.0 margin_right = 180.0 margin_bottom = 19.0 mouse_filter = 1 text = "Ship direction" [node name="HSlider" type="HSlider" parent="Container/DirectionBox"] margin_top = 23.0 margin_right = 180.0 margin_bottom = 39.0 mouse_filter = 1 max_value = 360.0 tick_count = 18 ticks_on_borders = true [connection signal="value_changed" from="Container/VelocityBox/HSlider" to="." method="_ship_velocity_changed"] [connection signal="value_changed" from="Container/DirectionBox/HSlider" to="." method="_ship_direction_changed"]