58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Node.gd" type="Script" id=1]
|
|
[ext_resource path="res://art/gameover.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="SpriteFrames" id=1]
|
|
|
|
animations = [ {
|
|
"frames": [ ExtResource( 2 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[node name="Node" type="Node"]
|
|
|
|
pause_mode = 2
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Pause" ]
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="0"]
|
|
|
|
position = Vector2( 524.951, 264.196 )
|
|
scale = Vector2( 0.457698, 0.457698 )
|
|
z_index = 1
|
|
frames = SubResource( 1 )
|
|
animation = "default"
|
|
_sections_unfolded = [ "Z Index" ]
|
|
|
|
[node name="Button" type="Button" parent="." index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 490.0
|
|
margin_top = 480.0
|
|
margin_right = 690.0
|
|
margin_bottom = 561.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "Restart?"
|
|
flat = false
|
|
align = 1
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|
|
|
|
|