diff --git a/graphics/hud/lives_head.png b/graphics/hud/lives_head.png index 89a9694..ad20671 100644 Binary files a/graphics/hud/lives_head.png and b/graphics/hud/lives_head.png differ diff --git a/objects/hud/hud.tscn b/objects/hud/hud.tscn index 58b24c6..20b2064 100644 --- a/objects/hud/hud.tscn +++ b/objects/hud/hud.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=20 format=2] +[gd_scene load_steps=22 format=2] [ext_resource path="res://graphics/hud/stars_hud.png" type="Texture" id=1] [ext_resource path="res://graphics/hud/lives_head.png" type="Texture" id=2] @@ -15,6 +15,7 @@ [ext_resource path="res://shaders/recolor.tres" type="Shader" id=13] [ext_resource path="res://graphics/player/palettes/default.tex" type="Texture" id=14] [ext_resource path="res://graphics/hud/hud_arrow.png" type="Texture" id=15] +[ext_resource path="res://scripts/sg_palette.gd" type="Script" id=16] [sub_resource type="ShaderMaterial" id=4] shader = ExtResource( 13 ) @@ -24,6 +25,9 @@ shader_param/palette = ExtResource( 14 ) [sub_resource type="ShaderMaterial" id=2] +[sub_resource type="ShaderMaterial" id=5] +shader = ExtResource( 13 ) + [sub_resource type="ShaderMaterial" id=3] shader = ExtResource( 9 ) shader_param/border_color = Color( 0.219608, 0.219608, 0.219608, 1 ) @@ -115,8 +119,10 @@ region_rect = Rect2( 32, 0, 8, 8 ) [node name="LivesHead" type="Sprite" parent="."] visible = false +material = SubResource( 5 ) position = Vector2( 234, 6 ) texture = ExtResource( 2 ) +script = ExtResource( 16 ) [node name="DeathsHead" type="Sprite" parent="."] visible = false