[?] suggestions for the packet structure

07/29/2015 18:46 AaronJ21#1
Hi all!

I'm here asking you all suggestions that you have for the packet structure of the commands between my game server and the client..


And which language do you think is the best for the client of a browser game? I'm considerating the Flash..



Thanks in advance for any reply.

Aaron
07/30/2015 09:52 ChibiEbil#2
Quote:
Originally Posted by AaronJ21 View Post
I'm considerating the Flash..
Please no flash... then better use Unity either the WebPlayer or the new natively supported WebGL.

Flash is dead ^^
07/30/2015 12:28 dready#3
a Protocol is designed according to the needs your project has. Without more informations, noone will be able to realy help you.
08/03/2015 12:46 Xio.#4
Here's what works for me:

2 bytes (int16) Packet Size
2 bytes (int16) Packet Id
then fill it with your values.