[squeakland] Fraction Cutter - Amazing what you can do with a few scripting tiles

Ron Teitelbaum horont at earthlink.net
Wed Jun 22 12:25:17 EDT 2011


That was really cool!  What a nice game that is.

 

Ron

 

From: squeakland-bounces at squeakland.org
[mailto:squeakland-bounces at squeakland.org] On Behalf Of Bert Freudenberg
Sent: Wednesday, June 22, 2011 5:55 AM
To: squeakland list
Subject: Re: [squeakland] Fraction Cutter - Amazing what you can do with a
few scripting tiles

 

On 22.06.2011, at 08:26, Steve Thomas wrote:





In working on my
<http://mrstevesscience.blogspot.com/search/label/Fraction%20A%20Day>
Fraction A Day project I built a "Fraction Cutter
<http://www.squeakland.org/showcase/project.jsp?id=11020> "

 

I was able to build this with just 11 scripting tiles in Etoys (could have
got it down to 7, but went for readability).  The first page lets you make
only 1 cut, the second lets you make multiple cuts. I had to put a playfield
on top of the "unit" (aka rectangle, which is in a gridded playfield) so
that I could allow you to "clear the cuts" by simply using the Playfields
"remove all" tile from the collections category, without removing my unit
and having to put it back each time.

 

Nice!





Next I am thinking about using polygons as my "units" so I can visually show
the cut by duplicating the polygon and modifying the vertices to points
where they intersect the cut. Then I will "animate the cut" by moving the
polygon's apart. This should scale to multiple cuts without code changes
(using the Playfield's "tell all contents" tile from the scripting
category). Well at least I think it should testing and the mandatory
debugging that occurs anytime I write code will tell ;)

 

That would be awesome! Seems quite challenging to implement ;)

 

Btw, my kids love the "Slice it!" game based on that idea:

 

          http://youtu.be/SS2SsM690wU

 

- Bert -

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/squeakland/attachments/20110622/15d35801/attachment.html>


More information about the squeakland mailing list