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

#1 2010-08-04 19:45:23

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

2 Sprites= 1 Sprite?

This probably isn't an advanced topic, but is there anyway to make 2 sprites into one? It's kind of a big deal  hmm  Or is there a way for the sprite to keep directly ontop of the character without too much movement?


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#2 2010-08-04 19:46:23

terminator68
Scratcher
Registered: 2008-02-26
Posts: 1000+

Re: 2 Sprites= 1 Sprite?

Yes, you can embed sprites onto another. It may be tricky though. Let me type up an explanation soon...

EDIT:
http://img508.imageshack.us/img508/7681/scripts.gif
You can do something like this for one sprite to be above another. Also, change the right end of the ADDITION block to how high you want it to go above the other sprite.

One is glad to be of service  big_smile !

Last edited by terminator68 (2010-08-04 19:52:21)


--------------------Scratcher since '08--------------------
http://images1.wikia.nocookie.net/__cb20110314152018/mlpfanart/images/5/5d/Applejack_chewing.gif

Offline

 

#3 2010-08-04 19:57:56

littletonkslover
Scratcher
Registered: 2008-12-12
Posts: 1000+

Re: 2 Sprites= 1 Sprite?

terminator68 wrote:

Yes, you can embed sprites onto another. It may be tricky though. Let me type up an explanation soon...

EDIT:
http://img508.imageshack.us/img508/7681/scripts.gif
You can do something like this for one sprite to be above another. Also, change the right end of the ADDITION block to how high you want it to go above the other sprite.

One is glad to be of service  big_smile !

Oh thanks, I'll try it :3

And can I still have the sprite above move up and down? No?


http://www.coxlab.org/images/rat_banner.jpg
That's the dark nature of capitalism. ~ Wonder Showzen

Offline

 

#4 2010-08-04 20:01:50

terminator68
Scratcher
Registered: 2008-02-26
Posts: 1000+

Re: 2 Sprites= 1 Sprite?

littletonkslover wrote:

terminator68 wrote:

Yes, you can embed sprites onto another. It may be tricky though. Let me type up an explanation soon...

EDIT:
http://img508.imageshack.us/img508/7681/scripts.gif
You can do something like this for one sprite to be above another. Also, change the right end of the ADDITION block to how high you want it to go above the other sprite.

One is glad to be of service  big_smile !

Oh thanks, I'll try it :3

And can I still have the sprite above move up and down? No?

Whoops, I did X position, not Y!

SCRIPT:
http://img697.imageshack.us/img697/5184/scriptsz.gif

Set y_change to whatever you want it to be. The higher it is, the higher the sprite  big_smile !

Again, one is glad to be of service :3.

Last edited by terminator68 (2010-08-04 20:05:06)


--------------------Scratcher since '08--------------------
http://images1.wikia.nocookie.net/__cb20110314152018/mlpfanart/images/5/5d/Applejack_chewing.gif

Offline

 

Board footer