mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
powerup system
This commit is contained in:
parent
c8747328cf
commit
77ca16be36
149 changed files with 2472 additions and 331 deletions
|
@ -34,11 +34,10 @@ func load_data(data):
|
|||
|
||||
|
||||
func save_level():
|
||||
print("saving game")
|
||||
if !already_beaten:
|
||||
GameStats.unlock_points += 10
|
||||
already_beaten = true
|
||||
else: GameStats.unlock_points += 1
|
||||
else: GameStats.unlock_points += 5
|
||||
|
||||
|
||||
if GameStats.score > high_score:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue