
CLOUD MONEY ICON CODE
The encoder will convert the characters into the numeric code and join the entry separator's code at the end. All codes should be saved in a list.Įncoding the list is very simple. Two custom blocks, encoding and decoding the list, will be provided. Separation of entries will also have its code. Since cloud variables support only numbers, the goal of cloud lists is to convert each character into a numeric code. Then to decode it, it will have to convert to base 11. It can use base 11 for only numbers and convert it to base 10. A few examples of cloud list engines can be found here and here. For example, all letters in the alphabet could be stored as a number by assigning each letter a number from 1 to 26. This was developed based on the idea that anything in the world can be represented with numbers. Later, the same code can turn the cloud variable back into a list. To do this, they encode a list as a number and store the number in a cloud variable. Repeat until or (length of (charList))>Ĭloud List Engines Main article: Encoding and Decoding Cloud Data Main article: Simulating a Cloud List Main article: Global High ScoresĬloud list engines are projects or scripts that store lists in cloud variables. Example function to encode base-10 textĬase Check (letter (inputL#) of (Input)) :: customĪdd (letter (1) of (lList#)) to Īdd (letter (2) of (lList#)) to.Encoding for receiving on the other end for projects with Human CommunicationĬhatrooms that let users make their own sentences or use whitelists of words are not allowed on Scratch, even if they are whitelisted.Īnother way is to detect with translation blocks, as they will block bad words and swear words.

Set to (join (join (human score) ) (computer score))Īsk and wait

A character limit of 256 digits per variable has also been implemented (formerly 128 digits). Cloud variables can contain only numbers (unlike regular variables, they cannot contain letters or symbols). There is a limit of ten (10) cloud variables per project. If a variable is being updated too often, the cloud data server will drop the connection temporarily and updates will not be sent to the cloud data servers until the connection is automatically re-opened after a variable waiting period. Generally, one should carefully consider how often a cloud variable is updated and try to limit any updates to only times when it is needed, such as when the value actually changes, and to limit how often the variable is updated on the server.
CLOUD MONEY ICON UPDATE
One should always avoid attempting to update a cloud variable in a fast loop that does not wait between updates. To avoid overloading the cloud data infrastructure, cloud data updates are limited to a certain number per second when a project is being run.

Ĭloud variables are maintained through a secure Websockets connection. Though it is possible to create chatrooms with cloud data, such projects are forbidden by the Scratch Team because they are too difficult to moderate.
CLOUD MONEY ICON OFFLINE
Since cloud data is stored on the server, cloud variables cannot be used in the Offline Editor. The only difference is that the value is truly global, and is reflected across all copies of the project being viewed on the Scratch Website.Ĭloud data is referred to as "persistent" in the code and some early development versions. The Scratch Team does not want people new to Scratch misusing cloud variables, as it could put a large load on the system that it cannot handle, most likely leading to the feature not working (see section " Issues with Cloud").Ĭloud variables use the regular blocks associated with variables.
CLOUD MONEY ICON SOFTWARE
However, many computers have firewall software running in them, and if the firewall software blocks outgoing connections to TCP port 531 and TCP port 843, the time-lag becomes one-second.Ĭloud data can not be used by New Scratchers. If both Scratchers have a reasonably fast Internet connection (DSL/Cable), and there are no restrictive firewalls on the computers/network, updates should be transmitted in milliseconds.

While the update is not instant, it is usually updated relatively quickly. It may appear as something other than the standard cloud symbol if a user's computer does not support the default Scratch font.Ĭloud variables update automatically, as opposed to requiring a refresh before updating. Cloud variables have the character "☁" (a cloud icon in the font Scratch uses) in front of them, to distinguish them from regular variables. These variables are shared between all computers running a project, which allows different uesrs' computers to communicate. A cloud variable in the list of variablesĬloud data is a feature that allows users to store number-containing variables "in the cloud," or on Scratch's servers.
