danilko / topdown-2d-multiplayer

top - down 2D multiplayer base on godot
MIT License
26 stars 7 forks source link

Improve network performance #8

Closed danilko closed 2 years ago

danilko commented 3 years ago

Improve network performance

There are few areas:

Possible change the current string info format to byte array and use int etc to reduce down

The biggest payloads cover:

danilko commented 2 years ago

The slowness is actually not caused by network after more research.

But it is rather due to the AI path finding slows the frame rate, which the slow down the package sending result in slower queue

The AI search is now speed up through following (detail and analyze within the issue) https://github.com/danilko/topdown-2d-multiplayer/issues/25: Improve slow down behaviors when AI are searching paths

So close the issue for now