0.1.0
Added a basic test map, options menu, bug fixes, and much more.
This commit is contained in:
parent
d72b5ac57b
commit
2dce012535
34 changed files with 1268 additions and 84 deletions
78
ui/options_menu.tscn
Normal file
78
ui/options_menu.tscn
Normal file
|
@ -0,0 +1,78 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://bxeejl1m7w5mn"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://fpohmcdqnk35" path="res://ui/options_menu.gd" id="1_ibk6l"]
|
||||
|
||||
[node name="OptionsMenu" 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_ibk6l")
|
||||
|
||||
[node name="OptionsList" type="VBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 13
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -78.5
|
||||
offset_right = 78.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="UsernameOption" type="HBoxContainer" parent="OptionsList"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
|
||||
[node name="OptionName" type="Label" parent="OptionsList/UsernameOption"]
|
||||
layout_mode = 2
|
||||
text = "Username:"
|
||||
|
||||
[node name="OptionInput" type="LineEdit" parent="OptionsList/UsernameOption"]
|
||||
custom_minimum_size = Vector2(175, 0)
|
||||
layout_mode = 2
|
||||
max_length = 20
|
||||
|
||||
[node name="IpAddressOption" type="HBoxContainer" parent="OptionsList"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
|
||||
[node name="OptionName" type="Label" parent="OptionsList/IpAddressOption"]
|
||||
layout_mode = 2
|
||||
text = "IP Address:"
|
||||
|
||||
[node name="OptionInput" type="LineEdit" parent="OptionsList/IpAddressOption"]
|
||||
custom_minimum_size = Vector2(175, 0)
|
||||
layout_mode = 2
|
||||
max_length = 20
|
||||
|
||||
[node name="DataCollectionOption" type="HBoxContainer" parent="OptionsList"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
|
||||
[node name="OptionName" type="Label" parent="OptionsList/DataCollectionOption"]
|
||||
layout_mode = 2
|
||||
text = "Server data collection allowed:"
|
||||
|
||||
[node name="OptionInput" type="CheckBox" parent="OptionsList/DataCollectionOption"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -157.0
|
||||
offset_top = -31.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "Back to Main Menu"
|
||||
|
||||
[connection signal="text_changed" from="OptionsList/UsernameOption/OptionInput" to="." method="_username_changed"]
|
||||
[connection signal="text_changed" from="OptionsList/IpAddressOption/OptionInput" to="." method="_ip_address_changed"]
|
||||
[connection signal="toggled" from="OptionsList/DataCollectionOption/OptionInput" to="." method="_data_collection_changed"]
|
||||
[connection signal="pressed" from="Button" to="." method="_main_menu"]
|
Loading…
Add table
Add a link
Reference in a new issue