Basic guest list
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 8s
Create tag and build when new code gets to main / Export (push) Successful in 1m13s

This commit is contained in:
2026-01-31 12:41:56 +01:00
parent 6640ccace8
commit f2dcd332f4
12 changed files with 335 additions and 40 deletions

View File

@@ -6,9 +6,6 @@ class_name Character
set(new_resource):
chara_resource = new_resource
_on_chara_resource_changed()
if chara_resource == null:
return
chara_resource.changed.connect(_on_chara_resource_changed)
@onready var face: Sprite2D = $Face
@onready var mask_eyes: Mask = $MaskEyes
@@ -17,8 +14,8 @@ class_name Character
func _on_chara_resource_changed() -> void:
if chara_resource == null:
return
face.texture = chara_resource.chara_sprite
if face != null:
face.texture = chara_resource.chara_sprite
# Called when the node enters the scene tree for the first time.
@@ -35,7 +32,7 @@ func _process(delta: float) -> void:
func _game_process(delta: float) -> void:
pass
pass
func _engine_process(delta: float) -> void: