feat: 增加NPC范鲸晶

- player场景增加RayCast2D
- 增加npc场景
- 增加NPC对话气泡
This commit is contained in:
2026-01-11 00:10:45 +08:00
parent ed7d89e39d
commit 8a5a4a0005
11 changed files with 211 additions and 1 deletions

9
scenes/ui/ChatBubble.gd Normal file
View File

@@ -0,0 +1,9 @@
extends Control
@onready var label = $PanelContainer/Label
func set_text(text):
label.text = text
# Destroy after 5 seconds
await get_tree().create_timer(5.0).timeout
queue_free()