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

#1 2008-09-01 22:06:01

njun
Scratcher
Registered: 2008-09-01
Posts: 1

Generate a sprite

Can you generate sprites like call them into existence on the fly as duplicates of other sprites?

Offline

 

#2 2008-09-01 22:10:08

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Generate a sprite

If you are thinking of cloning, or in Flash, duplicateMovieClip(blah, blah, blah) than no


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#3 2008-09-02 03:28:40

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Generate a sprite

njun wrote:

Can you generate sprites like call them into existence on the fly as duplicates of other sprites?

Sorry, that is not a feature of the current version of Scratch.  There has been talk about implementing it in a future release but I don't know how realistic that is.

The work-around right now is to make as many copies of the sprite as you think you will need manually (with the copy sprite tool) and hide the ones you don't need at the start of the project.   Then use the Show block to "bring them into existence" later on.

There are many examples of this technique...here is one
http://scratch.mit.edu/projects/Paddle2See/180740


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer