Multiplayer Connect Meowbits

I have a set of Meowbits and I’m trying to do a multiplayer game. I’ve downloaded the game on each Meowbit and connected them with a 3.5mm cable, but they don’t seem to connect or talk to each other. For example, player one on the first Meowbit is the same on the second Meowbit but when I move a sprite on the first one, it doesn’t move on the second.

Is there something in the code that I need to change to designate one Meowbit as player one and another as player two? Then flash the code to each independently?

the multiplayer blocks can’t be used over the 3.5mm connection that the meowbit provides, unfortunately. there just isn’t enough “bandwidth” to support the general purpose multiplayer implementation like we have in the browser. you can send messages between the two meowbits, though, so you can implement some kind of multiplayer but you’ll have to work out the protocol yourself.

1 Like

I’ve seen a few people do it successfully like this video

@raybirks yeah it is possible, but it doesn’t “just work” using the multiplayer blocks. you need to write your game specifically to handle all of the communication over the jacdac cable.

i wrote a sample game a long time ago but it doesn’t work anymore because the underlying APIs have all changed. someone also made an extension based on my game here but i think that extension also no longer works for the same reason. i’d love to dust all of this stuff off, but i’m afraid i don’t have time at the moment.

1 Like