41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
|
|
[gd_scene load_steps=3 format=3 uid="uid://da0ok71rkjpx8"]
|
||
|
|
|
||
|
|
[ext_resource type="AudioStream" uid="uid://dcaul3y5u0mko" path="res://sounds/effects/ball-hits.wav" id="1_b58tg"]
|
||
|
|
[ext_resource type="Script" uid="uid://ykbcl0j1wouh" path="res://scenes/menus/start_menu/start_menu_controls.gd" id="1_fnwei"]
|
||
|
|
|
||
|
|
[node name="start_menu_controls" 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_fnwei")
|
||
|
|
|
||
|
|
[node name="vbox" type="VBoxContainer" parent="."]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 9
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
offset_left = 56.0
|
||
|
|
offset_right = 312.0
|
||
|
|
grow_vertical = 2
|
||
|
|
alignment = 1
|
||
|
|
|
||
|
|
[node name="play_bttn" type="Button" parent="vbox"]
|
||
|
|
layout_mode = 2
|
||
|
|
mouse_default_cursor_shape = 2
|
||
|
|
text = "Play"
|
||
|
|
|
||
|
|
[node name="multiplayer_bttn" type="Button" parent="vbox"]
|
||
|
|
layout_mode = 2
|
||
|
|
mouse_default_cursor_shape = 2
|
||
|
|
text = "Multiplayer"
|
||
|
|
|
||
|
|
[node name="button_sound" type="AudioStreamPlayer" parent="."]
|
||
|
|
stream = ExtResource("1_b58tg")
|
||
|
|
|
||
|
|
[connection signal="mouse_entered" from="vbox/play_bttn" to="." method="_bttn_mouse_entered"]
|
||
|
|
[connection signal="pressed" from="vbox/play_bttn" to="." method="_on_play_bttn_pressed"]
|
||
|
|
[connection signal="mouse_entered" from="vbox/multiplayer_bttn" to="." method="_bttn_mouse_entered"]
|
||
|
|
[connection signal="pressed" from="vbox/multiplayer_bttn" to="." method="_on_multiplayer_bttn_pressed"]
|