mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://bcq14356s3e2i"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_menu"]
|
|
|
|
[node name="MainMenu" 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_menu")
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 24
|
|
|
|
[node name="TitleLabel" type="Label" parent="CenterContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 48
|
|
text = "Cosmic Clash"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="FreePlayButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(330, 60)
|
|
layout_mode = 2
|
|
text = "Free Play"
|
|
|
|
[node name="MatchButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(330, 60)
|
|
layout_mode = 2
|
|
text = "Match"
|
|
|
|
[node name="SpectateButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
custom_minimum_size = Vector2(330, 60)
|
|
layout_mode = 2
|
|
text = "Spectate (Bot vs Bot)"
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/FreePlayButton" to="." method="_on_free_play_pressed"]
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/MatchButton" to="." method="_on_match_pressed"]
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/SpectateButton" to="." method="_on_spectate_pressed"]
|