EEEEEH?? EASY MODO??
This commit is contained in:
parent
65053aa223
commit
04c87ebf66
3 changed files with 23 additions and 4 deletions
|
@ -9,6 +9,9 @@ enum Difficulty {
|
|||
PUNGENT, # faster enemies, 3 lives
|
||||
}
|
||||
|
||||
# score multiplier for easy mode
|
||||
const EASY_DIFFICULTY_MODIFIER: float = 0.75
|
||||
|
||||
|
||||
## resolution the game renders at
|
||||
const RESOLUTION := Vector2(256,192)
|
||||
|
@ -139,6 +142,9 @@ func tally_scores() -> void:
|
|||
perfect_bonus += 1000
|
||||
# final score
|
||||
final_score = score + arrows_bonus + collection_bonus + time_bonus + life_bonus + perfect_bonus
|
||||
# easy mode modifier
|
||||
if difficulty == Difficulty.SWEET:
|
||||
final_score *= EASY_DIFFICULTY_MODIFIER
|
||||
if marathon_mode:
|
||||
marathon_shards += shards_collected.count(true)
|
||||
marathon_score += final_score
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue