You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
3.2 KiB
108 lines
3.2 KiB
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://scripts/menus/local_game.gd" type="Script" id=2]
|
|
[ext_resource path="res://scenes/menus/SettingsPlayerMenu.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://resources/ui/font.tres" type="DynamicFont" id=4]
|
|
[ext_resource path="res://assets/icons/exitRight.png" type="Texture" id=5]
|
|
[ext_resource path="res://assets/icons/return.png" type="Texture" id=6]
|
|
|
|
[node name="local_game_menu" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 0.857376
|
|
margin_top = 0.857422
|
|
margin_right = 0.857422
|
|
margin_bottom = 0.857422
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="menu" type="Panel" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -217.5
|
|
margin_top = -130.5
|
|
margin_right = 217.5
|
|
margin_bottom = 130.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="menu"]
|
|
margin_left = 19.0
|
|
margin_top = 21.0
|
|
margin_right = 418.0
|
|
margin_bottom = 197.0
|
|
|
|
[node name="player_settings" parent="menu/GridContainer" instance=ExtResource( 3 )]
|
|
margin_left = 0.0
|
|
margin_top = 0.0
|
|
margin_right = 399.0
|
|
margin_bottom = 132.0
|
|
|
|
[node name="name_label" parent="menu/GridContainer/player_settings/GridContainer" index="0"]
|
|
margin_right = 399.0
|
|
margin_bottom = 27.0
|
|
|
|
[node name="name" parent="menu/GridContainer/player_settings/GridContainer" index="1"]
|
|
margin_top = 31.0
|
|
margin_right = 399.0
|
|
margin_bottom = 68.0
|
|
focus_neighbour_bottom = NodePath("../color")
|
|
|
|
[node name="color_label" parent="menu/GridContainer/player_settings/GridContainer" index="2"]
|
|
margin_top = 72.0
|
|
margin_right = 399.0
|
|
margin_bottom = 99.0
|
|
|
|
[node name="color" parent="menu/GridContainer/player_settings/GridContainer" index="3"]
|
|
margin_top = 103.0
|
|
margin_right = 399.0
|
|
margin_bottom = 136.0
|
|
focus_neighbour_top = NodePath("../name")
|
|
focus_neighbour_bottom = NodePath("../../../bots")
|
|
|
|
[node name="bots" type="CheckButton" parent="menu/GridContainer"]
|
|
margin_top = 136.0
|
|
margin_right = 143.0
|
|
margin_bottom = 176.0
|
|
focus_neighbour_top = NodePath("../player_settings/GridContainer/color")
|
|
focus_neighbour_bottom = NodePath("../../start")
|
|
size_flags_horizontal = 0
|
|
pressed = true
|
|
text = "BOTS"
|
|
flat = true
|
|
|
|
[node name="start" type="Button" parent="menu"]
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -234.0
|
|
margin_top = -56.0
|
|
grow_horizontal = 0
|
|
rect_pivot_offset = Vector2( 1.89856, 0.845154 )
|
|
focus_neighbour_left = NodePath("../back")
|
|
focus_neighbour_top = NodePath("../GridContainer/bots")
|
|
custom_fonts/font = ExtResource( 4 )
|
|
text = "START_GAME"
|
|
icon = ExtResource( 5 )
|
|
flat = true
|
|
|
|
[node name="back" type="Button" parent="menu"]
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_top = -56.0
|
|
margin_right = 132.0
|
|
rect_pivot_offset = Vector2( 0.606262, -0.447205 )
|
|
focus_neighbour_top = NodePath("../GridContainer/bots")
|
|
focus_neighbour_right = NodePath("../start")
|
|
custom_fonts/font = ExtResource( 4 )
|
|
text = "BACK"
|
|
icon = ExtResource( 6 )
|
|
flat = true
|
|
[connection signal="pressed" from="menu/start" to="." method="_on_start_pressed"]
|
|
[connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]
|
|
|
|
[editable path="menu/GridContainer/player_settings"]
|