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

#1 2008-03-09 18:30:17

Animax
Scratcher
Registered: 2007-06-28
Posts: 21

Change the timer

Either make <timer> able to count up to whole numbers or REMOVE IT is what I say!

<if><key[ PANIC ]pressed?>
<switch to costume[ PANICKING
<else>
<switch to costume[ calm... but bored
<end>

Offline

 

#2 2008-03-09 18:32:52

buthead
Scratcher
Registered: 2007-12-12
Posts: 7

Re: Change the timer

NOOOOOOOO!!!!! DONT DO IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<when green flag clicked><forever><switch to costume[ calm...but bored:mad:

Offline

 

#3 2008-03-09 18:36:38

Animax
Scratcher
Registered: 2007-06-28
Posts: 21

Re: Change the timer

Buthead, you didn't read it, did you? If you did, you would know that it would make a more convenient <timer>.

Offline

 

#4 2008-03-09 18:37:18

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Change the timer

just make a variable called "timer" and do     


                      <when green flag clicked>
                      <repeat until>
                      <wait(1)secs>
                      <change{timer}by(1)>
                      <end>


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#5 2008-03-09 18:54:32

Animax
Scratcher
Registered: 2007-06-28
Posts: 21

Re: Change the timer

I've done that, but Scratch's goal is to simplify programming, isn't it?

<forever if><( (( 3 <+> <{ nippo }> )) <=> 15,000,000 )>
<point towards( I AM A STUPID HIPPO
<end>

Offline

 

#6 2008-03-09 18:56:09

Animax
Scratcher
Registered: 2007-06-28
Posts: 21

Re: Change the timer

<wait( hippo )secsc>

Offline

 

#7 2008-03-09 19:25:48

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Change the timer

its not that hard to do that code


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

#8 2008-03-10 22:36:12

richiepoo
Scratcher
Registered: 2007-12-20
Posts: 31

Re: Change the timer

We should be able to change the colour of the variables and the timer from just purple and orange.  And we should be able to specify what the minimum and maximum digits the timer will count to.
Example: count min. digit thenths   count max. digit thousands

Offline

 

#9 2008-03-10 22:39:18

Rukqo
Scratcher
Registered: 2008-01-17
Posts: 100+

Re: Change the timer

Just use the rounding block!
[block]
<round( <timer>

Offline

 

#10 2008-03-10 23:16:01

heybrian1
Scratcher
Registered: 2008-03-02
Posts: 100+

Re: Change the timer

i never knew what that block was for! now i know! I always thought it was some abs thing.


I am Heybrian. Yes, the "Ask me anything, for i am a pro scratcher" Thread IS mine.

Offline

 

Board footer