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

#1 2011-09-04 15:17:36

wianno13
New Scratcher
Registered: 2011-09-04
Posts: 1

New Sprites

How do you replicate a sprite during a game? So if I wanted to have a copy of a sprite appear on screen randomly or in a certain condition. Thanks!

Offline

 

#2 2011-09-04 15:24:27

laptop97
Scratcher
Registered: 2011-06-27
Posts: 1000+

Re: New Sprites

Unfortunatly, you can't.  sad

Offline

 

#3 2011-09-04 17:00:02

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: New Sprites

Laptop97 is correct... You can't dynamically duplicate a sprite from a script in Scratch. In some cases, the stamp block from the pen category could do the trick. This leaves a *visual* duplicate of a sprite on the screen, however it cannot move or run scripts.

If that doesn't work for your project, you can ofcourse just duplicate the sprite a few times yourself and synchronize them with broadcasts and/or variables.

Good luck! And feel free to ask for some more help!

--JSO


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#4 2011-09-04 18:24:25

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: New Sprites

Though there is supposed to be a "clone" feature coming out in Scratch 2.0  big_smile

Oh, and other (unofficial) versions of scratch (such as Panther) have a clone feature, but you can't upload those onto the Scratch website.


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#5 2011-09-04 21:03:53

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: New Sprites

You can! Just duplicate the sprite. And hide it and when you want it to show in your game then just broadcast some message and for the replica sprite do a when I receive message show.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#6 2011-09-06 10:25:55

slammer111
New Scratcher
Registered: 2011-09-01
Posts: 33

Re: New Sprites

Thescratch3 wrote:

You can! Just duplicate the sprite. And hide it and when you want it to show in your game then just broadcast some message and for the replica sprite do a when I receive message show.

probably want to look at the dates, the original post was in 2007, and your post is four years later- think things have changed since then

Offline

 

#7 2011-09-06 10:38:38

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: New Sprites

slammer111 wrote:

Thescratch3 wrote:

You can! Just duplicate the sprite. And hide it and when you want it to show in your game then just broadcast some message and for the replica sprite do a when I receive message show.

probably want to look at the dates, the original post was in 2007, and your post is four years later- think things have changed since then

What are you talking about? It was posted a couple days ago.  hmm

Offline

 

#8 2011-09-06 11:31:27

slammer111
New Scratcher
Registered: 2011-09-01
Posts: 33

Re: New Sprites

scimonster wrote:

slammer111 wrote:

Thescratch3 wrote:

You can! Just duplicate the sprite. And hide it and when you want it to show in your game then just broadcast some message and for the replica sprite do a when I receive message show.

probably want to look at the dates, the original post was in 2007, and your post is four years later- think things have changed since then

What are you talking about? It was posted a couple days ago.  hmm

yeaaa fail on my part (was looking at their start times XD)

Offline

 

#9 2011-09-06 11:47:21

srp77-srp11
Scratcher
Registered: 2011-05-21
Posts: 50

Re: New Sprites

You can but You have to learn how mash on scratch Which means Making UP blocks
and That's' cool also others can help BUT You have to do the coding right BUT that's TO turn mash ON


I Never quit unless the game is over,So don't think Quitter.think winner

Offline

 

Board footer