feat: expand multiplayer, chat, and release support
- add network NPC synchronization and dialogue interactions - add world bulletin publishing and display - improve authentication, session refresh, and appearance sync - synchronize player direction and movement animations - improve input focus and progressive Web loading - add macOS/Windows builds and deployment configuration - include required fonts, shaders, and runtime assets
This commit is contained in:
@@ -22,7 +22,12 @@ func _process(_delta: float) -> void:
|
||||
|
||||
_update_position()
|
||||
|
||||
func set_text(text: String, targetNode: Node2D = null, targetOffset: Vector2 = TARGET_OFFSET) -> void:
|
||||
func set_text(
|
||||
text: String,
|
||||
targetNode: Node2D = null,
|
||||
targetOffset: Vector2 = TARGET_OFFSET,
|
||||
duration: float = DEFAULT_DURATION,
|
||||
) -> void:
|
||||
_originalText = text
|
||||
_targetNode = targetNode
|
||||
_targetOffset = targetOffset
|
||||
@@ -31,7 +36,7 @@ func set_text(text: String, targetNode: Node2D = null, targetOffset: Vector2 = T
|
||||
if _targetNode != null:
|
||||
_update_position()
|
||||
|
||||
await get_tree().create_timer(DEFAULT_DURATION).timeout
|
||||
await get_tree().create_timer(maxf(0.1, duration)).timeout
|
||||
queue_free()
|
||||
|
||||
func _update_size() -> void:
|
||||
|
||||
Reference in New Issue
Block a user