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

#1 2012-09-21 07:53:09

Joesott501
New Scratcher
Registered: 2012-09-21
Posts: 1

Score board

How do you make a scoreboard that will show us the time and score of the game?

Offline

 

#2 2012-09-21 12:05:29

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: Score board

Just make two variables and set them to there values.

when i receive [score v]
change [score v] by (1)

when gf clicked
set [time v] to (0)
forever 
change [time v] by (1)
wait (1) secs


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#3 2012-09-21 12:26:36

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Score board

bullelk12 wrote:

Just make two variables and set them to there values.

when i receive [score v]
change [score v] by (1)

when gf clicked
set [time v] to (0)
forever 
change [time v] by (1)
wait (1) secs

when i receive [score v]
change [score v] by (1)
end

when gf clicked
set [time v] to (0)
set [score v] to (0)
forever 
change [time v] by (1)
wait (1) secs
end
end


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#4 2012-09-21 17:21:02

thebriculator
Scratcher
Registered: 2011-07-11
Posts: 500+

Re: Score board

dvd4 wrote:

when i receive [score v]
change [score v] by (1)
end

when gf clicked
set [time v] to (0)
set [score v] to (0)
forever 
change [time v] by (1)
wait (1) secs
end
end

when gf clicked
reset timer
set [score v] to (0)
forever 
set [time v] to (timer)


.     http://tiny.cc/2cwgpw    http://tiny.cc/viwgpw    http://tiny.cc/iwwgpw

Offline

 

Board footer