Files
Princesse-Lactose-Godot/items/fenêtre.tscn
Thomas Lavocat df7cec57ac lumières: niveau 1 et deux
Amélioration des fenêtres, ajout de lumières dans le niveau 1 (qui est
le deux)
2023-05-29 08:22:27 +02:00

24 lines
813 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://cikp03d4p47s3"]
[ext_resource type="Texture2D" uid="uid://dgsn3ixn46anc" path="res://sprite/light.png" id="1_vhw6h"]
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_vi24c"]
polygon = PackedVector2Array(1, -5, -16, 11, -16, 64, -15, 64, -15, 11, 1, -4, 17, 11, 17, 64, 18, 64, 18, 11)
[node name="Fenêtre" type="Node2D"]
position = Vector2(-95, -154)
[node name="PointLight2D" type="PointLight2D" parent="."]
position = Vector2(-1, -31)
scale = Vector2(0.0587078, 0.0472203)
energy = 1.63
shadow_enabled = true
shadow_filter = 1
shadow_filter_smooth = 11.0
texture = ExtResource("1_vhw6h")
texture_scale = 5.5
[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
position = Vector2(-2, -34)
occluder = SubResource("OccluderPolygon2D_vi24c")