Categories
Uncategorized

Flowlab – Multiplayer Testing

Hi folks,

Currently working on a game that uses Flowlab’s new multiplayer functionality which is currently in Beta. Super simple classic gameplay where you just have to bat the ball back.

One player will be on their device and browser and the other on their device and browser. Flowlab will look to connect the game.

Please see below to the game link:
https://flowlab.io/game/play/895002

Here’s the flow logic for the left paddle.

Pressing ‘W’ make the left paddle move up as the velocity has been set to -7 on the Y axis and ‘S’ will make the paddle move down as the velocity is set to 7 on the Y axis. You’ll also notice there’s a Shared block which will synchronise the paddles behaviour with the other player.

Above you can see that there’s a white tick in a green circle, this is to show the players are connected.

I will put together a more thorough tutorial for multiplayer, it’s still in early stages and needs further testing.

If you use the link above please let me know how you get on.

Happy gaming!

Matt

Leave a Reply

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