Fronter/GameOver.tscn

93 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=7 format=2]
[ext_resource path="res://Node.gd" type="Script" id=1]
[ext_resource path="res://art/gameover.png" type="Texture" id=2]
[ext_resource path="res://art/restart.png" type="Texture" id=3]
[ext_resource path="res://art/restart_hover.png" type="Texture" id=4]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 3 ), ExtResource( 4 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Node" type="Node"]
pause_mode = 2
script = ExtResource( 1 )
_sections_unfolded = [ "Pause" ]
[node name="ColorRect" type="ColorRect" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 1025.0
margin_bottom = 601.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
color = Color( 0, 0, 0, 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="1"]
position = Vector2( 467.672, 255.152 )
scale = Vector2( 0.457698, 0.457698 )
z_index = 1
frames = SubResource( 1 )
animation = "default"
_sections_unfolded = [ "Z Index" ]
[node name="Restart" type="AnimatedSprite" parent="." index="2"]
position = Vector2( 702.774, 515.898 )
scale = Vector2( 0.605426, 0.605426 )
frames = SubResource( 2 )
animation = "default"
[node name="Button" type="Button" parent="." index="3"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 516.0
margin_top = 439.0
margin_right = 889.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
flat = true
align = 1
[connection signal="button_down" from="Button" to="." method="_on_Button_button_down"]
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]