palette textures! working with palettes will be a breezegit status!

This commit is contained in:
Haze Weathers 2024-03-08 20:20:09 -05:00
parent 7974ac26c4
commit f1ad9d5825
10 changed files with 65 additions and 8 deletions

View file

@ -70,7 +70,7 @@ onready var hitbox: Area2D = $"%Hitbox"
# OVERRIDES #
func _ready() -> void:
#set palette
var palette = load("res://graphics/player/palettes/%s.png" % Game.current_palette)
var palette = load("res://graphics/player/palettes/%s.tex" % Game.current_palette)
sprite.material.set_shader_param("palette", palette)
$"%CFox".material.set_shader_param("palette", palette)
$"%DissolveParticles".material.set_shader_param("palette", palette)