Discuss Scratch

Dylan5797
Scratcher
1000+ posts

A sensor block to check cloud connection

_TheBlock wrote:

+1
Unnecessary bump.
NES2006
Scratcher
51 posts

A sensor block to check cloud connection

is there a block called
<cloud connected>
thisisntme
Scratcher
96 posts

A sensor block to check cloud connection

This is an ancient topic…
alexphan
Scratcher
1000+ posts

A sensor block to check cloud connection

NES2006 wrote:

is there a block called
<cloud connected>
1. There is not.
2. Please don't post on old topics. This is called necroposting and is reportable. Next time, check the date of the last post before posting. Thanks!


Anyways…support, this would help a lot with projects that handle a lot of cloud.

Last edited by alexphan (July 19, 2016 21:30:19)

LP_Play
Scratcher
1000+ posts

A sensor block to check cloud connection

+1

We also need a new scratcher boolean to see if X user can use cloud data.
NES2006
Scratcher
51 posts

A sensor block to check cloud connection

guess not!
NES2006
Scratcher
51 posts

A sensor block to check cloud connection

alexphan wrote:

NES2006 wrote:

is there a block called
<cloud connected>
1. There is not.
2. Please don't post on old topics. This is called necroposting and is reportable. Next time, check the date of the last post before posting. Thanks!


Anyways…support, this would help a lot with projects that handle a lot of cloud.
i do not understand that

Last edited by NES2006 (July 20, 2016 17:10:01)

NES2006
Scratcher
51 posts

A sensor block to check cloud connection

what is an old topic
NES2006
Scratcher
51 posts

A sensor block to check cloud connection

alexphan
Scratcher
1000+ posts

A sensor block to check cloud connection

NES2006 wrote:

what is an old topic
An old topic is a topic whose last post is several months to a few years old. Posting on them without adding to the discussion is called necroposting.
LP_Test
New Scratcher
25 posts

A sensor block to check cloud connection

+1

Before I can start making “Project PlayCloud” I need this boolean.
scratchyone
Scratcher
100+ posts

A sensor block to check cloud connection

To prevent confusion, now that sb3 is out, you should probably make those blocks actually booleans (in the OP)
Gabe135
Scratcher
3 posts

A sensor block to check cloud connection

Example:

when green flag clicked
if <cloud connected> then
set [☁ highscore v] to (score)
if <<(☁ highscore) > [500]> or <(☁ highscore) = [500]>> then
say [You win!] for (2) secs
scan servers [server2 v]
stop [this script v]
else
say [You lose]
get high score list (join (username) [<--- You])

stop [other scripts in sprite v]
stop [all v]

define get high score list (cloud data)
set [score v] to (item (item) of [cloud data v])
set [jpscore v] to (cloud data)

define scan servers (servers)
set [servers v] to (join [using] (servers))

Last edited by Gabe135 (Dec. 22, 2016 00:39:20)

Gabe135
Scratcher
3 posts

A sensor block to check cloud connection

Your script will look like this:
<cloud connected>

Last edited by Gabe135 (Dec. 22, 2016 02:17:23)

Dylan5797
Scratcher
1000+ posts

A sensor block to check cloud connection

Gabe135 wrote:

Your script will look like this:
<cloud connected :: sensing>
ftfy
Dylan5797
Scratcher
1000+ posts

A sensor block to check cloud connection

Any leakage ideas about how the cloud data overhaul will help with this?
jromagnoli
Scratcher
1000+ posts

A sensor block to check cloud connection

Support.
explosive-tnt_test
Scratcher
11 posts

A sensor block to check cloud connection

I support all of them.
Couldn't you do:
set [☁ cloudrand] to (((days since 2000)) * (86400))
if <not <(☁ cloudrand) = ((days since 2000)*(86400))>> then
broadcast [ cloud not connected!]
else
broadcast [connected!]
end

Last edited by explosive-tnt_test (March 19, 2017 10:39:20)

abraham93420
Scratcher
47 posts

A sensor block to check cloud connection

I think to check whose on a cloud is you have to set the cloud variable (only when you are an scratcher) and see if a if loop which checks the variable works for them

Powered by DjangoBB