forked from team-sg/hero-mark-2
music no longer hard coded
This commit is contained in:
parent
3b52ec2cbf
commit
1e0202864f
16 changed files with 151 additions and 101 deletions
|
@ -45,7 +45,7 @@ func _physics_process(delta):
|
|||
Game.change_map(levels.level[current_level].scene)
|
||||
|
||||
func change_current_shard(amount):
|
||||
if current_shard + amount != 0 && current_shard + amount != 8: #Check if in range
|
||||
if current_shard + amount != -1 && current_shard + amount != 8: #Check if in range
|
||||
current_shard += amount
|
||||
shard_arrow.position.x += 15 * amount
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue