[Thread Prev] [Thread Next]
Sorry, I let one of my students write to you. I will try to elaborate. I have
also attached two files game 1 and game 2. The kids are making a game similar
to fillit. That is where you draw a square and then it fills in.
http://ww3.freearcade.com/Fillit.jav/Fillit.html this is the original game.
They are controlling the turtle with the keyboard and have a button that has
fill as the command. They were wanting a bounce procedure that will change
direction when it hits. They are using
if heading = 0 seth 180
if heading = 180 seth 0
if heading = 270 seth 90
if heading = 90 seth 270
I know it needs to be some type of if/then procedure but, I am unsure as to
how to advise them.
This is a different Fillit game. When it fills the outside of the square fills
instead of the inside. How could they correct this?
Thanks so much for your help. Jill and students
Pleasant Ridge Middle School
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx on behalf of Jeff Knope
Sent: Mon 4/24/2006 12:12 PM
Subject: [***SPAM*** Score/Req: 05.4/5.0] Re: MIA, Ask an Expert: fillit
I'm sorry, but I can't make heads or tails of this advice. Draw pictures of
what? Based on what? What is a "T" chart? Look for patterns in what?
----- Original Message -----
From: Menefee, Mike - OC <mailto:Mike@xxxxxxxxxxxxxxx>
To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx ; jlutz@xxxxxxxxxxxxxxxxx
Sent: Monday, April 24, 2006 8:18 AM
Subject: RE: [MWForum] MIA, Ask an Expert: fillit
The math to make a realistic looking bounce is really fun. A good way to figure this out is to draw some pictures. Write down the "before bounce" and "after bounce" headings in a chart, like a "T" chart. Then look for patterns. You'll find it! It is not easy, but you can do it, and you will feel great about it when you solve the puzzle on your own.
If you get stuck, send along what you have, and the forum will leap greedily upon the opportunity to help.
As far as the "fill" thing goes, get the turtle inside of the shape, set the color you want, and use the "fill" command.
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx [mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Ask an Expert - Question
Sent: Monday, April 24, 2006 6:59 AM
Subject: [MWForum] MIA, Ask an Expert: fillit
This is an automatic message sent from the web form at:
date: Mon Apr 24 07:21:11 2006
I am a middle school student trying to make a game that
draws boxes simular to fillit. I need a procedure that
bounces when it hits the edge(so it turns around). We also
need a procedure that will fill the area that we closed off.
_______________________________________________ MWForum mailing list MWForum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx co-moderated by Wendy Petti and Daniel Ajoy: wpetti@xxxxxxxxxxxx and dajoy@xxxxxxxxxxxxxxxxxxxxx List Info: http://mia.openworldlearning.org/mwforum.htm Archives: http://mia.openworldlearning.org/mwforum/ Attachments archived at: http://mia.openworldlearning.org/mwforum/attachments.html To unsubscribe or for administrative questions contact mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Previous by thread:
Re: MIA, Ask an Expert: fillit
Next by thread:
RE: MIA, Ask an Expert: fillit
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.