revisit abyss lighting. make bullet fish, stars, and shards draw at full brightness as they glow in the depths.

This commit is contained in:
Haze Weathers 2024-01-16 03:22:17 -05:00
parent 70ef1a8450
commit 4848dca875
6 changed files with 38 additions and 14 deletions

View file

@ -28,19 +28,19 @@ extents = Vector2( 4, 4 )
[sub_resource type="Animation" id=8]
resource_name = "glow"
length = 3.0
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("AnimatedSprite:modulate")
tracks/0/interp = 1
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1.5, 2.9 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"times": PoolRealArray( 0, 1, 2 ),
"transitions": PoolRealArray( 0.5, 4, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 0.396078, 0.396078, 0.396078, 1 ), Color( 1, 1, 1, 1 ) ]
"values": [ Color( 1.5, 1.5, 1.5, 1 ), Color( 0.8, 0.8, 0.8, 1 ), Color( 1.5, 1.5, 1.5, 1 ) ]
}
[sub_resource type="Animation" id=9]
@ -61,12 +61,11 @@ tracks/0/keys = {
[node name="Fish" type="Node2D" groups=["enemy"]]
script = ExtResource( 3 )
score_for_killing = 15
node_to_flip = NodePath("AnimatedSprite")
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
modulate = Color( 0.830741, 0.830741, 0.830741, 1 )
position = Vector2( 0, 5.79026 )
modulate = Color( 0.8, 0.8, 0.8, 1 )
light_mask = 0
frames = SubResource( 4 )
frame = 2
playing = true