make arrows follow player's palette :)

This commit is contained in:
Haze Weathers 2024-03-09 13:52:12 -05:00
parent f1ad9d5825
commit 7993b1d4e5
14 changed files with 94 additions and 13 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=2]
[gd_scene load_steps=20 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]
@ -12,6 +12,13 @@
[ext_resource path="res://ui/theme.tres" type="Theme" id=10]
[ext_resource path="res://graphics/hud/oxygen.png" type="Texture" id=11]
[ext_resource path="res://graphics/hud/oxygen_meter.png" type="Texture" id=12]
[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]
[sub_resource type="ShaderMaterial" id=4]
shader = ExtResource( 13 )
shader_param/palette = ExtResource( 14 )
[sub_resource type="ShaderMaterial" id=1]
@ -56,6 +63,19 @@ texture = ExtResource( 5 )
position = Vector2( 9, 6 )
texture = ExtResource( 7 )
[node name="Arrow" type="Sprite" parent="."]
material = SubResource( 4 )
position = Vector2( 58, 6 )
texture = ExtResource( 15 )
[node name="ArrowShade" type="Sprite" parent="Arrow"]
modulate = Color( 0.57, 0.57, 0.57, 1 )
use_parent_material = true
position = Vector2( 0, 4 )
texture = ExtResource( 15 )
region_enabled = true
region_rect = Rect2( 0, 6, 5, 1 )
[node name="RedStar" type="Sprite" parent="."]
visible = false
material = SubResource( 1 )