• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!

GMS 2.3+ Networking done right

Traversal

Member
I would like to create a simple game that allows to read and write clicks from 2 players to compare them.

As it comes to networking I am not sure if a http_get would not be too slow in response reading my MySQL via php.

Direct Sockets might expose the users ipadr to others, which I must avoid.

So what options could I go for, to exchange infomation like clicks and screencoordinates between 2 Player?

Should I setup a Server Version of my game and let them connect via that Serverapp? How many games would it be possible to host this way? Will it be fast and reliable enough?
 

Mert

Member
It is best to make a UDP server. If you can manage to make your server concurrent, you can even host 1 billion players.
 
Top