logo       

Re: Transfering scripts (was: Stop a script for a second): msg#00082

lang.smalltalk.squeak.beginners

Subject: Re: Transfering scripts (was: Stop a script for a second)

On Dec 12, 2006, at 13:55 , Randy Goldenberg wrote:

Hi,

I have an object for which I've created some variables and
scripts. I would like to add those variables and scripts
to another, different object (original object was a
SketchMorph, new object is an Ellipse dragged out from the
"Supplies" flap). Does etoys offer a quick way of
doing that?

Yes. You are actually scripting a separate object, called a "player". A player can wear different "customes", which is the object you see on screen. So just make your scripted object wear a different custome (there is a tile for that).

- Bert -


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise