game.gd cleaning and partial results screen implementation

This commit is contained in:
Haze Weathers 2023-09-10 19:28:42 -04:00
parent b126484109
commit e2b3db0b93
16 changed files with 425 additions and 436 deletions

View file

@ -1,6 +1,6 @@
extends "res://maps/map.gd"
var acab_shard_has_been_collected = false
var acab_shard_has_been_collected: bool = false
func _physics_process(delta):
._physics_process(delta)
@ -8,6 +8,5 @@ func _physics_process(delta):
if !acab_shard_has_been_collected:
Audio.play_shard_sound()
Game.score += 500
Game.shards += 1
Game.shards_collected[0] = true
acab_shard_has_been_collected = true