ClitherProject / Slither.io-Protocol

The Documented Slither.io Protocol
151 stars 37 forks source link

How to get the snakes mouse pos #82

Open TheJustExper opened 7 years ago

TheJustExper commented 7 years ago

As case G,g does not actually log

Mat2095 commented 7 years ago

I don't really understand your question. The exact position of the mouse is never relevant, only the angle of the mouse to the center of the screen is used in this package sent from client to server. Packages G and g are sent from server to client to update the position of snakes, but there is no mouse involved.

Mat2095 commented 7 years ago

@TheJustExper If this answered your questioin, please close the issue. If not, please be more specific what you want to know.