diff --git a/graphics/collectibles/shard.png b/graphics/collectibles/shard.png index fb1b4d3..4c2e263 100644 Binary files a/graphics/collectibles/shard.png and b/graphics/collectibles/shard.png differ diff --git a/graphics/hud/hud.png b/graphics/hud/hud.png index 91dde08..5b18871 100644 Binary files a/graphics/hud/hud.png and b/graphics/hud/hud.png differ diff --git a/objects/collectibles/shard.tscn b/objects/collectibles/shard.tscn index 46603f6..6550926 100644 --- a/objects/collectibles/shard.tscn +++ b/objects/collectibles/shard.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=2] +[gd_scene load_steps=11 format=2] [ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1] [ext_resource path="res://graphics/collectibles/shard.png" type="Texture" id=2] @@ -14,6 +14,21 @@ shader_param/border_corners = false [sub_resource type="RectangleShape2D" id=6] extents = Vector2( 3.5, 3.5 ) +[sub_resource type="Animation" id=18] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:modulate") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ Color( 1, 1, 1, 1 ) ] +} + [sub_resource type="Animation" id=8] resource_name = "glow" length = 0.8 @@ -28,7 +43,7 @@ tracks/0/keys = { "times": PoolRealArray( 0, 0.4, 0.8 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, -"values": [ Color( 0.329412, 0.360784, 0.847059, 1 ), Color( 1, 1, 1, 1 ), Color( 0.329412, 0.360784, 0.847059, 1 ) ] +"values": [ Color( 0.766, 0.73, 1, 1 ), Color( 1.1, 1.1, 1.1, 1 ), Color( 0.766, 0.73, 1, 1 ) ] } [sub_resource type="Curve" id=17] @@ -39,7 +54,6 @@ pause_mode = 2 script = ExtResource( 3 ) [node name="Sprite" type="Sprite" parent="."] -modulate = Color( 0.861621, 0.868095, 0.96844, 1 ) light_mask = 0 material = SubResource( 7 ) position = Vector2( 5, 3 ) @@ -55,6 +69,7 @@ position = Vector2( 4.5, 2.5 ) shape = SubResource( 6 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] +anims/RESET = SubResource( 18 ) anims/glow = SubResource( 8 ) [node name="Sparkles" type="CPUParticles2D" parent="."]