update and improve ui

This commit was merged in pull request #36.
This commit is contained in:
2026-06-27 11:54:01 +00:00
parent 97bbca95e8
commit c0a68da7d1
21 changed files with 470 additions and 129 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: