update game_menu

This commit is contained in:
2026-05-14 22:31:37 +02:00
parent 788397e544
commit 5be52377a4
59 changed files with 590 additions and 329 deletions

View File

@@ -9,3 +9,8 @@ func setup(texture: Texture) -> void:
if !texture_rect:
texture_rect = $%PhotoTexture
texture_rect.texture = texture
func _on_gui_input(event: InputEvent) -> void:
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed:
GameState.on_photo_highlighted.emit(texture_rect.texture)