Improved UI

This commit is contained in:
2024-01-26 22:02:25 +01:00
parent 252d55b30f
commit 48b8011199
5 changed files with 77 additions and 56 deletions

View File

@ -23,6 +23,7 @@ func handle_packet(data: PackedByteArray, _peer: PacketPeer):
print("[%s] Auth token: %s" % [Global.username, auth_token])
DisplayServer.window_set_title("%s - %s" % [Global.username, Global.account_id])
DisplayServer.window_set_position(Vector2((Global.instance_id % 2) * 960, (Global.instance_id / 2 % 2) * 540))
func send_login():
if is_logged_in():