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

#1 2012-11-26 05:26:12

charliebrown12321
New Scratcher
Registered: 2012-11-26
Posts: 1

scoring system

i have made a game but i want it to mark a score if it is right and not mark it if it wrong how do i do this i,ve got it all ready any help

Offline

 

#2 2012-11-27 19:59:52

scratchyrocks
Scratcher
Registered: 2012-09-29
Posts: 19

Re: scoring system

what exactly do you mean?

Offline

 

#3 2012-11-27 20:13:24

shpeters
Scratcher
Registered: 2011-12-11
Posts: 100+

Re: scoring system

when gf clicked
if <(score) = (correct score)>
Mark (score) as right
else
Mark (score) as right
Replace the variable "correct score" with the correct score. Also the scripts marking the variable "score" as right or wrong are just filler scripts and should be replaced by the correct action.

Last edited by shpeters (2012-11-27 20:14:45)


http://i.imgur.com/bboYO.pnghttp://i.imgur.com/66Yki.gifhttp://i.imgur.com/uLUsl.jpg

Offline

 

#4 2012-11-27 21:49:53

tree-hugger
Scratcher
Registered: 2011-11-19
Posts: 38

Re: scoring system

when I receive [game over v]
if <(score) = [whatever the correct score is]>
  say [Your score is correct!] for (3) secs
  else
  say [Your score is incorrect!] for (3) secs
end
Hope this is helpful  smile


http://oi48.tinypic.com/1y7tjr.jpghttp://oi50.tinypic.com/28tb34j.jpg                     http://oi50.tinypic.com/21c6v74.jpg                    ...ya, I'm weird... REAL weird...
BITBOT ALL THE WAY!!!     Only the WEIRDEST games!     (that's just  a Tree-Hugger thing)

Offline

 

Board footer