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

#1 2008-05-24 17:43:07

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

I Have A Question

how can I make a sprite copy itself? like in a script? like maybe this:

[blocks]
<when green flag clicked>
<forever>
<if><touching[ bullet
<copy sprite>


this would be so helpful!!!!!!! please tell me how if it isn't possible please make it possibe assap!!!

Last edited by midnightleopard (2008-05-24 17:45:05)


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#2 2008-05-24 18:01:14

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: I Have A Question

you mean like stamp it? If so, just use stamp in pen.

Offline

 

#3 2008-05-24 20:42:13

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: I Have A Question

Scratch doesn't support sprite duplication.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2008-05-25 06:05:36

redsooty9
Scratcher
Registered: 2008-03-06
Posts: 69

Re: I Have A Question

Well, You could use stamp if you just want the sprite to not move but you coud also make a moving sprite by copying the same sprite and then tell ifwhen to show up.


Redsooty9

Offline

 

#5 2008-05-25 06:07:37

redsooty9
Scratcher
Registered: 2008-03-06
Posts: 69

Re: I Have A Question

catcha later alligator!  big_smile   tongue


Redsooty9

Offline

 

#6 2008-05-25 06:41:06

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: I Have A Question

coolstuff wrote:

you mean like stamp it? If so, just use stamp in pen.

no, not like that, stamps don't move.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#7 2008-05-25 09:12:30

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: I Have A Question

midnightleopard wrote:

coolstuff wrote:

you mean like stamp it? If so, just use stamp in pen.

no, not like that, stamps don't move.

Well then, I don't believe it's possible unless you duplicate the sprite and tell it when to hide/show. That's one of the things I hate about scratch: You can't use a sprite twice.

Offline

 

#8 2008-05-25 11:17:50

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: I Have A Question

You would have to make multiple copies of the sprite manually.  Or use stamp/delete to simulate a moving sprite, as Jens has done in one of his demos.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#9 2008-07-01 18:12:51

Lisie123
Scratcher
Registered: 2008-06-02
Posts: 1

Re: I Have A Question

how do i put songs on my scratch projects?

Offline

 

Board footer