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
Offline
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?
Offline
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!
Offline
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!
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.
Offline
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