Client send data to server

This commit is contained in:
Layla 2020-08-21 03:32:53 -04:00
parent 9d14a42388
commit b5fd5947ff
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31

View File

@ -18,6 +18,7 @@ func _process(delta):
if move:
move_along_path(base_movement_speed * delta)
ServerConnection.send_player_position(global_position)
func move_along_path(distance : float):
var start_point := global_position