mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
bugfixes for saving and layout
This commit is contained in:
parent
c30cc4589e
commit
44d47888ca
11 changed files with 26 additions and 32 deletions
|
|
@ -146,6 +146,7 @@ extents = Vector2( 192, 10 )
|
|||
|
||||
[node name="World" type="Node2D"]
|
||||
script = ExtResource( 10 )
|
||||
already_beaten = true
|
||||
|
||||
[node name="Transition" parent="." instance=ExtResource( 11 )]
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
[ext_resource path="res://Pegs/Purple/PurplePeg.tscn" type="PackedScene" id=4]
|
||||
|
||||
[node name="World" instance=ExtResource( 1 )]
|
||||
stage_name = "Heart"
|
||||
stage_name = "heart"
|
||||
powerup_card = "res://Pegs/Yellow/PowerupCards/Scattershot.tscn"
|
||||
|
||||
[node name="PinkPeg" parent="Pegs" index="0" instance=ExtResource( 2 )]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export var powerup_card = "res://Pegs/Yellow/PowerupCards/ExtraBall.tscn"
|
|||
|
||||
func _ready():
|
||||
load_level()
|
||||
var _killzone_connec = $Killzone.connect("level_just_won", self, "save_level")
|
||||
var _killzone_connec = GameStats.connect("win_animation_finished", self, "save_level")
|
||||
GameStats.multiplier = 1
|
||||
|
||||
func _physics_process(_delta):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue