fixed a tiling error, and not being able to skip the challenge "miss.." screen

This commit is contained in:
JHDev2006
2025-09-29 11:58:21 +01:00
parent a1e6ed85c1
commit 4fa07b7d06
3 changed files with 5 additions and 5 deletions

View File

@@ -577,7 +577,6 @@ texture = ExtResource("1_vdakf")
&"type": 22
}
5:8/0 = 0
5:8/0/z_index = 1
5:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8, -8, 0)
5:8/0/metadata/_better_terrain = {
0: [0],
@@ -608,7 +607,6 @@ texture = ExtResource("1_vdakf")
&"type": 18
}
0:9/0 = 0
0:9/0/z_index = -10
0:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, -8)
0:9/0/metadata/_better_terrain = {
0: [0],
@@ -617,7 +615,6 @@ texture = ExtResource("1_vdakf")
&"type": 20
}
1:9/0 = 0
1:9/0/z_index = -10
1:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, -8, 8)
1:9/0/metadata/_better_terrain = {
8: [0],
@@ -626,7 +623,6 @@ texture = ExtResource("1_vdakf")
&"type": 21
}
2:9/0 = 0
2:9/0/z_index = -10
2:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
2:9/0/metadata/_better_terrain = {
0: [0],

View File

@@ -344,6 +344,7 @@ func transition_to_scene(scene_path := "") -> void:
$Transition/AnimationPlayer.play("RESET")
$Transition.hide()
transitioning_scene = false
transition_finished.emit()

View File

@@ -21,8 +21,11 @@ func _ready() -> void:
func _process(_delta: float) -> void:
print(can_continue)
if Input.is_action_just_pressed("jump_0") and can_continue:
go_back_to_title()
can_continue = false
if Global.transitioning_scene:
await Global.transition_finished
await get_tree().create_timer(0.15, false).timeout
go_back_to_title()
func go_back_to_title() -> void: