[MWForum]Re: MIA, Ask an Expert: finishing point

Menefee, Mike - OC mwforum@lists.mathcats.com
Thu, 31 Mar 2005 15:06:59 -0800


Hi Bridget,

Just put the desired procedure at the end of the timer procedure.  Like:

to count-down
text1, setfontsize 40
ct print 10 wait 10
ct print 9 wait 10
ct print 8 wait 10
ct print 7 wait 10
ct print 6 wait 10
ct print 5 wait 10
ct print 4 wait 10
ct print 3 wait 10
ct print 2 wait 10
ct print 1 wait 10
ct print "GO!
spin
end

to spin
t1, repeat 180 [fd .5 rt 2]
end=20

This is a simple way.  There are more elegant solutions, I am sure.  But
this is an "intuitive" one.

:)

Mike


-----Original Message-----
From: mwforum-admin@lists.mathcats.com
[mailto:mwforum-admin@lists.mathcats.com] On Behalf Of Burke, Bridget
-CKJH
Sent: Thursday, March 31, 2005 2:53 PM
To: mwforum@lists.mathcats.com
Subject: RE: [MWForum]Re: MIA, Ask an Expert: finishing point

One of my student suggested the wait print option, too. I did not know
how to put that into an if then statement. If ***what**** =3D 0 =
[everybody
[clickoff]] -----Original Message-----
From: mwforum-admin@lists.mathcats.com
[mailto:mwforum-admin@lists.mathcats.com] On Behalf Of Menefee, Mike -
OC
Sent: Thursday, March 31, 2005 12:56 PM
To: mwforum@lists.mathcats.com
Subject: RE: [MWForum]Re: MIA, Ask an Expert: finishing point

Hi Bridget,

I struggled with this one, too.  It can be done.

But how about just using the "wait" command?

You know, print 15 wait 10 ct print 14 wait 10...

:)


Mike=20

-----Original Message-----
From: mwforum-admin@lists.mathcats.com
[mailto:mwforum-admin@lists.mathcats.com] On Behalf Of Burke, Bridget
-CKJH
Sent: Thursday, March 31, 2005 12:37 PM
To: mwforum@lists.mathcats.com
Subject: RE: [MWForum]Re: MIA, Ask an Expert: finishing point

I am trying to create a timer that counts down. I would like for it to
be real time. This timer is to be put into a game, so that when the
timer reaches 0 the game ends. I have only been able to get the resett
timer to count forward.
_______________________________________________
MWForum mailing list
MWForum@lists.mathcats.com
http://lists.mathcats.com/mailman/listinfo/mwforum
Attachments archived at:
http://www.mathcats.com/mwforum/attachments.html
To unsubscribe or for administrative questions contact
mailto:mwforum-admin@lists.mathcats.com
_______________________________________________
MWForum mailing list
MWForum@lists.mathcats.com
http://lists.mathcats.com/mailman/listinfo/mwforum
Attachments archived at:
http://www.mathcats.com/mwforum/attachments.html
To unsubscribe or for administrative questions contact
mailto:mwforum-admin@lists.mathcats.com
_______________________________________________
MWForum mailing list
MWForum@lists.mathcats.com
http://lists.mathcats.com/mailman/listinfo/mwforum
Attachments archived at:
http://www.mathcats.com/mwforum/attachments.html
To unsubscribe or for administrative questions contact
mailto:mwforum-admin@lists.mathcats.com