AppResidencia/seguir-la-linea/scenes/Main.tscn

128 lines
3.4 KiB
Plaintext
Raw Normal View History

2025-04-09 08:15:55 +00:00
[gd_scene load_steps=3 format=3 uid="uid://cqv0qxebb6ago"]
[ext_resource type="Script" uid="uid://rcrqfnlhe4bb" path="res://scripts/main.gd" id="1_glv2v"]
2025-04-09 08:15:55 +00:00
[sub_resource type="ViewportTexture" id="ViewportTexture_glv2v"]
[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_left = 806.0
offset_top = 383.0
offset_right = 806.0
offset_bottom = 383.0
script = ExtResource("1_glv2v")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_direction = 2
layout_mode = 0
offset_left = -799.0
offset_top = -361.0
2025-04-09 08:15:55 +00:00
offset_right = 1111.0
offset_bottom = 679.0
theme_override_constants/separation = 10
2025-04-09 08:15:55 +00:00
[node name="Label6" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Seleccionar jugador"
vertical_alignment = 3
2025-04-09 08:15:55 +00:00
[node name="MenuButton" type="MenuButton" parent="VBoxContainer"]
custom_minimum_size = Vector2(0, 50)
2025-04-09 08:15:55 +00:00
layout_mode = 2
text = "Jugadores "
icon = SubResource("ViewportTexture_glv2v")
flat = false
item_count = 2
popup/item_0/text = "Jose Manuel"
popup/item_0/id = 0
popup/item_1/text = "Maria Carmen"
popup/item_1/id = 1
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Seleccionar color de fondo"
[node name="bg_color_picker" type="ColorPickerButton" parent="VBoxContainer"]
custom_minimum_size = Vector2(200, 70)
layout_direction = 2
2025-04-09 08:15:55 +00:00
layout_mode = 2
size_flags_horizontal = 0
2025-04-09 08:15:55 +00:00
[node name="Label5" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Seleccionar formas"
[node name="BoxContainer" type="BoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
2025-04-09 08:15:55 +00:00
alignment = 1
[node name="CircleButton" type="CheckButton" parent="VBoxContainer/BoxContainer"]
layout_mode = 2
text = "Circulo"
[node name="TriangleButton" type="CheckButton" parent="VBoxContainer/BoxContainer"]
layout_mode = 2
text = "Triangulo"
[node name="SquareButton" type="CheckButton" parent="VBoxContainer/BoxContainer"]
layout_mode = 2
text = "Cuadrado"
[node name="StarButton" type="CheckButton" parent="VBoxContainer/BoxContainer"]
layout_mode = 2
text = "Estrella"
[node name="HouseButton" type="CheckButton" parent="VBoxContainer/BoxContainer"]
layout_mode = 2
text = "Casa"
[node name="UmbrellaButton" type="CheckButton" parent="VBoxContainer/BoxContainer"]
layout_mode = 2
text = "Paraguas"
[node name="Label7" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Ordenar formas"
[node name="BoxContainer2" type="BoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="Label2" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Seleccionar color de línea"
[node name="line_color_picker" type="ColorPickerButton" parent="VBoxContainer"]
custom_minimum_size = Vector2(200, 70)
2025-04-09 08:15:55 +00:00
layout_mode = 2
size_flags_horizontal = 0
2025-04-09 08:15:55 +00:00
[node name="Label3" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Seleccionar tamaño de la forma"
[node name="radius_slider" type="HSlider" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 1
2025-04-09 08:15:55 +00:00
min_value = 50.0
max_value = 450.0
2025-04-09 08:15:55 +00:00
value = 150.0
[node name="Label4" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Selecciona grosor de la línea"
[node name="width_slider" type="HSlider" parent="VBoxContainer"]
layout_mode = 2
min_value = 3.0
value = 5.0
[node name="play_button" type="Button" parent="VBoxContainer"]
custom_minimum_size = Vector2(350, 70)
2025-04-09 08:15:55 +00:00
layout_mode = 2
size_flags_horizontal = 4
2025-04-09 08:15:55 +00:00
text = "INICAR JUEGO"
[connection signal="pressed" from="VBoxContainer/play_button" to="." method="_on_play_button_pressed"]