Siblings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Siblings

Sholom Eisenstat
Siblings In creating a simulation of balloons rubbing, I want to have ‘electrons’ created.
What tiles can I use to generate siblings or copies of a ‘dot’ that would then move around?
I’m not sure if I want siblings or copies......
This would be similar to having to create a stream of projectiles from a cannon or hose, for example.

--
Sholom Eisenstat, MA, OCT
Computer Resource Teacher, Secondary East
York Region District School Board

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Siblings

Bert Freudenberg
On 29.02.2012, at 14:25, sholom.eisenstat wrote:

> In creating a simulation of balloons rubbing, I want to have ‘electrons’ created.
> What tiles can I use to generate siblings or copies of a ‘dot’ that would then move around?
> I’m not sure if I want siblings or copies......
> This would be similar to having to create a stream of projectiles from a cannon or hose, for example.

You would use the electron's "copy" tile to duplicate it and the world's "include" tile to place it in the world, like so:

        world include electron's copy

(this actually produces a sibling, but it wouldn't matter either way)

Btw, since this is an Etoys-specific question, you may find this to be a better place to ask this kind of questions:

        http://squeakland.org/discuss/

- Bert -

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Siblings

Markus Schlager-2
In reply to this post by Sholom Eisenstat
On Wed, 29 Feb 2012, sholom.eisenstat wrote:

> I¹m not sure if I want siblings or copies......

With siblings you can use 'tell all'-tiles, for example, with duplicates
you cannot.

Markus
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Siblings

Karl Ramberg


On Fri, Mar 9, 2012 at 10:33 PM, Markus Schlager <[hidden email]> wrote:
On Wed, 29 Feb 2012, sholom.eisenstat wrote:

Iąm not sure if I want siblings or copies......

With siblings you can use 'tell all'-tiles, for example, with duplicates you cannot.

Markus

'Tell all siblings' is in my experience much prefered if I am simulating lots of similar objects moving around eg. bouncing atoms. 

My aging computer will feel unreponsive if I try to make a few hundred copies of a moving atom when each has a ticking script.

Karl

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners