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

#1 2011-12-20 01:17:20

biiibiii
New Scratcher
Registered: 2011-12-12
Posts: 2

Score Variable Bug

I posted my Game project last week on the games section. Howver the scores doesnt update and doesnt work. It works on my scratch, however i have to always save before playing.

Offline

 

#2 2011-12-20 02:03:55

mattlai2
Scratcher
Registered: 2011-12-06
Posts: 100+

Re: Score Variable Bug

Change the scripts in Sprite 4 so that it's like this:
http://imgur.com/JShQz

Offline

 

#3 2011-12-25 03:13:32

biiibiii
New Scratcher
Registered: 2011-12-12
Posts: 2

Re: Score Variable Bug

Thanks alot  smile  Will Try

Offline

 

#4 2011-12-29 18:41:23

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Score Variable Bug

Did you script it like this? (This is the way I am scripting a maze game. It would go on the sprite that would go through the maze. If you're not doing this, let me know.)

<when green flag clicked>
<set{score }to(0
<if><touching color[ whatever
<change{  }by( +1


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

Board footer