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

#1 2011-04-30 08:40:07

Victoria56291
Scratcher
Registered: 2011-03-20
Posts: 3

Variable Scores

Hello... I'm Victoria56291.

      Whenever I do "Change score by 10" It changes to the number ten. But I want to add ten. Here is what I did:


When green flag clicked
Set score to one hundred
if touching Jellyfish
   Change score by 10

Then.. After it touches the jellyfish, the score is 10, but not 110.

Offline

 

#2 2011-04-30 11:52:39

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Offline

 

#3 2011-04-30 16:45:46

Victoria56291
Scratcher
Registered: 2011-03-20
Posts: 3

Re: Variable Scores

I did use the change block.
I put the set first because if the player clicks the flag again, the score resets to 100.

Offline

 

Board footer