Mostly finished VN textbox

This commit is contained in:
YourWishes committed 2025-09-16 23:27:02 -05:00
1 parent 96b5bae9d0
commit 1e83200bba
7 files changed
+132 -126

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class_name NPC extends CharacterBody3D
return 64.0
func onInteract(player:Player) -> void:
print("Interacted with NPC")
UI.TEXTBOX.setText("Hello, I'm an NPC!\nThis is the second line here, I am purposefully adding a tonne of words so that it is forced to go across multiple lines and you can see how the word wrapping works, not only using Godot's built in word wrapping but with my advanced visibile characters smart wrapping. Now I am doing a multiline thing\nLine 1\nLine 2\nLine 3\nLine 4\nLine 5\nLine 6\nLine 7\nLine 8\nLine 9\nLine 10");
pass
func _enter_tree() -> void: