Added client nameplates

This commit is contained in:
2020-05-02 16:36:51 -04:00
parent 948b379f9d
commit ee233c52f0
3 changed files with 9 additions and 2 deletions

View File

@ -3,8 +3,12 @@ extends KinematicBody2D
export var user : String = ""
func _ready():
set_username("")
func set_username(username):
print(username)
user = username
$Label.text = user
#$Label.text = $"/root/NetworkManager".username
func _process(delta):
var movePos : Vector2 = Vector2(0,0)