basic game manager
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 7s
Create tag and build when new code gets to main / Export (push) Successful in 1m11s

This commit is contained in:
2026-01-31 11:48:13 +01:00
parent 158e18f1fe
commit 6640ccace8
12 changed files with 94 additions and 18 deletions

View File

@@ -11,6 +11,7 @@ enum Preference {
}
@export_category("General")
@export var name: String
@export var chara_sprite: Texture2D:
set(value):
chara_sprite = value

View File

@@ -15,6 +15,9 @@ class_name Character
@onready var mask_mouth: Mask = $MaskMouth
func _on_chara_resource_changed() -> void:
if chara_resource == null:
return
face.texture = chara_resource.chara_sprite