mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
some fixes
This commit is contained in:
parent
ffcccb8c2e
commit
6539056cfb
8 changed files with 135 additions and 98 deletions
|
@ -6,9 +6,8 @@ export var already_beaten = false
|
|||
|
||||
func _ready():
|
||||
load_level()
|
||||
$Killzone.connect("level_just_won", self, "save_level")
|
||||
var _killzone_connec = $Killzone.connect("level_just_won", self, "save_level")
|
||||
GameStats.multiplier = 1
|
||||
print(high_score)
|
||||
|
||||
func _physics_process(_delta):
|
||||
fast_forward()
|
||||
|
@ -43,7 +42,7 @@ func save_level():
|
|||
|
||||
|
||||
if GameStats.score > high_score:
|
||||
print("New High score!")
|
||||
# new highscore!!!
|
||||
high_score = GameStats.score
|
||||
|
||||
var data = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue