Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
* Sound bug in unpacking game
* Cursor style fixes
  • Loading branch information
TheJP committed Jan 28, 2024
1 parent a82ff85 commit e8a14ab
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 32 deletions.
1 change: 1 addition & 0 deletions Catfluencer/credits/credits.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ stretch_mode = 3
[node name="HomeButton" type="TextureButton" parent="CanvasLayer/MarginContainer/VBoxContainerMain"]
layout_mode = 2
size_flags_horizontal = 4
mouse_default_cursor_shape = 2
texture_normal = ExtResource("5_wvvut")
texture_hover = ExtResource("6_tv3md")

Expand Down
2 changes: 1 addition & 1 deletion Catfluencer/game_food/food_game.gd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func _on_consume_food(food, is_good):

#food.get_node("Sprite2D").visible = false
good_food_count -= 1

if good_food_count <= 0:
$Yummy.visible = true
Level.finished_level(true)
Expand Down
2 changes: 0 additions & 2 deletions Catfluencer/game_unpacking/unpacking_game.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
script = ExtResource("1_1d0dx")

[node name="Common" parent="." instance=ExtResource("2_vpgsf")]
neutral_sounds = Array[AudioStream]([])
sad_sounds = Array[AudioStream]([])

[node name="Package" parent="." instance=ExtResource("2_e0cu1")]
position = Vector2(738, 399)
Expand Down
30 changes: 1 addition & 29 deletions Catfluencer/victory/victory.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -27,34 +27,6 @@ theme_override_constants/margin_top = 170
theme_override_constants/margin_right = 450
theme_override_constants/margin_bottom = 90

[node name="VBoxContainerMain" type="VBoxContainer" parent="CanvasLayer/MarginContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/separation = 50

[node name="Title" type="Label" parent="CanvasLayer/MarginContainer/VBoxContainerMain"]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Victory"
horizontal_alignment = 1

[node name="CreditsNames" type="Label" parent="CanvasLayer/MarginContainer/VBoxContainerMain"]
custom_minimum_size = Vector2(450, 0)
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 60
text = "You've become the
Ultimate Catfluencer"
horizontal_alignment = 1

[node name="Button" type="Button" parent="CanvasLayer/MarginContainer/VBoxContainerMain"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 60
text = " Credits "

[node name="VBoxContainerMain2" type="VBoxContainer" parent="CanvasLayer/MarginContainer"]
layout_mode = 2
size_flags_vertical = 4
Expand All @@ -74,6 +46,7 @@ stretch_mode = 3
[node name="CreditsButton" type="TextureButton" parent="CanvasLayer/MarginContainer/VBoxContainerMain2"]
layout_mode = 2
size_flags_horizontal = 4
mouse_default_cursor_shape = 2
texture_normal = ExtResource("5_v1ec6")
texture_hover = ExtResource("6_1p8o3")

Expand All @@ -89,5 +62,4 @@ mouse_filter = 2
texture = ExtResource("7_6pvir")
expand_mode = 1

[connection signal="pressed" from="CanvasLayer/MarginContainer/VBoxContainerMain/Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="CanvasLayer/MarginContainer/VBoxContainerMain2/CreditsButton" to="." method="_on_button_pressed"]

0 comments on commit e8a14ab

Please sign in to comment.