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

@ -19,6 +19,9 @@ export var song_name = "♫Music"
export (Color) var bonus_color
func _ready():
# load arrow palette
var palette = load("res://graphics/player/palettes/%s.tex" % Game.current_palette)
$Arrow.material.set_shader_param("palette", palette)
#Change graphics depending on if lives are on
if Game.use_lives:
$LivesHead.visible = true