use current palette in sg lore (closes #202)
This commit is contained in:
parent
cb2c2991d5
commit
b57b7dd7cd
2 changed files with 12 additions and 4 deletions
6
objects/lore/hills/sg.gd
Normal file
6
objects/lore/hills/sg.gd
Normal file
|
@ -0,0 +1,6 @@
|
|||
extends HBoxContainer
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
var palette = load("res://graphics/player/palettes/%s.png" % Game.current_palette)
|
||||
$Panel/TextureRect.material.set_shader_param("palette", palette)
|
Loading…
Add table
Add a link
Reference in a new issue