This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-12-04 06:00:32

ibb
New Scratcher
Registered: 2012-11-20
Posts: 3

assign a score to a user that has registered before starting the game

For a game that we are creating, we would like a player to register at first. At the end of the game, I would like to assign the score of the player to the players name. If the player playes the game again, the score achieved at that time could be compared with the score stored last time. So, each player could have its own maximum score stored.

Who can help me how to assign the score achieved to a new player that registers.

Offline

 

#2 2012-12-04 07:48:16

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: assign a score to a user that has registered before starting the game

I think you're going to have to wait for Scratch 2.0 for that! You'll be able to use the Cloud functionalities then.


Be nice, I'm an old lady  wink

Offline

 

#3 2012-12-04 10:26:51

ibb
New Scratcher
Registered: 2012-11-20
Posts: 3

Re: assign a score to a user that has registered before starting the game

Thanks for your quick response! Do you know when version 2.0 will come out?

Offline

 

#4 2012-12-04 11:08:03

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: assign a score to a user that has registered before starting the game

Dunno exactly, but I think it's pretty soon!


Be nice, I'm an old lady  wink

Offline

 

#5 2012-12-04 15:19:36

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: assign a score to a user that has registered before starting the game

You can ask them for their username every time the game starts, and use lists to store the max scores. I did something like this here:

And you can use this when 2.0 releases  smile


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

Board footer