made killing all cops net you a shard

This commit is contained in:
pennyrigate 2023-04-04 03:02:15 -04:00
parent fd012360ba
commit d59533b4b1
3 changed files with 325 additions and 49 deletions

9
maps/station.gd Normal file
View 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