236 lines
5.5 KiB
Plaintext
236 lines
5.5 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://4tym1auav4yv"]
|
|
|
|
[ext_resource type="Script" path="res://menu/start_game_menu.cs" id="1_0k2xm"]
|
|
[ext_resource type="Texture2D" uid="uid://bd7j1ug5gs26w" path="res://images/mushroom_cloud001.webp" id="2_aky60"]
|
|
[ext_resource type="AudioStream" uid="uid://co52ygvp3wcra" path="res://music/I Feel Grunge (Slow).wav" id="2_yw57x"]
|
|
[ext_resource type="AudioStream" uid="uid://ds7ec1n3pytnr" path="res://audio/btn.wav" id="4_fx2mk"]
|
|
[ext_resource type="AudioStream" uid="uid://cg78xtngxrjlg" path="res://audio/dot.wav" id="5_y8gc7"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_n38oc"]
|
|
font_size = 290
|
|
font_color = Color(0.815686, 0.819608, 1, 1)
|
|
outline_size = 24
|
|
outline_color = Color(0.533333, 0, 0.0352941, 1)
|
|
shadow_size = 19
|
|
shadow_color = Color(0, 0, 0, 0.662745)
|
|
shadow_offset = Vector2(20, 20)
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_x36ok"]
|
|
pressed = true
|
|
keycode = 4194309
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_hjkcu"]
|
|
pressed = true
|
|
keycode = 4194310
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_pweny"]
|
|
events = [SubResource("InputEventKey_x36ok"), SubResource("InputEventKey_hjkcu")]
|
|
|
|
[node name="StartGameMenu" type="Control" node_paths=PackedStringArray("_sndBtn", "_sndState")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_0k2xm")
|
|
_sndBtn = NodePath("Button")
|
|
_sndState = NodePath("State")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
self_modulate = Color(0.443137, 0.117647, 0.145098, 1)
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("2_aky60")
|
|
expand_mode = 1
|
|
|
|
[node name="Lbl_Title" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -416.5
|
|
offset_top = -199.0
|
|
offset_right = 416.5
|
|
offset_bottom = 199.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "M.A.D"
|
|
label_settings = SubResource("LabelSettings_n38oc")
|
|
|
|
[node name="Btn_Single" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -91.5
|
|
offset_top = 156.0
|
|
offset_right = 91.5
|
|
offset_bottom = 187.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
shortcut = SubResource("Shortcut_pweny")
|
|
text = "Single Player
|
|
"
|
|
|
|
[node name="Btn_LocalMulti" type="Button" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 863.0
|
|
offset_top = 672.0
|
|
offset_right = 1046.0
|
|
offset_bottom = 703.0
|
|
text = "Local Multiplayer"
|
|
|
|
[node name="Btn_LANMulti" type="Button" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 1097.0
|
|
offset_top = 670.0
|
|
offset_right = 1279.0
|
|
offset_bottom = 701.0
|
|
text = "LAN Multiplayer"
|
|
|
|
[node name="Btn_Cancel" type="Button" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 615.0
|
|
offset_top = 787.0
|
|
offset_right = 939.0
|
|
offset_bottom = 818.0
|
|
text = "Cancel"
|
|
|
|
[node name="Btn_Quit" type="Button" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -167.0
|
|
offset_top = 194.0
|
|
offset_right = 167.0
|
|
offset_bottom = 225.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "Quit Game"
|
|
|
|
[node name="Btn_Yes" type="Button" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -324.0
|
|
offset_top = -15.0
|
|
offset_right = 1.0
|
|
offset_bottom = 16.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "Yes"
|
|
|
|
[node name="Btn_No" type="Button" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = 37.0
|
|
offset_top = -15.0
|
|
offset_right = 371.0
|
|
offset_bottom = 16.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "No"
|
|
|
|
[node name="Btn_Host" type="Button" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 614.0
|
|
offset_top = 710.0
|
|
offset_right = 1285.0
|
|
offset_bottom = 741.0
|
|
text = "Host"
|
|
|
|
[node name="Btn_Join" type="Button" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 613.0
|
|
offset_top = 748.0
|
|
offset_right = 825.0
|
|
offset_bottom = 779.0
|
|
text = "Join
|
|
"
|
|
|
|
[node name="txt_IP" type="LineEdit" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 1034.0
|
|
offset_top = 749.0
|
|
offset_right = 1286.0
|
|
offset_bottom = 779.0
|
|
|
|
[node name="lbl_IP" type="Label" parent="."]
|
|
visible = false
|
|
layout_mode = 0
|
|
offset_left = 835.0
|
|
offset_top = 750.0
|
|
offset_right = 1025.0
|
|
offset_bottom = 776.0
|
|
text = "Remote Host IP Address:"
|
|
|
|
[node name="lbl_err" type="Label" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -0.5
|
|
offset_top = 29.0
|
|
offset_right = 0.5
|
|
offset_bottom = 52.0
|
|
grow_horizontal = 2
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Music" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("2_yw57x")
|
|
autoplay = true
|
|
|
|
[node name="Button" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("4_fx2mk")
|
|
|
|
[node name="State" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("5_y8gc7")
|
|
|
|
[node name="Controls" type="Label" parent="."]
|
|
modulate = Color(1, 1, 1, 0.329412)
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -307.0
|
|
offset_top = -148.0
|
|
offset_right = -18.0
|
|
offset_bottom = -18.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
text = "mouse-scroll: Zoom In/Out
|
|
WASD: move camera
|
|
left-click / b: place selected building
|
|
right-click / r: rotate selected building
|
|
esc / c / backspace: deselect building"
|
|
horizontal_alignment = 2
|