forked from team-sg/hero-mark-2
coins are now keys
This commit is contained in:
parent
66d1ba0ad9
commit
002184cc64
5 changed files with 83 additions and 18 deletions
|
@ -106,8 +106,8 @@ func _enter_code():
|
|||
"30385":
|
||||
for gold in get_tree().get_nodes_in_group("gold"):
|
||||
var goldsprite = gold.get_node("AnimatedSprite")
|
||||
goldsprite.frames = preload("res://graphics/collectibles/30385_frames.tres")
|
||||
goldsprite.position.y -= 2
|
||||
goldsprite.play("30385")
|
||||
goldsprite.position.y -= 1
|
||||
#goldsprite.material.set_shader_param("palette",load("res://graphics/collectibles/pal_star_green.png"))
|
||||
"1989":
|
||||
for enemy in get_tree().get_nodes_in_group("enemy"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue