Phaser 2 and 3 Multiplayer test

The image shows two players connected with the Croquet.io tech and Phaser 3, check the example with the links bellow.

So we are trying to get into the multiplayer game area with Phaser, and the current technologies we know so far that could work are Socket.io and Croquet.io. The diferences between them are huge, and the performance also very noticeable.

By now i will juts post the examples we made, but we are planning to bring a tutorial or series of tutorials if the community has some interest.

The examples ill give you bellow, are not perfect, but in the first case (socket.io), it will demostrate how the socket.io is working in our weveana server and can handle a multiplayer game, at least the movement and shooting of some spaceships.

We haven’t tested the performance of how many ships can handle the server, but please! don’t you try here! in case of shutting down my own server :S

The second example is made with Phaser and the Croquet.io engine, a very interesting approach to the multiplayer programing, recomended to check out their website http://croquet.io/

If you want to test by yourself ill give you the links of the examples and the soruce code at github.

Example 1: Socket.io

https://weveana.com/proyectos/socketTest/

https://github.com/pattodiablo/socketTest

Example 2: Croquet.io

https://weveana.com/proyectos/MultiplayerTest3/WebContent/

https://github.com/pattodiablo/MultiplayerTest3

Leave a Reply

Your email address will not be published. Required fields are marked *