forked from team-sg/hero-mark-2
SUPER PLAYER!
This commit is contained in:
parent
fa94bf6601
commit
f1168c099a
13 changed files with 136 additions and 9 deletions
|
@ -62,6 +62,10 @@ func refresh():
|
|||
$"%Difficulty".text = Game.DIFFICULTY_NAMES[file.difficulty]
|
||||
var palette = load("res://graphics/player/palettes/%s.tex" % file.palette)
|
||||
$"%Palette".material.set_shader_param("palette", palette)
|
||||
if file.palette == "super_player":
|
||||
$"%Sparkles".visible = true
|
||||
else:
|
||||
$"%Sparkles".visible = false
|
||||
else:
|
||||
file = null
|
||||
$FileExists.visible = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue