This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-06-08 22:20:47

Graham
Scratcher
Registered: 2007-04-06
Posts: 53

Cloning sprites in scripts

I think you should be able to clone and delete sprites through scripts. So if you wanted to do something with bacteria where they are multiplying and dying you could do it with out needing to make lots and lots of sprites.


Mini Game heaven: http://scratch.mit.edu/projects/Graham/20856 Don't press the Button: http://scratch.mit.edu/projects/Graham/3167 and Army Ants: http://scratch.mit.edu/projects/Graham/1059

Offline

 

#2 2007-06-09 02:57:40

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Cloning sprites in scripts

Graham,
   I agree entirely. 

If you want to play around with creating and destroying lots of sprites, I suggest using starlogo.  A program that Abe and I wrote is on my web site at
http://www.soe.ucsc.edu/~karplus/starlogo_programs/chemotaxis-for-web.html
(the source code is available, with a pointer from
http://www.soe.ucsc.edu/~karplus/scratch_programs/

Offline

 

#3 2007-06-09 15:19:20

Graham
Scratcher
Registered: 2007-04-06
Posts: 53

Re: Cloning sprites in scripts

Yes, what they use in Starlogo would be great.

Last edited by Graham (2007-06-09 15:19:29)


Mini Game heaven: http://scratch.mit.edu/projects/Graham/20856 Don't press the Button: http://scratch.mit.edu/projects/Graham/3167 and Army Ants: http://scratch.mit.edu/projects/Graham/1059

Offline

 

Board footer