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

@@ -7,7 +7,15 @@ extends Control
if is_inside_tree() and has_node("%Texture"):
$%Texture.texture = image
@export var flip_h: bool = false:
set(value):
flip_h = value
if is_inside_tree() and has_node("%Texture"):
if $%Texture != null:
$%Texture.flip_h = flip_h
func _ready():
if image != null and has_node("%Texture"):
$%Texture.texture = image
$%Texture.flip_h = flip_h