Mostly finished VN textbox
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user