ScratchData LogoScratchData
Back to redspacecat's profile

Cloud Multiplayer Testing

REredspacecat•Created March 1, 2023
Cloud Multiplayer Testing
2
1
12 views
View on Scratch

Instructions

Welcome! ----------------------------------------------------------------------- This is a cloud project that can be used for multiplayer games. This includes smooth movement and support for up to eight players. This project sends x and y position, and direction and costume in the cloud, but can easily be customized to transmit much more. ------------------------------------------------------------------------ This cloud engine has all the multiplayer stuff in one sprite, so the whole project doesn't have to be cluttered. (Also I have one sprite do all the work so that I don't have to rely on the clones.) ------------------------------------------------------------------------ This also comes pre-made with a game loop and some basic detection for pausing the project (If you are on TurboWarp) or else just going away from it for a while. When it detects you have been away for a while, it automatically attempts to reconnect. Additionally, if two players somehow manage to join on the same player slot, there is automatic detection and one of the players changes to a different slot. ------------------------------------------------------------------------- Enjoy!

Description

The idea of sending three frames of data at once to have smooth movement came from @griffpatch, but the method I used to do so is completely different from @griffpatch's. I made most of the code in the project, but @rovebeetle helped a tiny bit with the displaying of the other players.

Project Details

Project ID811442530
CreatedMarch 1, 2023
Last ModifiedMarch 2, 2023
SharedMarch 1, 2023
Visibilityvisible
CommentsAllowed