29 lines
863 B
Plaintext
29 lines
863 B
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://Assets/Art/basic_light.png" type="Texture" id=1]
|
|
[ext_resource path="res://Assets/Art/Objects/wall_light.png" type="Texture" id=2]
|
|
[ext_resource path="res://Scripts/Component/LightLoader.gd" type="Script" id=3]
|
|
[ext_resource path="res://Scripts/Entities/Wall Light.gd" type="Script" id=4]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 200.0
|
|
|
|
[node name="Wall Light" type="Sprite"]
|
|
texture = ExtResource( 2 )
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="Light2D" type="Light2D" parent="."]
|
|
visible = false
|
|
texture = ExtResource( 1 )
|
|
texture_scale = 3.0
|
|
energy = 1.1
|
|
shadow_filter_smooth = 0.5
|
|
shadow_item_cull_mask = 3
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
visible = false
|
|
shape = SubResource( 1 )
|