65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://dgkxrqfvnffwn"]
|
|
|
|
[sub_resource type="GDScript" id="GDScript_16ftr"]
|
|
script/source = "extends Control
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
EventManager.explosion.explode()
|
|
|
|
func _on_button_pressed() -> void:
|
|
get_tree().quit()
|
|
"
|
|
|
|
[node name="Win" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = SubResource("GDScript_16ftr")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" 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 = -53.5
|
|
offset_top = -21.0
|
|
offset_right = 53.5
|
|
offset_bottom = 21.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
bbcode_enabled = true
|
|
text = "[rainbow][center][wave]YAY YOU WON MY UNFINISHED GAME"
|
|
|
|
[node name="Button" 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 = -19.0
|
|
offset_top = 40.5
|
|
offset_right = 19.0
|
|
offset_bottom = 61.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
text = "Close"
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|