Jump to content

Four Player Pong example with Socket.io


Lotti
 Share

Recommended Posts

Hello everyone! ;)

 

This year, like yester year,  i attend to Rome Codemotion with a talk about development of multiplayer games. The talk was pretty basic and, on the last part, introduces Socket.io.

 

If you are interested about developing a multiplayer game with Socket.io and Phaser.io, you can take a look to my slides (about networking and socket.io) or clone the repository to get the whole code.

 

https://github.com/Lotti/codemotion2015

http://www.slideshare.net/Lotti86/introduction-to-multiplayer-game-development

 

the game is actually hosted at this url

http://pong4.eu-gb.mybluemix.net/

 

Feel free to leave feedbacks or questions here ;)

Link to comment
Share on other sites

Hi, maybe you can answer the most important question about multiplayers game!

 

Once you are in the same network, the multiplayer game should works perfect, but when the players are in differents networks, how can you handle the 'lagg'?

 

Im working in a simple multiplayer game using nodejs > express, but im no satisfied with the lagg im checking...

 

 

Link to comment
Share on other sites

Yes, it gonna be reallly really hard... I already know that the best choice is use UDP protocol, but it would be better if i use p2p (with node js it is impossible)... And, my app is focusing on mobile app, it means the mobile wont have node js installed.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...