Pages: 1
Topic closed
Hello!
I have made a Card Bomber game at http://scratch.mit.edu/projects/dkl65/2611512. I have a High Score variable that changes its value to the score if it is higher than the previous High Score. However, everytime I refresh the page, the High Score variable returns to 0. I don't have any block in the scripts that sets High Score to 0. The Nyan Cat game at http://scratch.mit.edu/projects/SeptimusHeap/1801269 keeps my high score every time I play it. I downloaded it, and the High Score is changed in Sprite36. It is the same thing I do:
if score > High Score{
set High Score to score;
}
I want my High Score variable to keep its value indefinitely, just like the Nyan Cat game. I am using Scratch 1.4. What should I do?
Thanks!
Offline
Unfortunately, this feature is not available in Scratch 1.4...it will be in 2.0.
Offline
When is version 2.0 coming out? I missed the beta version. Looks like I'll be redoing my program in version 2.0 later. How much do you know about 2.0? I know that there will be functions. Do they accept parameters/arguments? My project has a lot of repetitive code; the functions would really help.
Offline
dkl65 wrote:
When is version 2.0 coming out? I missed the beta version. Looks like I'll be redoing my program in version 2.0 later. How much do you know about 2.0? I know that there will be functions. Do they accept parameters/arguments? My project has a lot of repetitive code; the functions would really help.
Scratch 2.0 is expected to be released towards of end of this summer/early fall. Detailed information about Scratch 2.0 can be found here.
Offline
In Scratch 2.0 you can use cloud data which is like saving stuff to a database. I think that is what you would need.
Offline
Topic closed
Pages: 1