summaryrefslogtreecommitdiff
path: root/game/microgames/baseball_kiss/baseball_kiss.gd
diff options
context:
space:
mode:
authorLAILALORYPC\laila <lailalory@gmail.com>2024-01-27 18:55:56 -0300
committerLAILALORYPC\laila <lailalory@gmail.com>2024-01-27 18:55:56 -0300
commita38fc38e0e2a44732b87bfcbdcc0e5aaae6c3167 (patch)
tree5f48d26cb9c5eb185f6f524687f548674d31787e /game/microgames/baseball_kiss/baseball_kiss.gd
parentc3ac8e3388c9565012145d2614e8d6f78ca8f185 (diff)
parent9e2b022cea92b9f908b54f34f34ee3739d3bd902 (diff)
downloadgamejam-ggj-2024-a38fc38e0e2a44732b87bfcbdcc0e5aaae6c3167.tar.gz
gamejam-ggj-2024-a38fc38e0e2a44732b87bfcbdcc0e5aaae6c3167.tar.bz2
gamejam-ggj-2024-a38fc38e0e2a44732b87bfcbdcc0e5aaae6c3167.zip
Merge branch 'main' of https://github.com/henriquelalves/ggj2024
Diffstat (limited to 'game/microgames/baseball_kiss/baseball_kiss.gd')
-rw-r--r--game/microgames/baseball_kiss/baseball_kiss.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/microgames/baseball_kiss/baseball_kiss.gd b/game/microgames/baseball_kiss/baseball_kiss.gd
index 85205ed..27c0b15 100644
--- a/game/microgames/baseball_kiss/baseball_kiss.gd
+++ b/game/microgames/baseball_kiss/baseball_kiss.gd
@@ -7,7 +7,7 @@ var path = null
@onready var kiss = %Kiss
# Called when the node enters the scene tree for the first time.
-func _ready():
+func _microgame_ready():
var paths = $Paths.get_children()
var choose_path = randi_range(0, paths.size()-1)
print(choose_path)
@@ -34,3 +34,4 @@ func _on_hand_collision_area_shape_entered(area_rid, area, area_shape_index, loc
%PepeSprite.play("catch")
$BreCharacter.play("win")
kiss.queue_free()
+ finished.emit(true)