|
@@ -1,8 +1,14 @@
|
|
-[gd_scene load_steps=4 format=3 uid="uid://c483fkssc36s"]
|
|
|
|
|
|
+[gd_scene load_steps=7 format=3 uid="uid://c483fkssc36s"]
|
|
|
|
|
|
[ext_resource type="Script" path="res://screens/game.gd" id="1_4dd0q"]
|
|
[ext_resource type="Script" path="res://screens/game.gd" id="1_4dd0q"]
|
|
[ext_resource type="Texture2D" uid="uid://djifkreeh0nb4" path="res://assets/textures/game_background.jpg" id="2_qk61j"]
|
|
[ext_resource type="Texture2D" uid="uid://djifkreeh0nb4" path="res://assets/textures/game_background.jpg" id="2_qk61j"]
|
|
-[ext_resource type="PackedScene" uid="uid://bnoxyhq2ha6r1" path="res://assets/scenes/health_bar.tscn" id="2_x77og"]
|
|
|
|
|
|
+[ext_resource type="PackedScene" path="res://assets/scenes/health_bar.tscn" id="2_x77og"]
|
|
|
|
+[ext_resource type="Texture2D" uid="uid://r2ph4fobqo17" path="res://assets/textures/Light_Overlay.png" id="3_86s7d"]
|
|
|
|
+[ext_resource type="PackedScene" uid="uid://ce8cu4romympf" path="res://assets/scenes/transition.tscn" id="4_yc6k4"]
|
|
|
|
+
|
|
|
|
+[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_yhw6y"]
|
|
|
|
+blend_mode = 1
|
|
|
|
+light_mode = 1
|
|
|
|
|
|
[node name="Game" type="Node2D"]
|
|
[node name="Game" type="Node2D"]
|
|
script = ExtResource("1_4dd0q")
|
|
script = ExtResource("1_4dd0q")
|
|
@@ -13,10 +19,21 @@ position = Vector2(640, 360)
|
|
scale = Vector2(0.5, 0.5)
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("2_qk61j")
|
|
texture = ExtResource("2_qk61j")
|
|
|
|
|
|
|
|
+[node name="Light-Overlay" type="Sprite2D" parent="."]
|
|
|
|
+material = SubResource("CanvasItemMaterial_yhw6y")
|
|
|
|
+position = Vector2(640, 360)
|
|
|
|
+scale = Vector2(0.5, 0.5)
|
|
|
|
+texture = ExtResource("3_86s7d")
|
|
|
|
+
|
|
[node name="HealthBar" parent="." instance=ExtResource("2_x77og")]
|
|
[node name="HealthBar" parent="." instance=ExtResource("2_x77og")]
|
|
-position = Vector2(640, 63)
|
|
|
|
|
|
+position = Vector2(640, 58)
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
[node name="Timer" type="Timer" parent="."]
|
|
autostart = true
|
|
autostart = true
|
|
|
|
|
|
|
|
+[node name="Overlay" type="CanvasLayer" parent="."]
|
|
|
|
+layer = 10
|
|
|
|
+
|
|
|
|
+[node name="Transition" parent="Overlay" instance=ExtResource("4_yc6k4")]
|
|
|
|
+
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
|
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|