[gd_scene load_steps=4 format=3 uid="uid://w3vh1gj6t2k2"] [ext_resource type="Script" uid="uid://bpf107mmjiswh" path="res://scenes/menus/camera/camera_controller.gd" id="1_mvpa7"] [sub_resource type="LabelSettings" id="LabelSettings_mvpa7"] font_size = 24 [sub_resource type="LabelSettings" id="LabelSettings_duxs1"] font_color = Color(0, 1, 0.14117648, 1) [node name="camera_controller" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_mvpa7") [node name="margin_container" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_bottom = 69.0 grow_horizontal = 2 theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 5 theme_override_constants/margin_right = 10 [node name="vbox" type="VBoxContainer" parent="margin_container"] layout_mode = 2 [node name="hbox" type="HBoxContainer" parent="margin_container/vbox"] layout_mode = 2 size_flags_vertical = 3 [node name="hbox" type="HBoxContainer" parent="margin_container/vbox/hbox"] layout_mode = 2 size_flags_horizontal = 3 [node name="player_lbl" type="Label" parent="margin_container/vbox/hbox/hbox"] layout_mode = 2 size_flags_horizontal = 3 text = "Player 1" [node name="hbox2" type="HBoxContainer" parent="margin_container/vbox/hbox"] layout_mode = 2 [node name="prev_bttn" type="Button" parent="margin_container/vbox/hbox/hbox2"] z_index = 1 layout_mode = 2 focus_mode = 0 mouse_default_cursor_shape = 2 text = "" flat = true [node name="label" type="Label" parent="margin_container/vbox/hbox/hbox2"] layout_mode = 2 text = " Camera " label_settings = SubResource("LabelSettings_mvpa7") horizontal_alignment = 1 vertical_alignment = 1 [node name="next_bttn" type="Button" parent="margin_container/vbox/hbox/hbox2"] z_index = 1 layout_mode = 2 focus_mode = 0 mouse_default_cursor_shape = 2 text = "" flat = true [node name="hbox2" type="HBoxContainer" parent="margin_container/vbox"] layout_mode = 2 size_flags_vertical = 3 [node name="hbox" type="HBoxContainer" parent="margin_container/vbox/hbox2"] layout_mode = 2 size_flags_horizontal = 3 [node name="active_lbl" type="Label" parent="margin_container/vbox/hbox2/hbox"] visible = false layout_mode = 2 text = "Active" label_settings = SubResource("LabelSettings_duxs1") uppercase = true [node name="hbox2" type="HBoxContainer" parent="margin_container/vbox/hbox2"] clip_contents = true custom_minimum_size = Vector2(149, 0) layout_mode = 2 [node name="reset_bttn" type="Button" parent="margin_container/vbox/hbox2/hbox2"] layout_mode = 2 focus_mode = 0 mouse_default_cursor_shape = 2 text = "Reset" flat = true alignment = 0 [connection signal="pressed" from="margin_container/vbox/hbox/hbox2/prev_bttn" to="." method="_on_prev_bttn_pressed"] [connection signal="pressed" from="margin_container/vbox/hbox/hbox2/next_bttn" to="." method="_on_next_bttn_pressed"] [connection signal="pressed" from="margin_container/vbox/hbox2/hbox2/reset_bttn" to="." method="_on_reset_bttn_pressed"]