-- Multiplayer is disabled due to limits. See more in notes. -- How to use this in your own project: Either: 1) Remix this project and repurpose its code 2) Copy all relevant code from this project into yours. This must include: CloudStuff and Matchmaking -- If you copy the code, please give credit to "Cloud Multiplayer Demo by ScratchTheCat2369" in either the Credit part of the description OR in a comment on the backdrop code of your project. If you choose the latter, please include this entire paragraph (starting from "--").
Multiplayer is currently disabled due to issues I ran into outlined below: Scratch doesn't allow cloud lists, so I have to use individual cloud variables for each player. Unfortunately, this means I have to limit players to 3 due to time consumption of creating variables. Scratch has a limit of 10 cloud variables. Cloud variables also cannot contain characters other than numbers. These artificial limitations force me to concatenate X and Y coordinates for each player into a single variable. To do this, XY variables are formatted as XXXYYY (encoded) and decoded as X, Y when received. Unfortunately, this means when you go to 1000 X or 1000 Y, you will be teleported to 0,0. As - (negatives) are in coordinates and are not numbers, I had to make 9 the negative number, meaning going to X/Y: X9X or 9XX will teleport you to an odd location. Due to issues with decoding, and how custom blocks cannot return numbers, I am unable to effectively control players other than Player1. I lost interest and motivation while debugging and fixing this issue so gave up. I probably won't be fixing it unless someone remixes this project with a sufficient fix. TL;DR: blame scratch for multiplayer not working