improved mixing as much as i can + finally fixed bonus dialogue
This commit is contained in:
parent
c6120801e4
commit
77737e009e
15 changed files with 33 additions and 6 deletions
|
@ -329,3 +329,17 @@ func _on_player_died() -> void:
|
|||
# freezeframe
|
||||
Game.freeze_frame(0.3)
|
||||
|
||||
func check_time_bonus():
|
||||
var map = get_map()
|
||||
if keys >= 50 and _get_shards() >= 5:
|
||||
# 100% time bonus
|
||||
if time < map.target_time_100:
|
||||
return true
|
||||
else:
|
||||
return false
|
||||
else:
|
||||
# any% time bonus
|
||||
if time < map.target_time_any:
|
||||
return true
|
||||
else:
|
||||
return false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue