[Etoys] Testing when a morph is dropped in another morph
hilaire at ofset.org
Wed Mar 25 08:54:15 EDT 2009
Here a small explanation about what the result should be in the term
of functionnality (it is a teacher request, so I really want to try
For a simulation about the atmosperic CO2 gaz effect, teacher wants
the kid to compose an earth situation.
A situation is composed of two overlays: a kind of landscape (icy,
sandy, vegetation) and a kind of human activity (low, medium, high
with a lot of car and factory).
I already build a project like that (it is attached so you get a
chance to understand what I am trying to explain), but to change the
overlay, the kids use two sliders, and the teacher prefers a direct
drag and drop of the overlay in a target.
So the kids should be able to pick up from the containers an overlay
and drop it in a target. Depending on the overlay composition a CO2
gaz effect value is calculated and used to design a visual user
feedback for the kid (flooding..)
Not sure it is clear, but looking at the .pr file it may help to
understand what is needed
2009/3/25 K. K. Subramaniam <subbukk at gmail.com>:
> On Wednesday 25 Mar 2009 2:15:10 pm Hilaire Fernandes wrote:
>> From Etoys is there a way to check when a Morph is dropped in another
>> Morph to later take appropriate action?
>> Moreover when doing the check I would want to decide to accept or not the
>> drop. Is it doable with Etoys tiles?
> I didn't see any direct way either. When stuck with problems like these, I
> imagine how I would tackle such situations with real toys and sensors.
> What do those morphs represent? Have you tried using a script to monitor the
> geometry of the two morphs to check for overlaps?
> Etoys mailing list
> Etoys at lists.laptop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 355352 bytes
Desc: not available
Url : http://lists.squeakland.org/pipermail/etoys-dev/attachments/20090325/c86f6ccc/ISO-8859-1QGaz_E0_effet_de_serre2E0112EISO-8859-1Qpr.bin
More information about the etoys-dev