Discuss Scratch

samq64
Scratcher
1000+ posts

Cloud Ping block

Support, but maybe it might be better without the cloud icon.

Last edited by samq64 (June 6, 2021 21:39:36)

hiPeeps124816
Scratcher
500+ posts

Cloud Ping block

Candylanguagegirl wrote:

*Awkwardly coughs* Ermm, what is a ping? That should probably be explained in the OP so cloud-challenged scratchers like myself have some idea of what you're talking about.
Knowledge of ping is fundamental for playing amogus and minecraft
Anyways, support. Now we don't have to waste 2 cloud variables and 50 blocks on an overcomplicated ping detector.
EatNYeet
Scratcher
500+ posts

Cloud Ping block

[joke]THANKS TO YOUR NEW FRIEND PING, YOU WILL SPEND TONIGHT TROUBLESHOOTING EVERY SINGLE CONNECTION ISSUE[/joke]
original line from Mulan: “Thanks to your new friend Ping, you will spend tonight picking up every single grain of rice”

Support, would be useful for a project to automatically detect cloud lag and do something to make it not laggy

Last edited by EatNYeet (July 17, 2021 23:55:57)

fdreerf
Scratcher
1000+ posts

Cloud Ping block

EatNYeet wrote:

Support, would be useful for a project to automatically detect cloud lag and do something to make it not laggy
You wouldn't be able to do that since Scratch cannot control the user's internet connection.
Maximouse
Scratcher
1000+ posts

Cloud Ping block

fdreerf wrote:

EatNYeet wrote:

Support, would be useful for a project to automatically detect cloud lag and do something to make it not laggy
You wouldn't be able to do that since Scratch cannot control the user's internet connection.
They probably meant things like decreasing the amount of data transmitted depending on the connection speed, but that isn't really possible because all client will always receive values of all cloud variables.
tktcpshfr-141424
Scratcher
51 posts

Cloud Ping block

(☁ ping counter)
or something like this

Last edited by tktcpshfr-141424 (Aug. 16, 2021 10:40:48)

tktcpshfr-141424
Scratcher
51 posts

Cloud Ping block

when green flag clicked
forever
repeat until <(timer) = [0.001]>
change [counter v] by (1)
end
end


when green flag clicked
forever
reset timer
repeat until <[counter] = [☁counter]>
set [☁counter v] to [(counter)]
set [Ping v] to ((timer) * (1000))
end
end

This is some ways i think,but idk is it useful
tktcpshfr-141424
Scratcher
51 posts

Cloud Ping block

tktcpshfr-141424 wrote:

when green flag clicked
forever
repeat until <(timer) = [0.001]>
change [counter v] by (1)
end
end


when green flag clicked
forever
reset timer
repeat until <[counter] = [☁counter]>
set [☁counter v] to [(counter)]
set [Ping v] to ((timer) * (1000))
end
end

This is some ways i think,but idk is it useful

And Define it
define ☁Ping
Heccit
Scratcher
500+ posts

Cloud Ping block

Semi-support - I could see it being useful to tone down code-heavy projects for weaker devices. However, I'm not very sure how Scratch would even detect the ping.
Ayaans_Google
Scratcher
1 post

Cloud Ping block

ggg
when green flag clicked
I do not know
cookieclickerer33
Scratcher
1000+ posts

Cloud Ping block

Cloud variables have a buffer that stores the info before it sends it, there’s basically no use for this

Powered by DjangoBB