I'm making a game where you can paint on a cats face So I scripted it like so.
when Green Flag clicked
set pen color to (Black)
Set Pen size to (7)
When Gree flag clicked
Forever
if Touching sprite (cat face) And Mouse Down
Pen down
if Else
Pen up
And it wont write on the sprite! Or even work so I need some help.
Offline
Pen doesn't work on top of other sprites - it draws underneath them. If you make the cat the background then you can draw on top of it.
Offline
All pen and stamp tools are behind sprites because the sprites are in the foreground, and all painting is done in the background. You can't paint on a sprite.
Offline
Alternatively, stamp the sprite you want to paint on, set the the original sprite's ghost effect to 100, and use the pen to paint over that instead. You can still use the original sprite for touching detection
Last edited by S65 (2008-06-18 18:53:38)
Offline
Hm, that works!
Offline
Or, you could create a mask. That way you can only draw on the cat. I have uploaded a test:
http://scratch.mit.edu/projects/JSOlabs/192030
Offline