[MWForum]Thanks Harvey

Lara Frawley mwforum@lists.mathcats.com
Wed, 10 Sep 2003 22:52:40 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_0017_01C377EE.3CFF4530
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks Harvey! Your thinking is way ahead of mine but I will try to work =
through what you've written.
  ----- Original Message -----=20
  From: Harvey Bornfield=20
  To: mwforum@lists.mathcats.com=20
  Sent: Wednesday, September 10, 2003 3:53 AM
  Subject: Re: [MWForum]Stopall


  Lara:
  You would want to perform a stopall before you exit the current page, =
and place a few lines of "cleanup code" as well in that page-switching =
procedure. Such 'clean-up' code could be used to track information like =
what activity was going on in the environment you're exiting, (what =
programs are running before you blugeoned everything with a stopall), =
what sounds are playing, and optionally, saving the background graphics. =


  What this potentially accomplishes is that upon a button initiated =
return to that page at a later time, you can attach another procedure to =
restore the same environment  - i.e. all activity on every turtle  =
"silenced" at last exit from that page. You can do this utilizing ask =
"t1 [clickon]. If the command to use background music is incorporated as =
part of a turtle procedure, that can also be automated.=20

  This is how one begins to experiment with developing software =
architecture which can "save games". You would write off a collection of =
"state of the game" or "state of the page" variables into a text file, =
together with the players name, and reload information specific to one =
of many players, conjuring up the same scenery, activities and =
orchestrations.=20

  Hope this challenges your spark plugs!
  Perhaps this idea is worth sharing some MW Code.

  best regards,
  Harvey

  At 09:05 AM 9/9/2003, you wrote:

    The button to page 6 should have a procedure, not just page6. Then =
you can stopall as soon as you get to page6

    e.g.

    to page-6
    page6
    stopall
    end

    Susan
    **************************************************************
    Susan van Gelder
    susanvg@videotron.ca

    _______________________________________________
    MWForum mailing list
    MWForum@lists.mathcats.com
    http://lists.mathcats.com/mailman/listinfo/mwforum
    attachments archived at:
    http://www.mathcats.com/mwforum/attachments.html
  "Music is the one incorporeal entrance into the higher world of =
knowledge which comprehends mankind, but mankind cannot comprehend."=20
  Ludwig van Beethoven=20





------=_NextPart_000_0017_01C377EE.3CFF4530
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style=3D"COLOR: #000000; FONT-FAMILY: Arial" bgColor=3D#ffffff>
<DIV><FONT size=3D2>Thanks Harvey! Your thinking is way ahead of mine =
but I will=20
try to work through what you've written.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dearlyfire@earthlink.net =
href=3D"mailto:earlyfire@earthlink.net">Harvey=20
  Bornfield</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmwforum@lists.mathcats.com=20
  =
href=3D"mailto:mwforum@lists.mathcats.com">mwforum@lists.mathcats.com</A>=
 </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, September 10, =
2003 3:53=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: =
[MWForum]Stopall</DIV>
  <DIV><BR></DIV>Lara:<BR>You would want to perform a stopall before you =
exit=20
  the current page, and place a few lines of "cleanup code" as well in =
that=20
  page-switching procedure. Such 'clean-up' code could be used to track=20
  information like what activity was going on in the environment you're =
exiting,=20
  (what programs are running before you blugeoned everything with a =
stopall),=20
  what sounds are playing, and optionally, saving the background =
graphics.=20
  <BR><BR>What this potentially accomplishes is that upon a button =
initiated=20
  return to that page at a later time, you can attach another procedure =
to=20
  restore the same environment&nbsp; - i.e. all activity on every =
turtle&nbsp;=20
  "silenced" at last exit from that page. You can do this utilizing ask =
"t1=20
  [clickon]. If the command to use background music is incorporated as =
part of a=20
  turtle procedure, that can also be automated. <BR><BR>This is how one =
begins=20
  to experiment with developing software architecture which can "save =
games".=20
  You would write off a collection of "state of the game" or "state of =
the page"=20
  variables into a text file, together with the players name, and reload =

  information specific to one of many players, conjuring up the same =
scenery,=20
  activities and orchestrations. <BR><BR>Hope this challenges your spark =

  plugs!<BR>Perhaps this idea is worth sharing some MW Code.<BR><BR>best =

  regards,<BR>Harvey<BR><BR>At 09:05 AM 9/9/2003, you wrote:<BR>
  <BLOCKQUOTE class=3Dcite cite=3D"" type=3D"cite">The button to page 6 =
should have=20
    a procedure, not just page6. Then you can stopall as soon as you get =
to=20
    page6<BR><BR>e.g.<BR><BR>to=20
    =
page-6<BR>page6<BR>stopall<BR>end<BR><BR>Susan<BR>***********************=
***************************************<BR>Susan=20
    van=20
    =
Gelder<BR>susanvg@videotron.ca<BR><BR>___________________________________=
____________<BR>MWForum=20
    mailing list<BR>MWForum@lists.mathcats.com<BR><A=20
    href=3D"http://lists.mathcats.com/mailman/listinfo/mwforum"=20
    =
eudora=3D"autourl">http://lists.mathcats.com/mailman/listinfo/mwforum</A>=
<BR>attachments=20
    archived at:<BR><A =
href=3D"http://www.mathcats.com/mwforum/attachments.html"=20
    =
eudora=3D"autourl">http://www.mathcats.com/mwforum/attachments.html</A></=
BLOCKQUOTE><X-SIGSEP>
  <P></X-SIGSEP><FONT face=3D"Bell MT">"Music is the one incorporeal =
entrance into=20
  the higher world of knowledge which comprehends mankind, but mankind =
cannot=20
  comprehend." <BR>Ludwig van Beethoven =
<BR><BR><BR></FONT></P></BLOCKQUOTE>
<P></P></BODY></HTML>

------=_NextPart_000_0017_01C377EE.3CFF4530--