Game Won, Game Over and Tower fixes
This commit is contained in:
@ -350,7 +350,118 @@ alignment = 1
|
||||
layout_mode = 2
|
||||
text = "Current wave: 1"
|
||||
|
||||
[node name="GameOver" type="PanelContainer" parent="."]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
offset_left = 409.0
|
||||
offset_top = 188.5
|
||||
offset_right = 742.0
|
||||
offset_bottom = 459.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_s7jra")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="GameOver"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 30
|
||||
alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="GameOver/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("2_4l4p2")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Game Over"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Button2" type="Button" parent="GameOver/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 30
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_4l4p2")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_f5es8")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_dgw1d")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_nctfw")
|
||||
text = "Restart"
|
||||
|
||||
[node name="Button" type="Button" parent="GameOver/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 30
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_4l4p2")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_f5es8")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_dgw1d")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_nctfw")
|
||||
text = "Exit"
|
||||
|
||||
[node name="GameWon" type="PanelContainer" parent="."]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
offset_left = 438.0
|
||||
offset_top = 224.5
|
||||
offset_right = 712.0
|
||||
offset_bottom = 423.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_s7jra")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="GameWon"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 30
|
||||
alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="GameWon/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 1, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("2_4l4p2")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Congratulations!"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Label3" type="Label" parent="GameWon/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_4l4p2")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "You've protected the citadell!"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Button2" type="Button" parent="GameWon/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 30
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_4l4p2")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_f5es8")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_dgw1d")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_nctfw")
|
||||
text = "Restart"
|
||||
|
||||
[node name="Button" type="Button" parent="GameWon/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 30
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_4l4p2")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_f5es8")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_dgw1d")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_nctfw")
|
||||
text = "Continue"
|
||||
|
||||
[connection signal="pressed" from="Panel/HBoxContainer4/HBoxContainer4/Button3" to="." method="_on_button_3_pressed"]
|
||||
[connection signal="pressed" from="pausemenu/VBoxContainer/Button3" to="." method="_on_button_3_pressed"]
|
||||
[connection signal="pressed" from="pausemenu/VBoxContainer/Button2" to="." method="_on_button_2_pressed"]
|
||||
[connection signal="pressed" from="pausemenu/VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="GameOver/VBoxContainer/Button2" to="." method="_on_button_2_pressed"]
|
||||
[connection signal="pressed" from="GameOver/VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="GameWon/VBoxContainer/Button2" to="." method="_on_button_2_pressed"]
|
||||
[connection signal="pressed" from="GameWon/VBoxContainer/Button" to="." method="_on_button_pressed"]
|
||||
|
Reference in New Issue
Block a user