FUCKFUCKFUCK

This commit is contained in:
Иван Кузьменко 2023-08-19 15:56:45 +03:00
parent 69436e2799
commit 5496914c2a
3 changed files with 20 additions and 3 deletions

View file

@ -22,7 +22,7 @@ point_count = 2
[sub_resource type="ShaderMaterial" id="ShaderMaterial_m680d"]
shader = ExtResource("5_64d71")
[sub_resource type="ViewportTexture" id="ViewportTexture_x6taj"]
[sub_resource type="ViewportTexture" id="ViewportTexture_42ps6"]
viewport_path = NodePath("FlashlightViewport")
[sub_resource type="CircleShape2D" id="CircleShape2D_prnh4"]
@ -242,7 +242,7 @@ CameraBounds = Vector2(30, 20)
[node name="PointLight2D" type="PointLight2D" parent="PlayerCamera" node_paths=PackedStringArray("LightViewport")]
blend_mode = 2
range_item_cull_mask = 2
texture = SubResource("ViewportTexture_x6taj")
texture = SubResource("ViewportTexture_42ps6")
script = ExtResource("6_slohe")
LightViewport = NodePath("../../FlashlightViewport")
@ -359,4 +359,6 @@ text = "Thank you for playing! :)"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="GameOver" from="GameManager" to="CanvasLayer/WinScreen" method="Open"]
[connection signal="BossKilled" from="level" to="GameManager" method="EndGame"]
[connection signal="timeout" from="CanvasLayer/DeathScreen/Timer" to="CanvasLayer/DeathScreen" method="Timeout"]