made killing all cops net you a shard
This commit is contained in:
parent
fd012360ba
commit
d59533b4b1
3 changed files with 325 additions and 49 deletions
9
maps/station.gd
Normal file
9
maps/station.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends "res://maps/map.gd"
|
||||
|
||||
func _physics_process(delta):
|
||||
._physics_process(delta)
|
||||
if get_tree().get_nodes_in_group("cop").size() == 0:
|
||||
Audio.play_shard_sound()
|
||||
Game.score += 500
|
||||
Game.shards += 1
|
||||
Game.shards_collected[0] = true
|
Loading…
Add table
Add a link
Reference in a new issue