My first multiplayer online demo!
>> Play on my home server >>
So I started making an online multiplayer thingy. How hard can it be? I asked myself.
Well… PRETTY HARD! Making a game on a single computer has became pretty straightforward to me, but making a game on multiple computers is much more complicated, since I had to synchronize the characters, and make sure to remove and add characters when they connected or disconnected. I used js for both client and server (node.js) and used sockets.io to do the realtime communication. My code is certainly a huge mess! I had a chunk of code for the client, a chunk of code for the server, and a chunk of code that both had access to, not speaking about libraries.
Anyways, it’s a beginning, and I’d like to see some of you made try it, to make sure the port forwarding and everything is correct. The link will be valid until I will shutdown the computer or my IP adress changes.
The link will be down
