One vary important aspect of scratch is interacting with other people. We use lot's of different methods to interact like writing comments, using forums and loving projects.
But the one thing we can't do is interact using projects. Yes, we can send each-other notes and advertise things with scratch projects but this is different. If i made a pole asking a simple question like, "do you think that scratchers say that they are quitting just to get attention?" then underneath would be a yes and a no button. Two veriables are recording the answers and after lets say 1 month i can go and see the answers to the question and find the opinion of scratchers.I have tried to make the variables record what people say by not resetting them every time someone clicks the green flag but it dose not work.
If you have ant idea of how to do this pleas tell me.
If you do not now how and want it to be done then maybe you can help me get it into the next version of scratch.
Thank-you.
Offline
It is impossible currently. Whenever someone views your project, the variable will "refresh" itself. And when you download it, it will say whatever you left it as before you upload (most likely 0)

Offline
As Bluestribute says, it is not currently possible. It would require storing the information somewhere in a database. This capability has been discussed in the past and was going to be part of a product called NetScratch using a feature called "shariables". However, it now appears that NetScratch may never make it to production so I'm not sure where that leaves us.
It actually seems like it wouldn't be that hard to implement this feature in Scratch though. Another pair of blocks "Store <value> as <name>" and "Retrieve <name>" would let you write and read values from the database. In the database, the actual key would be constructed from the project ID and the <name> so there would be no cross-project access. Where it would get confusing is what to do when the project is run on a computer with no internet access....
Offline
THANK YOU SO MUTCH FOR COMMENTING!!
I hop it comes on the next version of scratch.
You could have a personal storage place for all scratch members of something like 1G
and after so long a time without use it would delete itself.
TY Again
Offline
Allow me to explain why it won't work yet. For now, every time your browser loads, it is resetting the state of the project to the state the creator left it in when they uploaded their project. If you really wish to take a poll, ask for people to vote, delete their comment, and change the numbers in your local copy of the project, and re-upload under the same name, to replace the data. However, as andresmh explained to me, it will not appear to be updated for a bit, unless you clear your Java cache. It will eventually be forced to re-download, and will then appear the way you uploaded. I tried to do the same thing a while back, but only realized that the hi-score I had gotten earlier was back to the one I uploaded.
Offline
Not possible. But 3 days ago, I discovered how to make a project that works when you click on the main menu 'Load Game' it is really basic, just think, Dont reset variables at start, but only when 'New Game' is clicked. I will make a project about it soon...

Offline
Tanner-FBI wrote:
Not possible. But 3 days ago, I discovered how to make a project that works when you click on the main menu 'Load Game' it is really basic, just think, Dont reset variables at start, but only when 'New Game' is clicked. I will make a project about it soon...
Colkadomes old Ramsay project did that. When you refreshed or something it reset to level one though. It only saves on the current project, but once you come back it doesn't.
Offline