From 5b37da17e04416e5425aa5e586643b9af682a9cd Mon Sep 17 00:00:00 2001 From: minimata Date: Sun, 29 Jun 2025 12:11:11 +0200 Subject: [PATCH] fix: some lights on lvl 1 --- scenes/main.tscn | 49 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/scenes/main.tscn b/scenes/main.tscn index a33ace1..6b4260e 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=80 format=4 uid="uid://s1cx1gvt4bed"] +[gd_scene load_steps=81 format=4 uid="uid://s1cx1gvt4bed"] [ext_resource type="Script" uid="uid://csujcot8xk1om" path="res://scenes/main.gd" id="1_0wfyh"] [ext_resource type="PackedScene" uid="uid://4ye80a3tugk6" path="res://scenes/player/player.tscn" id="1_o5qli"] @@ -21,6 +21,7 @@ [ext_resource type="Texture2D" uid="uid://4gt5bxd762jf" path="res://assets/garance/EGJ-POSTE-neon.png" id="8_tipki"] [ext_resource type="AudioStream" uid="uid://mbumd1hnp7yd" path="res://assets/Audio/VO_ALL_Interjection_12.ogg" id="9_fuf3a"] [ext_resource type="AudioStream" uid="uid://bvk71nu7epwy" path="res://assets/Audio/VO_LVL1_B_02.ogg" id="9_ro3en"] +[ext_resource type="Texture2D" uid="uid://dna7ld7qgab32" path="res://assets/light.webp" id="10_choun"] [ext_resource type="AudioStream" uid="uid://ba1x4vgi5k3ls" path="res://assets/Audio/VO_LVL1_A_11.ogg" id="10_od4ux"] [ext_resource type="AudioStream" uid="uid://ddgkyj2ild8k0" path="res://assets/Audio/VO_ALL_Interjection_13.ogg" id="10_pibwh"] [ext_resource type="AudioStream" uid="uid://bdaercty8ftg8" path="res://assets/Audio/VO_ALL_Interjection_14.ogg" id="11_c6pm6"] @@ -2008,7 +2009,7 @@ stream_16/stream = ExtResource("14_2cjbq") stream_17/stream = ExtResource("15_chjal") stream_18/stream = ExtResource("16_cjqg0") -[node name="Main" type="Node2D"] +[node name="Main2" type="Node2D"] script = ExtResource("1_0wfyh") wrong_building = "uid://eh3y4s4qad8m" next_level = "uid://b8uo8e7x1frsc" @@ -2167,20 +2168,17 @@ tile_map_data = PackedByteArray("AAATAAYAAAAQAAgAAAATAAcAAAAQAAkAAAAhAAYAAAAQAAg tile_set = SubResource("TileSet_tefeu") [node name="Sprite2D2" type="Sprite2D" parent="."] -position = Vector2(382, -23) -rotation = -0.474524 +position = Vector2(382, -33) scale = Vector2(1.5, 1.5) texture = ExtResource("8_eb6dy") [node name="PointLight2D4" type="PointLight2D" parent="Sprite2D2"] -rotation = -0.00143352 -energy = 0.8 +energy = 0.5 blend_mode = 1 texture = ExtResource("8_eb6dy") [node name="PointLight2D10" type="PointLight2D" parent="Sprite2D2"] -position = Vector2(-66.405, 129.276) -rotation = 0.474524 +position = Vector2(-2.66667, 152) scale = Vector2(1.5, 2) color = Color(0.829476, 0.26404, 0.844939, 1) texture = ExtResource("12_eb6dy") @@ -2199,7 +2197,6 @@ texture = ExtResource("8_tipki") position = Vector2(0, 152) scale = Vector2(2, 2) color = Color(3.36915e-06, 0.61579, 0.742444, 1) -energy = 0.5 texture = ExtResource("12_eb6dy") [node name="Sprite2D5" type="Sprite2D" parent="."] @@ -2216,7 +2213,6 @@ texture = ExtResource("11_ya4ey") position = Vector2(0, 113) scale = Vector2(1.5, 1.5) color = Color(0.131565, 0.6402, 0.540846, 1) -energy = 0.5 texture = ExtResource("12_eb6dy") [node name="Sprite2D6" type="Sprite2D" parent="."] @@ -2236,6 +2232,39 @@ color = Color(0.90509, 0.345261, 0.761844, 1) energy = 0.8 texture = ExtResource("12_eb6dy") +[node name="Streetlight" type="Node2D" parent="."] + +[node name="PointLight2D10" type="PointLight2D" parent="Streetlight"] +position = Vector2(40, 223) +scale = Vector2(0.5, 0.5) +color = Color(0.748052, 0.938853, 1, 1) +texture = ExtResource("12_eb6dy") + +[node name="PointLight2D11" type="PointLight2D" parent="Streetlight"] +position = Vector2(104, 221) +scale = Vector2(0.5, 0.5) +color = Color(0.748052, 0.938853, 1, 1) +texture = ExtResource("12_eb6dy") + +[node name="PointLight2D12" type="PointLight2D" parent="Streetlight"] +position = Vector2(393, 286) +scale = Vector2(0.5, 0.5) +color = Color(0.748052, 0.938853, 1, 1) +texture = ExtResource("12_eb6dy") + +[node name="PointLight2D13" type="PointLight2D" parent="Streetlight"] +position = Vector2(455, 286) +scale = Vector2(0.5, 0.5) +color = Color(0.748052, 0.938853, 1, 1) +texture = ExtResource("12_eb6dy") + +[node name="PointLight2D14" type="PointLight2D" parent="Streetlight"] +position = Vector2(99, 23) +scale = Vector2(0.0324346, 0.036338) +color = Color(0.841686, 0.0733665, 0.224079, 1) +energy = 4.16 +texture = ExtResource("10_choun") + [connection signal="timeout" from="TimerBetweenVO" to="." method="_on_timer_between_vo_timeout"] [connection signal="event_confirmed" from="WrongDoor" to="." method="_on_door_event_confirmed"] [connection signal="event_triggered" from="WrongDoor" to="." method="_on_door_event_triggered"]