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

#1 2008-11-14 18:45:02

Chains
Scratcher
Registered: 2008-11-05
Posts: 100+

drawing OVER a sprite

is it possible to draw over a sprite? i know you can draw over a background, but whenever i try drawing on a sprite, it kind of seeps through to the background, so it's hidden. please advise on this matter, as it is probably one of the most important things for my game


http://i243.photobucket.com/albums/ff67/hprules_photos/Untitled-2.gif
i-Pod Touch Scratched - click here to see the demo!

Offline

 

#2 2008-11-14 18:55:33

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: drawing OVER a sprite

Chains wrote:

is it possible to draw over a sprite? i know you can draw over a background, but whenever i try drawing on a sprite, it kind of seeps through to the background, so it's hidden. please advise on this matter, as it is probably one of the most important things for my game

No, you can not use the pen or stamp over a sprite.  What are you trying to do, maybe somebody can come up with a work-around?


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-11-14 18:59:13

Chains
Scratcher
Registered: 2008-11-05
Posts: 100+

Re: drawing OVER a sprite

why cant you? i think in the next version of scratch you should be able to, because it would be so much better.


http://i243.photobucket.com/albums/ff67/hprules_photos/Untitled-2.gif
i-Pod Touch Scratched - click here to see the demo!

Offline

 

#4 2008-11-15 16:08:00

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: drawing OVER a sprite

Chains wrote:

why cant you? i think in the next version of scratch you should be able to, because it would be so much better.

You are probably right; there should be a setting for that on Scratch. But if you're up for a challenge, there is a way you can work around it. If you have a stamped picture act like a sprite, Scratch will allow you to draw over it. With a certain amount of work you can make a "clone" do whatever you want with it. For more information, download my project Cloning Experiment and look at the comments next to the scripts (see the link below). I hope I could help! smile

Offline

 

#5 2008-11-15 16:10:49

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

Re: drawing OVER a sprite

there should be an option for it.but i wouldnt want that for all sprtes

Offline

 

#6 2008-11-16 18:55:58

Chains
Scratcher
Registered: 2008-11-05
Posts: 100+

Re: drawing OVER a sprite

shadow_7283 wrote:

Chains wrote:

why cant you? i think in the next version of scratch you should be able to, because it would be so much better.

You are probably right; there should be a setting for that on Scratch. But if you're up for a challenge, there is a way you can work around it. If you have a stamped picture act like a sprite, Scratch will allow you to draw over it. With a certain amount of work you can make a "clone" do whatever you want with it. For more information, download my project Cloning Experiment and look at the comments next to the scripts (see the link below). I hope I could help! smile

the thing is, the game is scrolling, but i also has drawing in a way, so if i stamped it, it wouldnt be able to scroll.


http://i243.photobucket.com/albums/ff67/hprules_photos/Untitled-2.gif
i-Pod Touch Scratched - click here to see the demo!

Offline

 

#7 2008-11-20 19:28:47

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: drawing OVER a sprite

Yes and No. It would take a while to do, but if the project only has a little bit of scrolling backgrounds, you could do a costume for each scene. Since you can stamp over a clone, all you would have to do would be have two costumes. One that is the real image of the clone, and one that matches the background of the clone. Here is an example:

<when[ right ]key pressed>
<switch to costume[ Hidden
<stamp>
<move( 2 )steps>
<switch to costume[ Shown
<stamp>

This is not the exact coding that you should use, but if you can somehow coordinate this with the rest of your scrolling objects, it might work.

Offline

 

Board footer