|
Hi Ann,
There are two basically different ways to
tell a
turtle where to go. One way uses the "relative" commands:
left, right, forward, and
back. All of these are "relative" to the turtle's
location or heading just before the command is given. The other
way
uses the "absolute" commands: home
and setpos. They send the turtle to a new
location
not at all based on where the turtle is before the command is given.
There
are two commands that are "half-and-half": setx and
sety change the turtle's location based partly on where it
is,
and partly on the coordinate value given.
These terms, "relative" and "absolute,"
are
just my personal names for this difference. There may be some
other
established vocabulary for discussing this that I don't know
about.
Now, about your questions:
1. You may tell a turtle to return
to
home, which is [0 0] in the center of the graphics screen,
or
to any other setpos [x y] location.
You can tell it to linger at its last location with a wait
n, or tell it to glide n
smoothly to its original starting point.
2. Using the commands discussed above,
you
may "drive" the turtle from anywhere to
anywhere,
along whatever serpentine or "swimming" course you like.
3, Whether a turtle (and its
shape) is "in front" of another is one of
its state properties. You may select it by right-clicking
on
the turtle and left-clicking "In Front." There are other ways
too. You can find them in the Help program.
I encourage you to explore the Help
program.
Kinda' like a turtle, the Help program has different states,
or "ways of being." Which state is best to use changes with
the
kind of Help you need. It takes a little curiosity and practice
to
get a handle on it.
I hope I've been helpful,
-Jeff
----- Original Message -----
Sent: Tuesday, September 30, 2003
6:11
AM
Subject: [MWForum]MIA, Ask an
Expert
Question
This is
an automatic message sent from the web form at:
date:
Mon, 29 Sep 2003 23:51:40 -0600
1. How can I make my turtle do what i have program and
then return back to the place it started its
movement for the next child to have a
turn?
How do
I make a turtle return to the place it started from after It has finished
the
compand I set for it to do?
2. How
can I make a turtle swim up and down the page in water in an "s"
Shape?
3. How
do I make a turle move behind other turtles or drawn objects like tree or
water?
Thank
you for you help
_______________________________________________
MWForum
mailing list MWForum@xxxxxxxxxxxxxxxxxx
http://mia.openworldlearning.org/mwforum/ Attachments archived
at:
http://www.mathcats.com/mwforum/attachments.html To unsubscribe or for
administrative questions contact mailto:mwforum-admin@xxxxxxxxxxxxxxxxxx
|