added level editor light

This commit is contained in:
Metzkermeister 2023-10-02 17:38:56 +02:00
parent e51e026289
commit abd25a59a7

View file

@ -1,8 +1,8 @@
[gd_scene load_steps=11 format=3 uid="uid://c77xk0mywwt5f"]
[ext_resource type="Script" path="res://src/game/levels/level.gd" id="1_s3rsn"]
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg2.png" id="2_57sr6"]
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track90.png" id="3_en5wc"]
[ext_resource type="Texture2D" uid="uid://dio3rrptd6w7c" path="res://assets/bg_90_bk.png" id="2_57sr6"]
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track_90_bk.png" id="3_en5wc"]
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="4_qeube"]
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="5_2n8nj"]
[ext_resource type="PackedScene" uid="uid://dyo5dblkfivwn" path="res://src/gui/menu/level.tscn" id="6_hs25h"]
@ -137,5 +137,8 @@ volume_db = -29.953
autoplay = true
bus = &"Music"
[node name="Editor_Light" type="DirectionalLight2D" parent="."]
editor_only = true
[connection signal="distance_changed" from="." to="CanvasLayer/hud" method="_on_level_distance_changed"]
[connection signal="speed_changed" from="player" to="CanvasLayer/hud" method="_on_player_speed_changed"]