sokoban
Diffstat (limited to 'GameoverScreen.tscn')
-rw-r--r--GameoverScreen.tscn72
1 files changed, 72 insertions, 0 deletions
diff --git a/GameoverScreen.tscn b/GameoverScreen.tscn
new file mode 100644
index 0000000..eca8102
--- /dev/null
+++ b/GameoverScreen.tscn
@@ -0,0 +1,72 @@
+[gd_scene load_steps=5 format=2]
+
+[ext_resource path="res://Label.tscn" type="PackedScene" id=1]
+[ext_resource path="res://GameoverScreen.gd" type="Script" id=3]
+
+[sub_resource type="Animation" id=1]
+resource_name = "Animate"
+length = 2.0
+tracks/0/type = "value"
+tracks/0/path = NodePath("Panel:color")
+tracks/0/interp = 2
+tracks/0/loop_wrap = true
+tracks/0/imported = false
+tracks/0/enabled = true
+tracks/0/keys = {
+"times": PoolRealArray( 0, 2 ),
+"transitions": PoolRealArray( -2, -2 ),
+"update": 0,
+"values": [ Color( 0, 0, 0, 0 ), Color( 0, 0, 0, 0.784314 ) ]
+}
+tracks/1/type = "value"
+tracks/1/path = NodePath("Label:rect_scale")
+tracks/1/interp = 2
+tracks/1/loop_wrap = true
+tracks/1/imported = false
+tracks/1/enabled = true
+tracks/1/keys = {
+"times": PoolRealArray( 0, 2 ),
+"transitions": PoolRealArray( -2, -2 ),
+"update": 0,
+"values": [ Vector2( 1e-05, 1e-05 ), Vector2( 1, 1 ) ]
+}
+
+[sub_resource type="Animation" id=2]
+length = 0.001
+tracks/0/type = "value"
+tracks/0/path = NodePath("Panel:color")
+tracks/0/interp = 1
+tracks/0/loop_wrap = true
+tracks/0/imported = false
+tracks/0/enabled = true
+tracks/0/keys = {
+"times": PoolRealArray( 0 ),
+"transitions": PoolRealArray( 1 ),
+"update": 0,
+"values": [ Color( 0, 0, 0, 0 ) ]
+}
+
+[node name="GameoverScreen" type="CanvasLayer"]
+script = ExtResource( 3 )
+
+[node name="Container" type="Control" parent="."]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="Panel" type="ColorRect" parent="Container"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+color = Color( 0, 0, 0, 0 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="AnimationPlayer" type="AnimationPlayer" parent="Container"]
+anims/Animate = SubResource( 1 )
+anims/RESET = SubResource( 2 )
+
+[node name="Label" parent="Container" instance=ExtResource( 1 )]