Pages: 1
Topic closed
-Title-
since
wont do much.
Last edited by Hellbender (2009-01-07 21:57:33)
Offline
Can you be more specific? Like what stamp won't do?
Offline
Do you mean you want to duplicate a sprite?
You can't do that in scratch currently. You can use the <stamp>[/blocks] and [blocks]<clear>[/blocks] blocks to make something duplicate. I could make something for you if that's what you meant...
Last edited by hmnwilson (2009-01-07 23:33:56)
Offline
Sorta, I mean.
A script to duplicate the current sprite, then control it, change it name, make it go somewhere, like that.
Offline
Hellbender wrote:
Sorta, I mean.
A script to duplicate the current sprite, then control it, change it name, make it go somewhere, like that.
As hmnwilson says, there is no sprite duplication in Scratch. There are a couple of ways to simulate it. One is to create a pool of sprites that remain hidden until they are required. They may have different costumes so they can appear different ways as the project requires. An example of this is the rocks in this Asteroids remake...
http://scratch.mit.edu/projects/Paddle2See/180740
Another approach is to simulate multiple sprites by stamping and clearing very fast. Take a look at this project...
http://scratch.mit.edu/projects/Cyclone103/262337
If the "duplicates" don't need to move after they are placed, a simple stamping approach without clearing will work fine like the blocks in this project...
http://scratch.mit.edu/projects/kevin_karplus/12280
Hope that helps!
Offline
Here's something I made a long time ago that has 2 different images you can move with only 1 sprite.
http://scratch.mit.edu/projects/hmnwilson/141075
Offline
Topic closed
Pages: 1