Fixed Speed not resetting

This commit is contained in:
Exobyt 2024-08-27 23:57:29 +02:00
parent 9f6750b08a
commit 85669af4dc
2 changed files with 5 additions and 4 deletions

View file

@ -52,6 +52,7 @@ func getNewID() -> int:
return currentID
func resetGame():
currentSpeed = SPEED.MIN
rowRemoved = false
blockStopped = false
testingPhase = false

View file

@ -63,24 +63,24 @@ texture = ExtResource("4_yg0r6")
[node name="RayTop" type="RayCast2D" parent="Raycasts"]
position = Vector2(0, -32)
target_position = Vector2(0, -16)
target_position = Vector2(0, 0)
collision_mask = 3
hit_from_inside = true
[node name="RayRight" type="RayCast2D" parent="Raycasts"]
position = Vector2(32, 0)
target_position = Vector2(16, 0)
target_position = Vector2(0, 0)
collision_mask = 3
hit_from_inside = true
[node name="RayBottom" type="RayCast2D" parent="Raycasts"]
position = Vector2(0, 32)
target_position = Vector2(0, 16)
target_position = Vector2(0, 0)
collision_mask = 3
hit_from_inside = true
[node name="RayLeft" type="RayCast2D" parent="Raycasts"]
position = Vector2(-32, 0)
target_position = Vector2(-16, 0)
target_position = Vector2(0, 0)
collision_mask = 3
hit_from_inside = true