The critically acclaimed controller experience for Scratch is back with faster setup, smoother input, multiplayer on the same screen, and motion control! --- ⚠️ READ THIS FIRST! ⚠️ ------------------------------ If it takes over 5 seconds to connect, make sure you follow the instructions in the Connection Instructions section below, then try going through the Troubleshooting/FAQ section. Also, the controls are not ideal due to Scratch limitations. See the FAQ to learn why. ----------------------------------------------------------------------- If you enjoy the project, ♥ and/or ★ to show your appreciation! :) ((( TABLE OF CONTENTS ))) ◦ Features ⚠️Connection Instructions (important!) ⚠️Troubleshooting/FAQ (also important!) ◦ Update Log ◦ How to Use in Your Own Projects ◦ Credits ◦ Legal Notice ((( FEATURES ))) ◦ Connect multiple devices to one Scratch project, using one as a display and the others as controllers ◦ It's easy and quick to connect -- just open multiple different tabs of the same project and start CloudConnect on all of them ◦ Play singleplayer or local multiplayer (not online) ◦ Choose from 3 different controllers -- Standard, 16:9, and Keyboard ◦ Smart buttons allow you to press more than one button at a time on a touchscreen ◦ Up to 32 people can be connected at the same time ◦ Easily integrates into any project (scroll down and read "How to Use in Your Own Projects") ((( ⚠️CONNECTING INSTRUCTIONS ))) NOTE: In order for this to work, you NEED to be signed in to the same account on all devices. 1) On your display device, start CloudConnect and select "Display". 2) Open the same project on your controller devices and start CloudConnect. 3) Select a controller type. Note: The keyboard option is not supported on mobile unless you attach a physical one. Once the devices connect, voilà! You can now use your mobile devices as controllers for Scratch projects! The minigame instructions are provided in-game, since they change based on your choice of control scheme. ((( ⚠️TROUBLESHOOTING/FAQ ))) ◦ It takes over 5 seconds, or it disconnects right after connecting Try turbowarp.org/#413738046 instead. On every device, remember to go to Edit > Change username and change it to your username! If the problem still persists, try restarting and/or reloading the project on one or both of the devices. Also, double check that: - you are using the same account on all devices - your computer isn't too overloaded (try limiting the amount of programs and tabs that you have open, restarting your browser, restarting your computer, and, if possible, switching devices) - your firewall isn't restricting cloud connection speeds. Ask the person in charge of your computer to check if your firewall allows outgoing connections to TCP port 531 and TCP port 843. ◦ The controls are bad If possible, try using different devices. Input lag may be greater than usual due to one or both of the devices having a slow computing speed. Bear in mind that Scratch's cloud variables can only handle 1 update every 0.1 seconds (total), and Scratch doesn't have multi-touch support, so CloudConnect is already pushing Scratch to its limits. Try researching how to connect a real controller to your computer if you want a better gameplay experience. ◦ OMG HOW IS THIS POSSIBLE?!? It's pretty cool, right? Basically, every device sends out their Scratch username to a cloud variable and waits for a response. If there's no response, the user gets to choose between Display Mode (responding to other devices) or Controller Mode (continuing to send out their username until there's a response). If there is a response (from a device in Display Mode), the device automatically enters Controller Mode. Another cloud variable is used to transmit data (such as controller inputs) between the devices. The display stores the data in lists organized by button, so when a button is pressed, it transmits to the display's list! ((( UPDATE LOG ))) ◦ 2.0.1 - The motion control scheme has been disabled because Scratch no longer allows cloud variables to be used with the video sensing extension. ◦ 2.0 ◦ 1.0.1 - https://scratch.mit.edu/projects/230002230/ ((( HOW TO USE IN YOUR OWN PROJECTS ))) CloudConnect is just ONE sprite and is therefore not hard to set up. See inside for a full set of instructions! ((( CREDITS ))) All art and coding was done from scratch -- pun intended -- with the following inspirations: ◦ Kinect | Microsoft ◦ Wii Remote | Nintendo ◦ iPhone | Apple Melon Madness credits: ◦ Inspired by the CloudConnect 1.0 minigame and the Minigame Vote project: https://scratch.mit.edu/projects/414682748/ ◦ All art and coding is by me ◦ The game's main theme is my own composition! All other sounds come from the Scratch sound library. ((( LEGAL NOTICE ))) The creator of this project does not claim the copyrighted properties but believes that their limited, non-profit, demonstrative usage is permitted by the Fair Use Doctrine.