Fish Cascade WIP added
This commit is contained in:
@@ -7,7 +7,11 @@ func _on_pressed() -> void:
|
||||
current_scene = self.get_parent().get_parent().get_parent()
|
||||
|
||||
if current_scene.game_mode == "cascade":
|
||||
pass
|
||||
$ButtonPress.play()
|
||||
await $ButtonPress.finished
|
||||
next_scene = load("res://scenes/game/fish_cascade.tscn").instantiate()
|
||||
next_scene.word_set = self.text.to_lower().replace(" ", "")
|
||||
get_tree().change_scene_to_node(next_scene)
|
||||
elif current_scene.game_mode == "comet":
|
||||
$ButtonPress.play()
|
||||
await $ButtonPress.finished
|
||||
|
||||
Reference in New Issue
Block a user