Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SP4R0W committed Jun 12, 2023
1 parent 80aaabd commit e796c64
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
1 change: 1 addition & 0 deletions main/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ settings/stdout/verbose_stdout=true

window/size/viewport_width=3840
window/size/viewport_height=2160
window/size/mode=3
window/size/initial_position_type=0
window/size/resizable=false
window/size/window_width_override=1280
Expand Down
12 changes: 0 additions & 12 deletions main/src/DuckGame/DuckGame.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,3 @@ speed_water2 = Vector2(1.5, 0)
[node name="DuckZone1" type="Node2D" parent="Background" index="2"]

[node name="DuckZone2" type="Node2D" parent="Background" index="4"]

[node name="Ready" parent="CanvasLayer/UI" index="0"]
offset_left = -115.0
offset_top = -33.0
offset_right = 1035.0
offset_bottom = 294.0

[node name="Go" parent="CanvasLayer/UI" index="1"]
offset_left = -529.0
offset_top = -347.0
offset_right = 26.0
offset_bottom = -19.0
25 changes: 13 additions & 12 deletions main/src/Game/Game.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ tracks/0/keys = {

[sub_resource type="Animation" id="Animation_plpox"]
resource_name = "Show"
loop_mode = 1
length = 2.5
loop_mode = 2
step = 0.5
tracks/0/type = "value"
tracks/0/imported = false
Expand All @@ -140,10 +141,10 @@ tracks/0/path = NodePath(".:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"times": PackedFloat32Array(0, 0.5, 1, 1.5, 2, 2.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [true, false, true]
"values": [true, false, true, false, true, false]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_p6v6s"]
Expand Down Expand Up @@ -623,10 +624,10 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 1805.0
offset_top = 1047.0
offset_right = 2955.0
offset_bottom = 1374.0
offset_left = -115.0
offset_top = -33.0
offset_right = 1035.0
offset_bottom = 294.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(5, 5)
Expand All @@ -641,10 +642,10 @@ anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 1391.0
offset_top = 733.0
offset_right = 1946.0
offset_bottom = 1061.0
offset_left = -529.0
offset_top = -347.0
offset_right = 26.0
offset_bottom = -19.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(10, 10)
Expand Down
2 changes: 2 additions & 0 deletions main/src/LevelSelect/LevelSelect.gd
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ func _on_play_ta_pressed():

await animator.animation_finished

menu_theme.stop()

Composer.goto_scene(Globals.LEVEL_PATHS[level_prefix],{"is_animated":true,"animation":1})

func _draw_level():
Expand Down

0 comments on commit e796c64

Please sign in to comment.