2020-07-23 23:00:24 -05:00
|
|
|
[gd_scene load_steps=10 format=2]
|
2020-07-20 16:28:05 -05:00
|
|
|
|
2020-07-22 23:57:55 -05:00
|
|
|
[ext_resource path="res://Music and Fonts(Misc.)/m5x7.tres" type="DynamicFontData" id=1]
|
2020-07-21 20:06:39 -05:00
|
|
|
[ext_resource path="res://art/door.png" type="Texture" id=2]
|
2020-07-22 18:15:21 -05:00
|
|
|
[ext_resource path="res://objects/Door.gd" type="Script" id=3]
|
2020-07-23 22:36:21 -05:00
|
|
|
[ext_resource path="res://art/Black.png" type="Texture" id=4]
|
2020-07-20 16:28:05 -05:00
|
|
|
|
2020-07-23 22:36:21 -05:00
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
extents = Vector2( 14, 13 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
|
|
font_data = ExtResource( 1 )
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id=3]
|
|
|
|
resource_name = "fadeout"
|
|
|
|
length = 3.0
|
2020-07-20 16:28:05 -05:00
|
|
|
tracks/0/type = "value"
|
2020-07-23 22:36:21 -05:00
|
|
|
tracks/0/path = NodePath("Black:modulate")
|
2020-07-20 16:28:05 -05:00
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/keys = {
|
2020-07-23 22:36:21 -05:00
|
|
|
"times": PoolRealArray( 0, 1 ),
|
2020-07-23 23:00:24 -05:00
|
|
|
"transitions": PoolRealArray( 1, 2.87872e-08 ),
|
2020-07-23 22:36:21 -05:00
|
|
|
"update": 0,
|
|
|
|
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/path = NodePath("Label:percent_visible")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PoolRealArray( 1, 2 ),
|
|
|
|
"transitions": PoolRealArray( 1, 1 ),
|
|
|
|
"update": 0,
|
|
|
|
"values": [ 0.0, 1.0 ]
|
2020-07-20 16:28:05 -05:00
|
|
|
}
|
2020-07-23 23:00:24 -05:00
|
|
|
tracks/2/type = "method"
|
|
|
|
tracks/2/path = NodePath("Timer")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"times": PoolRealArray( 2 ),
|
|
|
|
"transitions": PoolRealArray( 1 ),
|
|
|
|
"values": [ {
|
|
|
|
"args": [ -1 ],
|
|
|
|
"method": "start"
|
|
|
|
} ]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFontData" id=4]
|
|
|
|
antialiased = false
|
|
|
|
font_path = "res://Music and Fonts(Misc.)/m5x7.ttf"
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=5]
|
|
|
|
size = 36
|
|
|
|
font_data = SubResource( 4 )
|
2020-07-22 23:57:55 -05:00
|
|
|
|
2020-07-20 16:28:05 -05:00
|
|
|
[node name="Door" type="Sprite"]
|
2020-07-23 22:36:21 -05:00
|
|
|
position = Vector2( -16, -32 )
|
2020-07-21 20:06:39 -05:00
|
|
|
texture = ExtResource( 2 )
|
2020-07-20 16:28:05 -05:00
|
|
|
centered = false
|
|
|
|
hframes = 2
|
2020-07-22 18:15:21 -05:00
|
|
|
script = ExtResource( 3 )
|
2020-07-20 16:28:05 -05:00
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
position = Vector2( 16, 19 )
|
2020-07-23 22:36:21 -05:00
|
|
|
shape = SubResource( 1 )
|
2020-07-22 23:57:55 -05:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
margin_left = -9.0
|
|
|
|
margin_top = -15.0
|
|
|
|
margin_right = 42.0
|
|
|
|
margin_bottom = -1.0
|
2020-07-23 22:36:21 -05:00
|
|
|
custom_fonts/font = SubResource( 2 )
|
2020-07-22 23:57:55 -05:00
|
|
|
text = "F to Open"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-07-23 22:36:21 -05:00
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
|
|
|
|
[node name="Black" type="Sprite" parent="CanvasLayer"]
|
|
|
|
modulate = Color( 1, 1, 1, 0 )
|
|
|
|
position = Vector2( 160, 90 )
|
|
|
|
texture = ExtResource( 4 )
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="CanvasLayer"]
|
|
|
|
anims/fadeout = SubResource( 3 )
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="CanvasLayer"]
|
|
|
|
margin_left = 80.0
|
|
|
|
margin_top = 60.0
|
|
|
|
margin_right = 240.0
|
|
|
|
margin_bottom = 120.0
|
2020-07-23 23:00:24 -05:00
|
|
|
custom_fonts/font = SubResource( 5 )
|
2020-07-23 22:36:21 -05:00
|
|
|
align = 1
|
|
|
|
valign = 1
|
2020-07-23 23:00:24 -05:00
|
|
|
autowrap = true
|
|
|
|
percent_visible = 0.0
|
2020-07-23 22:36:21 -05:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-07-23 23:00:24 -05:00
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="CanvasLayer"]
|
|
|
|
one_shot = true
|
2020-07-20 16:28:05 -05:00
|
|
|
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"]
|
2020-07-23 23:00:24 -05:00
|
|
|
[connection signal="animation_started" from="CanvasLayer/AnimationPlayer" to="." method="_on_animation_started"]
|
|
|
|
[connection signal="timeout" from="CanvasLayer/Timer" to="." method="_on_Timer_timeout"]
|