Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi
I'm following a tutorial series to create a MMO (RPG) for a GM:Studio, I don't quite like the way UI is handle over there so I tried to port the ideia to Construct 2, one of the main things I had to worrie about when using websockets was the buffers get concatnated:
MESSAGEAMESSAGEBMESSAGEC.... [/code:22b1lh81] I had to use the first byte of each message to store the message lenght: [code:22b1lh81] 5MESSAGEA7MESSAGEB4MESSAGEC [/code:22b1lh81] this way I would know the size and seperate them: [code:22b1lh81] 5MESSAGEA 7MESSAGEB 4MESSAGEC [/code:22b1lh81] as Construct 2 uses json strings I don't know if I need to do this anymore, can anyone give me some guidance?! Thank you
Have you tried Ashley Tutorial if not then here it is
https://www.scirra.com/tutorials/892/mu ... pts/page-3
Develop games in your browser. Powerful, performant & highly capable.
Thank u very much I'll try it
One more thing, the server and client, in this example, are both made in construct! ....and I was trying to create a game with a server running natively in javascript