Discuss Scratch

Wahsp
Scratcher
1000+ posts

Cloud data acting weird

I just shared a joke project for April 1st that has a cloud variable that updates whenever the player dies (so then you can see how many other people have failed). Each time a new user plays the project or if you refresh the page it seems to reset the variable to 1 for some reason, despite there being no scripts telling it to do so. There are only three uses of the variable in the project: show, hide, and change by 1
Does anyone know why it keeps resetting?

I could just be washed and missing something so maybe if someone else looks at it they’ll see something I can’t.
Here is the project

I think it’s kinda funny that my joke project isn’t working as intended on April Fools Day but I would also like to figure out what is going on…

​I am Wahsp
______________________________________________________

Formerly pretty active on the forums, probably mostly retired now…
If you see one of my posts send me a hello!
______________________________________________________
Malicondi
Scratcher
1000+ posts

Cloud data acting weird

cool that old time forumers still come back every so often :)
Try renaming the cloud variable, then saving the project. This usually fixes the problem but is just a cursory inspection, I'll look more into the code if that isn't the problem.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Wahsp
Scratcher
1000+ posts

Cloud data acting weird

You know now that you mention it, it could possibly be a filter thing cause the variable is titled “FOOLS” lol
I’ll give it a random name and see what happens

​I am Wahsp
______________________________________________________

Formerly pretty active on the forums, probably mostly retired now…
If you see one of my posts send me a hello!
______________________________________________________
bombardingppl
Scratcher
100+ posts

Cloud data acting weird

I've checked your code and you seem to be right, it doesn't have any resetting code, but I think it's not so rare for cloud variables to glitch. Cloud variables are very weird on Scratch and I see these kind of posts A LOT

I like scratching. I like math, I like coding, yknow.
You'll find me on the forum, as well as creating projects actively.

try some of my projects, they include simulations, games, math/geometry, all the gud stuff.
Wahsp
Scratcher
1000+ posts

Cloud data acting weird

It does seem to be a filter issue, renaming the variable works. Thanks!

​I am Wahsp
______________________________________________________

Formerly pretty active on the forums, probably mostly retired now…
If you see one of my posts send me a hello!
______________________________________________________

Powered by DjangoBB