forked from team-sg/hero-mark-2
expand level select menu, implement palettes fully :)
This commit is contained in:
parent
923b638cca
commit
3f7da8aa83
5 changed files with 263 additions and 3 deletions
|
@ -30,3 +30,6 @@ func _input(event: InputEvent) -> void:
|
|||
current_palette = posmod(current_palette, palettes.size())
|
||||
sg.material.set_shader_param("palette", palettes[current_palette])
|
||||
$"%PaletteTitle".text = titles[current_palette]
|
||||
Game.current_palette = palettes[current_palette].resource_path.get_file().get_basename()
|
||||
Save.current_file.palette = Game.current_palette
|
||||
Save.current_file.save_to_file()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue