fix cat, update and improve ui (menu. train selector, photo)

This commit is contained in:
2026-06-27 12:19:48 +02:00
parent 97bbca95e8
commit 35d102fbc4
18 changed files with 301 additions and 93 deletions

View File

@@ -121,6 +121,7 @@ func take_photo_async() -> void:
var targets = get_tree().get_nodes_in_group("collectible")
var space_state = get_world_3d().direct_space_state
CollectionManager.on_photo_preview_ready.emit(captured_image)
CollectionManager.save_photo_to_disk_async(captured_image)
for target in targets:
@@ -138,6 +139,10 @@ func take_photo_async() -> void:
CollectionManager.unlock_collectible(target.collectible_data.id)
GameState.save_game()
var shutter_stay_duration = 0.15
await get_tree().create_timer(shutter_stay_duration).timeout
GameState.on_photo_taken_finished.emit()
func _on_photo_mode_black_screen_disappeared() -> void: