Game device multiplayer compatibility

Is it possible to turn your makecode game multiplayer with the little handheld game devices that you import your game with? For example I have two handheld game devices that I import the same game with and if the game has a multiplayer option, will it be possible for the two devices to play with each other with like a link cable or something similar?

2 Likes

It depends on the console, and I believe most of them can do multiplayer, but they require specific code beyond the built-in multiplayer blocks- which cosnsole are you using? :thinking:

Officially: no

BUT! I have purchased these but never gave them a shot yet: https://www.kittenbot.cc/products/meowbit-wireless-sd-module

Of course they are for a discontinued mewbit now, but I’m sure you can find some or maybe this even works in other handhelds?!

The general strategy I had in my head is that both the host and other player would load the same game on their mewbits. Then using this meowbit wireles sd thing you can send the state of the game back and forth. So for example the “host” game (which would all be done in code) would hold the state of the game “player A, pos-x = 10, pos-y = 15…. etc etc..” a big fat JSON style object.

Then that state would be constantly sent wirelessly to connected other players. The same game on their devices would then read and apply that state (holding no state of their own). Then events, so say the connected player jumps, either it can send the “jump” even to the host and expect the host to sync back with the current state (might be laggy) OR the other players game would perform the jump but send updates to the host where it would reconcile the changes and keep the main game-state in sync/current.

A platform style action game may be tricky at first to work out the lag and details, my initial idea was something more turn based, like a card game or chess. Then there’s less need for a “real-time” sync between the two devices.

I’m not sure if there’s a “wired” way to do this, but hacks can be found! :slight_smile:

2 Likes

Yeah, that’s exactly how!
Take the meowbit for example.
It has a little circle hole you can plug it into and plug the otherside into another meowbit for some cool 2 player gaming!

I know that I have tried connecting two PyGamers with microUSB and it didn’t work, but this really should be a thing that is possible. Maybe I’ll try it again. I’d have to find both PyGamers first and who knows where they are. Certainly not me.

1 Like