ScratchData LogoScratchData
Back to deck26's profile

multiplayer demo

DEdeck26•Created May 21, 2015
multiplayer demo
66
55
2534 views
View on Scratch

Instructions

Run the project and you should either be able to move the girl or the boy or be told you're only viewing. If a second person runs the project while you're running it they should gain control of the other character. You should see their character move and vice versa. Use arrow keys to move, space to change costume. This uses one cloud variable for each character. A second cloud variable is used to record the username for each player but this can be ignored if not required. Sept 2018 updated to include a delay so it doesn't send data to the cloud too often. Had to make delay longer in Nov 2018 (from 0.05 to 0.1 seconds).

Description

Credit to @99scratchmaster99 for the basic method of booking player slots. Don't overlook the script in the stage or the comment there which describes the method. 13 June - added automatic disconnect after 5 minutes 17 June - only shows live characters and player names A more basic intro is at https://scratch.mit.edu/projects/77775784/

Project Details

Project ID63501310
CreatedMay 21, 2015
Last ModifiedDecember 12, 2022
SharedMay 21, 2015
Visibilityvisible
CommentsAllowed