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

#1 2007-08-15 09:41:41

Yelmo
Scratcher
Registered: 2007-07-15
Posts: 9

:( Draw over a sprite, not in the stage (at runtime)

Hi, I'm wondering how to draw something (of course I'm Using pen functions) but instead of drawing just over the stage I want to draw over a sprite. doing this will allow me to move the draw I made, my idea it's to make a stick man animation program, but, I only can draw over the stage.

I tried a multi page background, but when I change the background the drawing remains, it's doesn't change with the background.

any ideas.
Examples: I had tried many tips, but all fails  sad

Offline

 

#2 2007-08-15 23:00:10

toontownmiser
Scratcher
Registered: 2007-06-28
Posts: 18

Re: :( Draw over a sprite, not in the stage (at runtime)

Try stamping down the sprite you want to draw over using the (stamp) block before you draw using the pen function, but before you draw, hide the sprite so  try something like this:

in sprite to draw over
green flag clicked{
show
stamp
hide
broadcast "Draw"
}
in sprite that draws
when I recieve: "Draw"{
do whatever
}

But at the moment, however there is no way to dynamicly draw a pen function to a sprite.
something you can do however, is do this: draw to the stage, then right-click the stage (or option-click on a mac) and select "grab screen region for new sprite" (may sometimes be ..."new costume") then, you can move the sprite around as you wish.
Hope it helps,
Toontownmiser

Last edited by toontownmiser (2007-08-15 23:03:16)


Algebra I Lesson for Today:
(cat)+(dog)=(fish)
Given: c=1, a=1, t=2  d=1,o=1, g=2 and f=1, i=1, s=2, s=2
True or False?

Offline

 

Board footer