Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SelfishCrayfish committed Feb 14, 2025
2 parents a50b0c4 + 9f4ea10 commit 0224ad0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
2 changes: 1 addition & 1 deletion export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ architectures/armeabi-v7a=true
architectures/arm64-v8a=true
architectures/x86=false
architectures/x86_64=false
version/code=2
version/code=3
version/name=""
package/unique_name="com.catblast.gears"
package/name=""
Expand Down
2 changes: 1 addition & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config_version=5
[application]

config/name="Gear Grinder"
config/version="0.1"
config/version="1.0"
run/main_scene="res://scenes/main.tscn"
config/features=PackedStringArray("4.3", "Mobile")
config/icon="res://assets/icon.png"
Expand Down
16 changes: 1 addition & 15 deletions scenes/main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -1364,19 +1364,6 @@ mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_au0sx")
script = ExtResource("21_0sn77")

[node name="TextureButton" type="TextureButton" parent="UI/BuyPop-up"]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
texture_normal = ExtResource("16_d8kiq")
texture_pressed = ExtResource("16_d8kiq")
texture_hover = ExtResource("16_d8kiq")
texture_disabled = ExtResource("16_d8kiq")
texture_focused = ExtResource("16_d8kiq")
ignore_texture_size = true
stretch_mode = 0

[node name="VBoxContainer" type="VBoxContainer" parent="UI/BuyPop-up"]
layout_mode = 2

Expand Down Expand Up @@ -1525,7 +1512,6 @@ theme_override_font_sizes/font_size = 50
text = "Buy Now!"

[node name="TextureButton2" type="TextureButton" parent="UI/BuyPop-up"]
visible = false
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
size_flags_horizontal = 8
Expand Down Expand Up @@ -1595,7 +1581,7 @@ bus = &"Music"
[connection signal="pressed" from="UI/VBoxContainer/ColorRect/GearButton" to="." method="_on_gear_button_pressed"]
[connection signal="pressed" from="UI/VBoxContainer/ColorRect/SaveTest" to="." method="_on_save_test_pressed"]
[connection signal="pressed" from="UI/VBoxContainer/ColorRect/DeleteSaveTest" to="." method="_on_delete_save_test_pressed"]
[connection signal="button_down" from="UI/BuyPop-up/TextureButton" to="UI" method="_on_test_button_button_down"]
[connection signal="pressed" from="UI/BuyPop-up/VBoxContainer/HBoxContainer/VBoxContainer/Button" to="UI/BuyPop-up" method="_on_buy_bolts_button_1_pressed"]
[connection signal="pressed" from="UI/BuyPop-up/VBoxContainer/HBoxContainer/VBoxContainer2/Button" to="UI/BuyPop-up" method="_on_buy_bolts_button_2_pressed"]
[connection signal="pressed" from="UI/BuyPop-up/VBoxContainer/HBoxContainer/VBoxContainer3/Button" to="UI/BuyPop-up" method="_on_buy_bolts_button_3_pressed"]
[connection signal="button_down" from="UI/BuyPop-up/TextureButton2" to="UI" method="_on_texture_button_2_button_down"]
3 changes: 1 addition & 2 deletions scenes/ui_handler.gd
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ func _input(event):
func show_buy_popup():
$"BuyPop-up".visible = true


func _on_test_button_button_down():
func _on_texture_button_2_button_down():
$"/root/Node2D/UISound".play()
$"BuyPop-up".visible = false
pass # Replace with function body.

0 comments on commit 0224ad0

Please sign in to comment.