mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
save system
This commit is contained in:
parent
ad8de1dbb7
commit
ffcccb8c2e
29 changed files with 286 additions and 77 deletions
|
|
@ -83,7 +83,7 @@ func spawn_trajectory_dots():
|
|||
can_spawn_trajectory_dot = true
|
||||
trajectoryTimer.start()
|
||||
func reset_ball():
|
||||
GameStats.multiplier = 1
|
||||
GameStats.set_multiplier(1)
|
||||
# delete the ball when the level is won, so it doesn't respawn
|
||||
if GameStats.level_won:
|
||||
queue_free()
|
||||
|
|
|
|||
|
|
@ -98,5 +98,6 @@ anims/reset = SubResource( 2 )
|
|||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 5 )
|
||||
bus = "SFX"
|
||||
|
||||
[connection signal="timeout" from="TrajectoryTimer" to="." method="_on_TrajectoryTimer_timeout"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue