Workers, lighting, and loading

This commit is contained in:
2020-05-16 17:05:44 -04:00
parent 7528cba7d7
commit a26da07f43
61 changed files with 905 additions and 24 deletions

View File

@ -1,15 +1,28 @@
[gd_scene load_steps=3 format=2]
[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_enabled = true
shadow_filter = 5
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 )