Vore_Sandbox_Remaster/settingsMenu.tscn

231 lines
5.4 KiB
Text

[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/settingsMenu.gd" type="Script" id=1]
[ext_resource path="res://fonts/title.tres" type="DynamicFont" id=2]
[ext_resource path="res://UI_themes/main.tres" type="Theme" id=3]
[ext_resource path="res://fonts/large_text.tres" type="DynamicFont" id=4]
[ext_resource path="res://scripts/UI/gotoscenebutton.gd" type="Script" id=5]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 3 )
script = ExtResource( 1 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.356863, 0, 0, 1 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
anchor_right = 1.0
margin_bottom = 64.0
custom_fonts/font = ExtResource( 2 )
text = "Game Settings"
align = 1
valign = 1
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="top" type="HBoxContainer" parent="."]
anchor_right = 1.0
margin_bottom = 64.0
[node name="SaR" type="Button" parent="top"]
margin_right = 153.0
margin_bottom = 64.0
text = "Save and return"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Control" type="Control" parent="top"]
margin_left = 157.0
margin_right = 157.0
margin_bottom = 64.0
size_flags_horizontal = 2
[node name="C" type="Button" parent="top"]
margin_left = 877.0
margin_right = 960.0
margin_bottom = 64.0
text = " Cancel "
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
default = true
[node name="Scroll" type="ScrollContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 32.0
margin_top = 96.0
margin_right = -32.0
margin_bottom = -32.0
follow_focus = true
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="VBox" type="VBoxContainer" parent="Scroll"]
margin_right = 382.0
margin_bottom = 670.0
[node name="controlsLabel" type="Label" parent="Scroll/VBox"]
margin_right = 382.0
margin_bottom = 32.0
custom_fonts/font = ExtResource( 4 )
text = "Controls"
[node name="touchcontrols" type="CheckButton" parent="Scroll/VBox"]
margin_top = 36.0
margin_right = 382.0
margin_bottom = 76.0
text = "Touch Controls"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="worldLabel" type="Label" parent="Scroll/VBox"]
margin_top = 80.0
margin_right = 382.0
margin_bottom = 112.0
custom_fonts/font = ExtResource( 4 )
text = "World"
[node name="ws" type="HBoxContainer" parent="Scroll/VBox"]
margin_top = 116.0
margin_right = 382.0
margin_bottom = 150.0
[node name="Label" type="Label" parent="Scroll/VBox/ws"]
margin_top = 5.0
margin_right = 93.0
margin_bottom = 29.0
text = "World size"
[node name="wsize" type="SpinBox" parent="Scroll/VBox/ws"]
margin_left = 97.0
margin_right = 183.0
margin_bottom = 34.0
value = 30.0
rounded = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="uiLabel" type="Label" parent="Scroll/VBox"]
margin_top = 154.0
margin_right = 382.0
margin_bottom = 186.0
custom_fonts/font = ExtResource( 4 )
text = "UI"
[node name="res" type="HBoxContainer" parent="Scroll/VBox"]
margin_top = 190.0
margin_right = 382.0
margin_bottom = 220.0
[node name="Label" type="Label" parent="Scroll/VBox/res"]
margin_top = 3.0
margin_right = 95.0
margin_bottom = 27.0
text = "Game size"
[node name="res" type="OptionButton" parent="Scroll/VBox/res"]
margin_left = 99.0
margin_right = 193.0
margin_bottom = 30.0
text = "Default"
items = [ "Original", null, false, 0, false, "Default", null, false, 1, false, "Wide", null, false, 2, false ]
selected = 1
[node name="fs" type="HBoxContainer" parent="Scroll/VBox"]
margin_top = 224.0
margin_right = 382.0
margin_bottom = 258.0
[node name="Label" type="Label" parent="Scroll/VBox/fs"]
margin_top = 5.0
margin_right = 81.0
margin_bottom = 29.0
text = "Font size"
[node name="fsize" type="SpinBox" parent="Scroll/VBox/fs"]
margin_left = 85.0
margin_right = 171.0
margin_bottom = 34.0
min_value = 8.0
max_value = 40.0
step = 2.0
value = 16.0
rounded = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="xray" type="HBoxContainer" parent="Scroll/VBox"]
margin_top = 262.0
margin_right = 382.0
margin_bottom = 292.0
[node name="Label" type="Label" parent="Scroll/VBox/xray"]
margin_top = 3.0
margin_right = 96.0
margin_bottom = 27.0
text = "Prey X-ray:"
[node name="mode" type="OptionButton" parent="Scroll/VBox/xray"]
margin_left = 100.0
margin_right = 279.0
margin_bottom = 30.0
text = "On when clicking"
items = [ "Off", null, false, 0, false, "On when clicking", null, false, 1, false, "On always", null, false, 2, false ]
selected = 1
[node name="otherlable" type="Label" parent="Scroll/VBox"]
margin_top = 296.0
margin_right = 382.0
margin_bottom = 328.0
custom_fonts/font = ExtResource( 4 )
text = "Other"
[node name="suburl" type="HBoxContainer" parent="Scroll/VBox"]
margin_top = 332.0
margin_right = 382.0
margin_bottom = 366.0
[node name="Label" type="Label" parent="Scroll/VBox/suburl"]
margin_top = 5.0
margin_right = 150.0
margin_bottom = 29.0
text = "Submission URL:"
[node name="suburltext" type="LineEdit" parent="Scroll/VBox/suburl"]
margin_left = 154.0
margin_right = 382.0
margin_bottom = 34.0
text = "https://food.ofafox.com"
max_length = 64
expand_to_text_length = true
[node name="filler" type="Control" parent="Scroll/VBox"]
margin_top = 370.0
margin_right = 382.0
margin_bottom = 670.0
rect_min_size = Vector2( 0, 300 )
mouse_filter = 2
[connection signal="pressed" from="top/SaR" to="." method="_on_SaR_pressed"]