41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scene/demo11_particle_light/image/white_square.png" type="Texture" id=1]
|
|
[ext_resource path="res://icon.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="OccluderPolygon2D" id=1]
|
|
polygon = PoolVector2Array( -149.743, -150.861, -148.283, 150.259, 150.348, 150.259, 150.348, -151.244 )
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
[node name="Background" type="Sprite" parent="."]
|
|
modulate = Color( 0.427451, 0.392157, 0.392157, 1 )
|
|
light_mask = 3
|
|
position = Vector2( 514.927, 190.273 )
|
|
scale = Vector2( 3, 100 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="Shadow" type="Sprite" parent="."]
|
|
modulate = Color( 0.490196, 0.0509804, 0.541176, 1 )
|
|
position = Vector2( 478.061, 140.326 )
|
|
scale = Vector2( 0.31026, 0.31026 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="LightOccluder2D" type="LightOccluder2D" parent="Shadow"]
|
|
light_mask = 2
|
|
occluder = SubResource( 1 )
|
|
light_mask = 2
|
|
|
|
[node name="Light" type="Sprite" parent="."]
|
|
position = Vector2( 462.666, 380.919 )
|
|
texture = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="Light2D" type="Light2D" parent="Light"]
|
|
scale = Vector2( 10, 10 )
|
|
texture = ExtResource( 1 )
|
|
shadow_enabled = true
|
|
shadow_item_cull_mask = 2
|