1
0
This commit is contained in:
FoxSpellCaster
2025-01-09 22:21:05 -05:00
parent 8d7c9eafd4
commit a8069211b7
5 changed files with 50 additions and 17 deletions

View File

@@ -8,3 +8,9 @@ var score_to_give : int = 1
func _on_input_event(camera, event, event_position, normal, shape_idx):
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed :
print ("Increase Balloon Size")
scale += Vector3.ONE * size_increase
clicks_to_pop -= 1
if clicks_to_pop == 0:
get_node("/root/Main").increase_score(score_to_give)
queue_free()