I'm currently working on a school project about basketball related. The only problem I have at this moment is saving/loading function on scratch. Since the project will be embedded into the school site, I will not be able to save its changes. For example, each individual team has a different set of scores. The scores are saved with a click of a button. When the browser is closed, however, re-entering the site will load the scores back to its previous amount. Is there a way that it can save within the website without the use of opening the scratch application? If so, please show.
I need an answer asap, it's urgent. Thanks!
Offline
304147 wrote:
I'm currently working on a school project about basketball related. The only problem I have at this moment is saving/loading function on scratch. Since the project will be embedded into the school site, I will not be able to save its changes. For example, each individual team has a different set of scores. The scores are saved with a click of a button. When the browser is closed, however, re-entering the site will load the scores back to its previous amount. Is there a way that it can save within the website without the use of opening the scratch application? If so, please show.
I need an answer asap, it's urgent. Thanks!
Sorry. That can't be done. The only way is to do it in SQL and PHP.
Offline
You can do that if you want to modify Java so it saves the data from the project and never removes the data ( unless done manually ). Though I am not sure how you would do that.
Offline
It doesn't seem possible, does it? Ik only 1 project that does it well and still can't find how the script works. http://scratch.mit.edu/projects/Jfreak1/1816236 Please tell me if this helps or not.
Offline
SheppardProductions wrote:
It doesn't seem possible, does it? Ik only 1 project that does it well and still can't find how the script works. http://scratch.mit.edu/projects/Jfreak1/1816236 Please tell me if this helps or not.
ahem. it got my pin wrong. it said it was 1234 when it was 2000.
Offline
well also, it only saves temporarily (whilst the project is still open in the browser) if you were to refresh the page, the results would dissappear.
Offline
Servine wrote:
SheppardProductions wrote:
It doesn't seem possible, does it? Ik only 1 project that does it well and still can't find how the script works. http://scratch.mit.edu/projects/Jfreak1/1816236 Please tell me if this helps or not.
ahem. it got my pin wrong. it said it was 1234 when it was 2000.
lol it gave you my pin. I entered 1234 as mine. maybe it doesn't work after all
Offline
Servine wrote:
boomp
what do you hope to gain from bumping this? The answer is no, you can't or Yes, but with a LOT of work. What more do you need to know? If you really want to undertake it, learn java, come back, and write your own java player that supports saving.
Offline