Discuss Scratch

GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

My browser / operating system: Windows NT 10.0 (it's 11 tho), Chrome 91.0.4472.124, No Flash versions detected

I'm following Griffpatch's Cloud Game tutorial and cloud variables won't change. Here's a gif explaining what happens:

(The cat on the right side isn't moving because I haven't pressed the 1 key on there. You can't see it in the gif but the variable monitor on the right isn't changing - that's the problem.)
I used a different account and I reloaded the page many times on both sides.
Are cloud variables under maintenance?

Thanks in advance

btw this is my 100th post :D

Last edited by GoldBackthewebAlext (July 7, 2021 14:53:55)


Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
Thingied
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

Not a bug. Cloud variables don't update when in the editor unless you save the project.
EDIT: nvm but do try testing it on the project page

Last edited by Thingied (July 5, 2021 20:42:04)

GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

Thingied wrote:

Not a bug. Cloud variables don't update when in the editor unless you save the project.
The project was saved.

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
Thingied
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

GoldBackthewebAlext wrote:

Thingied wrote:

Not a bug. Cloud variables don't update when in the editor unless you save the project.
The project was saved.
… No like it only updates when you save the project. Think of it as something like this:

broadcast [save v]
when I receive [save v]
update game :: grey
Only happens one time only. If you want to update it again, you'll have to save it again.
EDIT: nvm but do try testing it on the project page

Last edited by Thingied (July 5, 2021 20:34:55)

GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

Thingied wrote:

Cloud variables don't update when in the editor unless you save the project.
I also tried in the project page and doesn't work either.

Thingied wrote:

Only happens one time only. If you want to update it again, you'll have to save it again.
That makes no sense because existing online multiplayer projects still work…

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
Chiroyce
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

Save the project, go to the project page and try it out. And if it still doesn't work turn off your extensions.







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
ScolderCreations
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

Try leaving the editor and reloading the page.

GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

Chiroyce wrote:

Save the project, go to the project page and try it out. And if it still doesn't work turn off your extensions.
Just tried without extensions, and doesn't work either

ScolderCreations wrote:

Try leaving the editor and reloading the page.
I also tried in the project page and I reloaded the website many times on both sides.

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

Just tried adding a delay of 0.2 seconds between every cloud variable change… Guess what…

Still doesn't work haha

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
MasterofTheBrick
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

Try deleting the cloud variables and adding them again. Not sure if this will work, just trial and error.
Chiroyce
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

MasterofTheBrick wrote:

Try deleting the cloud variables and adding them again. Not sure if this will work, just trial and error.
try renaming them first, then if it still doesn't work, you can delete it and make new ones

Last edited by Chiroyce (July 6, 2021 13:43:22)








April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

Chiroyce wrote:

MasterofTheBrick wrote:

Try deleting the cloud variables and adding them again. Not sure if this will work, just trial and error.
try renaming them first, then if it still doesn't work, you can delete it and make new ones
Nope. I'm think I'm going to give up lol I'll try again in a few weeks.
Thanks everyone for your help

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
lnfinity-Studios5674
Scratcher
2 posts

Cloud variables won't update (just numbers)

You don’t have a when green flag clicked forever go to P1 - X, P1 - Y

when green flag clicked
set [Player v] to [0]
forever
go to x: (☁ P1 - X) y: (☁ P1 - Y)
end

when [1 v] key pressed
set [Player v] to [1]
forever
if <(Player) = [1]> then
set [☁ P1 - X v] to (mouse x)
set [☁ P1 - Y v] to (mouse y)
end
end

Edit: Sorry if I messed up the 0s and 1s

Last edited by lnfinity-Studios5674 (July 7, 2021 14:51:03)

Chiroyce
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

lnfinity-Studios5674 wrote:

You don’t have a when green flag clicked forever go to P1 - X, P1 - Y
ohhh that makes so much sense!







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

lnfinity-Studios5674 wrote:

You don’t have a when green flag clicked forever go to P1 - X, P1 - Y

when green flag clicked
set [Player v] to [0]
forever
go to x: (☁ P1 - X) y: (☁ P1 - Y)
end

when [1 v] key pressed
set [Player v] to [1]
forever
if <(Player) = [1]> then
set [☁ P1 - X v] to (mouse x)
set [☁ P1 - Y v] to (mouse y)
end
end
That's not the problem because in the gif you can't see it but the variable monitors aren't changing, that's the problem.

Last edited by GoldBackthewebAlext (July 7, 2021 14:56:13)


Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
Infinity-Studios5674
Scratcher
100+ posts

Cloud variables won't update (just numbers)

GoldBackthewebAlext wrote:

lnfinity-Studios5674 wrote:

You don’t have a when green flag clicked forever go to P1 - X, P1 - Y

when green flag clicked
set [Player v] to [0]
forever
go to x: (☁ P1 - X) y: (☁ P1 - Y)
end

when [1 v] key pressed
set [Player v] to [1]
forever
if <(Player) = [1]> then
set [☁ P1 - X v] to (mouse x)
set [☁ P1 - Y v] to (mouse y)
end
end
That's not the problem because in the gif you can't see it but the variable monitors aren't changing, that's the problem.

Then is your account a New Scratcher? New Scratchers can’t use cloud variables.

Last edited by Infinity-Studios5674 (July 7, 2021 15:01:44)



..╭━━━━━━╮
╭┃ ╭━━━━╮
┃┃ ╰━━━━╯
┃┃

amongus
Chiroyce
Scratcher
1000+ posts

Cloud variables won't update (just numbers)

Infinity-Studios5674 wrote:

Then is your account a new scratcher?
How would they get Cloud Variables in the first place?







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Infinity-Studios5674
Scratcher
100+ posts

Cloud variables won't update (just numbers)

Chiroyce wrote:

Infinity-Studios5674 wrote:

Then is your account a new scratcher?
How would they get Cloud Variables in the first place?

I mean the account on the right


..╭━━━━━━╮
╭┃ ╭━━━━╮
┃┃ ╰━━━━╯
┃┃

amongus
GoldBackthewebAlext
Scratcher
100+ posts

Cloud variables won't update (just numbers)

Infinity-Studios5674 wrote:

I mean the account on the right
Oh wait that actually makes sense.
Thank you!

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
Infinity-Studios5674
Scratcher
100+ posts

Cloud variables won't update (just numbers)

:]


..╭━━━━━━╮
╭┃ ╭━━━━╮
┃┃ ╰━━━━╯
┃┃

amongus

Powered by DjangoBB