sokoban
Diffstat (limited to 'WinScreen.tscn')
| -rw-r--r-- | WinScreen.tscn | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/WinScreen.tscn b/WinScreen.tscn new file mode 100644 index 0000000..45e9031 --- /dev/null +++ b/WinScreen.tscn @@ -0,0 +1,71 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://Label.tscn" type="PackedScene" id=1] +[ext_resource path="res://WinScreen.gd" type="Script" id=2] + +[sub_resource type="Animation" id=3] +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="WinScreen" type="CanvasLayer"] +script = ExtResource( 2 ) + +[node name="Container" type="Control" parent="."] +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="Label" parent="Container" instance=ExtResource( 1 )] + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Container"] +anims/Animate = SubResource( 3 ) +anims/RESET = SubResource( 2 ) |