movieschoolbs

This commit is contained in:
MarcEricMartel 2023-01-15 13:29:05 -05:00
parent c55a59b13c
commit e472d6567f
2 changed files with 21 additions and 1 deletions

View File

@ -21,3 +21,6 @@ func _on_restart_pressed():
func _on_quit_pressed(): func _on_quit_pressed():
get_tree().quit(); get_tree().quit();
func _on_itwasalladream_timeout():
$IWAaD.visible = true;

View File

@ -25,6 +25,7 @@ one_shot = true
autostart = true autostart = true
[node name="Restart" type="Button" parent="."] [node name="Restart" type="Button" parent="."]
visible = false
offset_left = 1265.0 offset_left = 1265.0
offset_top = 352.0 offset_top = 352.0
offset_right = 1718.0 offset_right = 1718.0
@ -34,6 +35,7 @@ text = "Restart
" "
[node name="Quit" type="Button" parent="."] [node name="Quit" type="Button" parent="."]
visible = false
offset_left = 1359.0 offset_left = 1359.0
offset_top = 591.0 offset_top = 591.0
offset_right = 1628.0 offset_right = 1628.0
@ -41,7 +43,7 @@ offset_bottom = 769.0
theme_override_font_sizes/font_size = 124 theme_override_font_sizes/font_size = 124
text = "Quit" text = "Quit"
[node name="Label" type="Label" parent="."] [node name="GOLbl" type="Label" parent="."]
offset_left = 1103.0 offset_left = 1103.0
offset_top = 29.0 offset_top = 29.0
offset_right = 1854.0 offset_right = 1854.0
@ -49,6 +51,21 @@ offset_bottom = 221.0
theme_override_font_sizes/font_size = 138 theme_override_font_sizes/font_size = 138
text = "Game Over" text = "Game Over"
[node name="Itwasalladream" type="Timer" parent="."]
wait_time = 4.0
one_shot = true
autostart = true
[node name="IWAaD" type="Label" parent="."]
visible = false
offset_left = 1282.0
offset_top = 864.0
offset_right = 1703.0
offset_bottom = 930.0
theme_override_font_sizes/font_size = 45
text = "It was all a dream..."
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"] [connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
[connection signal="pressed" from="Restart" to="." method="_on_restart_pressed"] [connection signal="pressed" from="Restart" to="." method="_on_restart_pressed"]
[connection signal="pressed" from="Quit" to="." method="_on_quit_pressed"] [connection signal="pressed" from="Quit" to="." method="_on_quit_pressed"]
[connection signal="timeout" from="Itwasalladream" to="." method="_on_itwasalladream_timeout"]