giants-godot/ui/menus/options_menu.tscn

255 lines
5.7 KiB
Plaintext
Raw Normal View History

2021-09-17 15:04:05 +02:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://ui/ui_theme.tres" type="Theme" id=1]
[ext_resource path="res://assets/all_gbs/textures/chatbox.tga" type="Texture" id=2]
2021-09-22 18:04:03 +02:00
[ext_resource path="res://ui/menus/options_menu.gd" type="Script" id=3]
2021-09-17 15:04:05 +02:00
[node name="OptionsMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
anchor_right = 1.001
anchor_bottom = 0.997
margin_left = -2.0
margin_right = -0.0240479
margin_bottom = -0.200012
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 273.0
margin_top = 30.0
margin_right = -274.0
margin_bottom = -49.0
custom_constants/separation = 100
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GridContainer" type="GridContainer" parent="VBoxContainer"]
margin_right = 477.0
margin_bottom = 386.0
columns = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="VBoxContainer/GridContainer"]
margin_right = 151.0
margin_bottom = 35.0
text = "Master volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MasterVolume" type="HSlider" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_right = 477.0
margin_bottom = 16.0
max_value = 1.0
step = 0.05
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 39.0
margin_right = 151.0
margin_bottom = 74.0
text = "Music volume"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MusicVolume" type="HSlider" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 39.0
margin_right = 477.0
margin_bottom = 55.0
size_flags_horizontal = 3
max_value = 1.0
step = 0.05
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label3" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 78.0
margin_right = 151.0
margin_bottom = 113.0
text = "Move forward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Forward" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 78.0
margin_right = 477.0
margin_bottom = 113.0
text = "Forward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label4" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 117.0
margin_right = 151.0
margin_bottom = 152.0
text = "Move backward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Backward" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 117.0
margin_right = 477.0
margin_bottom = 152.0
text = "Backward"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label5" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 156.0
margin_right = 151.0
margin_bottom = 191.0
text = "Move left"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Left" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 156.0
margin_right = 477.0
margin_bottom = 191.0
text = "Left"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label6" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 195.0
margin_right = 151.0
margin_bottom = 230.0
text = "Move right"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Right" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 195.0
margin_right = 477.0
margin_bottom = 230.0
text = "Right"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label7" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 234.0
margin_right = 151.0
margin_bottom = 269.0
text = "Jump"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Jump" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 234.0
margin_right = 477.0
margin_bottom = 269.0
text = "Jump"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label8" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 273.0
margin_right = 151.0
margin_bottom = 308.0
text = "Sprint"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprint" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 273.0
margin_right = 477.0
margin_bottom = 308.0
text = "Sprint"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label9" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 312.0
margin_right = 151.0
margin_bottom = 347.0
text = "Front camera"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Frontcamera" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 312.0
margin_right = 477.0
margin_bottom = 347.0
text = "Front Camera"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label10" type="Label" parent="VBoxContainer/GridContainer"]
margin_top = 351.0
margin_right = 151.0
margin_bottom = 386.0
text = "Change weapon"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Changeweapon" type="Button" parent="VBoxContainer/GridContainer"]
margin_left = 155.0
margin_top = 351.0
margin_right = 477.0
margin_bottom = 386.0
text = "Change weapon"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Save" type="Button" parent="VBoxContainer"]
margin_top = 486.0
margin_right = 477.0
margin_bottom = 521.0
text = "Save"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Control" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
[connection signal="value_changed" from="VBoxContainer/GridContainer/MasterVolume" to="." method="_on_Master_value_changed"]
[connection signal="value_changed" from="VBoxContainer/GridContainer/MusicVolume" to="." method="_on_Music_value_changed"]
[connection signal="pressed" from="VBoxContainer/Save" to="." method="_on_Save_pressed"]