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

#1 2009-10-10 09:53:14

Cristazio
Scratcher
Registered: 2007-10-30
Posts: 26

Hi, how can i stamp a sprite on other sprite?

Hi everyone, i'm try to make an animation program with scratch, and i need to stamp some sprites on other sprites, how o can do this(i tried, but the stamp come under the other sprite)?
<when I receive[ cat
<forever>
<go to[ mouse pointer
<show>
<if><mouse down?>
<stamp>
<end>
<end>
this is the code i use to stamp, but it doesn't work for stamp a sprite on another sprite

Offline

 

#2 2009-10-10 12:27:17

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Hi, how can i stamp a sprite on other sprite?

Sorry, but this is not possible.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#3 2009-10-10 13:13:19

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Re: Hi, how can i stamp a sprite on other sprite?

Stamping only works on the stage, although stamping on sprites has been suggested.


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#4 2009-10-10 21:52:14

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Hi, how can i stamp a sprite on other sprite?

Can you fake it by making an extra costume with the stamp on it and changing to it when needed?


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#5 2009-10-17 08:41:54

Cristazio
Scratcher
Registered: 2007-10-30
Posts: 26

Re: Hi, how can i stamp a sprite on other sprite?

Locomule wrote:

Can you fake it by making an extra costume with the stamp on it and changing to it when needed?

i don't think so...

Offline

 

#6 2009-10-17 09:06:35

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Hi, how can i stamp a sprite on other sprite?

How about this:

Code:

Variables:
X1 - Change to move the 1st sprite.
Y1 - Change to move the 1st sprite.
X2 - Change to move the 2nd sprite.
Y2 - Change to move the 2nd sprite.
[When flag clicked]
[hide]
[forever]
[][clear]
[][go to x: (X1) y: (Y1)]
[][switch to costume [costume1]]
[][stamp]
[][go to x: (X2) y: (Y2)]
[][switch to costume [costume2]]
[][stamp]
[_______]

Offline

 

Board footer