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

#1 2009-09-26 10:09:47

scratch333
Scratcher
Registered: 2009-09-25
Posts: 3

How to stick two sprites with each other

Hello ,
is there a way to stick a sprite to the other and make them move and function as if they were one sprite , with keeping the charasteristics of each sprite , like making the object move to this sprite and that sprite and so ??

thanks

scratch333

Offline

 

#2 2009-09-26 10:14:37

WeirdF
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: How to stick two sprites with each other

Easy, on sprite 2, do this:
[blocks]<when green flag clicked>
<forever>
<go to[ sprite 1
<end>[/blocks]


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#3 2009-09-26 10:18:30

adriangl
Scratcher
Registered: 2007-07-02
Posts: 1000+

Re: How to stick two sprites with each other

WeirdF wrote:

Easy, on sprite 2, do this:
[blocks]<when green flag clicked>
<forever>
<go to[ sprite 1
<end>[/blocks]

This is not the best way because it could go to anywhere on the site. But this and a few others are all the scripts you can use. In Jens' Chirp you can nest sprites to each other, but that won't upload to this site. It will probably be in the next Scratch version.


Scratchin' since 2007

Offline

 

#4 2009-09-26 18:52:16

scratch333
Scratcher
Registered: 2009-09-25
Posts: 3

Re: How to stick two sprites with each other

adriangl , WierdF

I didn't explain the last words well , please forget about the " moving object toward the sprite"  .. it is part of my game code.

what I meant exactly is like making a character like GUNDAM animation for example  . while the sprite of GUNDAM does look  like as a single sprite. however , it is infact 4 or 5 sprites sticked together to form the GUNDAM character ... and move all togather as a single sprite

any clues   :\

thanks

scratch333


scratch333

Offline

 

Board footer