bcirpggithubmirror/Phase2/Godot ===(Game Code)===/Experiments/Andrew_Multiplayer_Test/Player.gd
Andrew Tang db69386b6d Test Lobby Working
Server creation works and others are able to join by entering the creator's IP. Shows a list of player names (currently only shows player #)
2022-08-01 02:48:32 +08:00

8 lines
163 B
GDScript

extends Control
func _set_name(name) -> void:
$Name.text = name
func _set_name_position(counterVal) -> void:
$Name.rect_position.y = -225 + (50 * counterVal)