This commit is contained in:
E250429F
2026-09-17 23:19:43 +02:00
parent 025a866eef
commit 3e857fa9f3
281 changed files with 38006 additions and 970 deletions
+12
View File
@@ -12,6 +12,8 @@ extends StaticBody3D
@onready var label: Label = $Sprite3D/SubViewport/Label
@onready var sprite_e: Sprite3D = $Sprite3DE
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
setup_color_and_name()
@@ -53,3 +55,13 @@ func _reset():
creme_myrtille.visible = false
meringue.visible = false
croisillon.visible = false
func _on_area_3e_body_entered(body: Node3D) -> void:
if body.is_in_group("player"):
sprite_e.visible = true
func _on_area_3e_body_exited(body: Node3D) -> void:
if body.is_in_group("player"):
sprite_e.visible = false