started working on fog darkness
This commit is contained in:
@@ -29,15 +29,27 @@
|
||||
[ext_resource type="AudioStream" uid="uid://4vulahdsj4i2" path="res://assets/audio/sfx/swoosh/throw_01.wav.mp3" id="27_31cv2"]
|
||||
[ext_resource type="AudioStream" uid="uid://w6yon88kjfml" path="res://assets/audio/sfx/nickes/lift_sfx.ogg" id="28_pf23h"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_wqfne"]
|
||||
colors = PackedColorArray(0, 0, 0, 1, 1, 0.13732082, 0.092538536, 1)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_wnwbv"]
|
||||
gradient = SubResource("Gradient_wqfne")
|
||||
fill_from = Vector2(0.46153846, 0.87606835)
|
||||
fill_to = Vector2(0.46153846, 0.11965812)
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_jej6c"]
|
||||
offsets = PackedFloat32Array(0.7710843, 0.77710843)
|
||||
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_f1ej7"]
|
||||
gradient = SubResource("Gradient_jej6c")
|
||||
use_hdr = true
|
||||
fill = 1
|
||||
fill_from = Vector2(0.51304346, 0.51304346)
|
||||
fill_to = Vector2(0.9391304, 0.08260869)
|
||||
fill_to = Vector2(0.8974359, 0.08547009)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_pf23h"]
|
||||
radius = 32.0
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_3v2ag"]
|
||||
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 0)
|
||||
@@ -84,10 +96,29 @@ collision_mask = 67
|
||||
motion_mode = 1
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="." unique_id=1250823818]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=720799975]
|
||||
visible = false
|
||||
position = Vector2(1.499999, -2.0000038)
|
||||
scale = Vector2(1.984375, 2.0937502)
|
||||
texture = SubResource("GradientTexture2D_wnwbv")
|
||||
|
||||
[node name="ConeLight" type="PointLight2D" parent="." unique_id=120780131]
|
||||
blend_mode = 2
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="." unique_id=1250823818]
|
||||
position = Vector2(-1, 0)
|
||||
blend_mode = 2
|
||||
shadow_enabled = true
|
||||
texture = SubResource("GradientTexture2D_f1ej7")
|
||||
|
||||
[node name="LightCollision" type="Area2D" parent="PointLight2D" unique_id=502090625]
|
||||
collision_layer = 0
|
||||
collision_mask = 16384
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PointLight2D/LightCollision" unique_id=1350075834]
|
||||
shape = SubResource("CircleShape2D_pf23h")
|
||||
|
||||
[node name="Shadow" type="Sprite2D" parent="." unique_id=937683521]
|
||||
z_index = -1
|
||||
position = Vector2(0, 7)
|
||||
@@ -216,3 +247,11 @@ stream = ExtResource("28_pf23h")
|
||||
max_distance = 1246.0
|
||||
attenuation = 6.964403
|
||||
panning_strength = 1.11
|
||||
|
||||
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="." unique_id=1013099358]
|
||||
visible = false
|
||||
rotation = 3.1869712
|
||||
energy = 0.13
|
||||
blend_mode = 2
|
||||
shadow_enabled = true
|
||||
max_distance = 100.0
|
||||
|
||||
Reference in New Issue
Block a user