Discuss Scratch
- anythingispossible
-
100+ posts
Erase Block For the Pen Tool
How about if there was another block in the Pen section:
Erase could allow it to erase pen that it is touching. I know we have the clear block, but the clear block erases ALL of the pen… so yeah. I think that an erase block would be helpful for painting games that have different backdrops.
erase
Erase could allow it to erase pen that it is touching. I know we have the clear block, but the clear block erases ALL of the pen… so yeah. I think that an erase block would be helpful for painting games that have different backdrops.

Last edited by anythingispossible (Sept. 19, 2014 16:10:01)
- stickfiregames
-
1000+ posts
Erase Block For the Pen Tool
set pen to erase :: penIt would let you draw lines with the eraser. It would be switched back to pen by setting the pen colour.
- MegaApuTurkUltra
-
1000+ posts
Erase Block For the Pen Tool
Support. Maybe something like
set pen mode to [draw v]::pen
set pen mode to [erase v]::pen
- CatsUnited
-
1000+ posts
Erase Block For the Pen Tool
Please don't necropost. set pen colour to white
- OmnipotentPotato
-
1000+ posts
Erase Block For the Pen Tool
Support. Maybe something likeset pen mode to [draw v]::pen
set pen mode to [erase v]::pen
- ScholarSTEM
-
1 post
Erase Block For the Pen Tool
I'm working on game right now where using a pen to erase would be great!
Basically I want a cloud to leave behind “pollution” (via the stamp function). After this happens, the player (a tree) must walk over all of the stamped areas and “erase” the pollution using it's stored energy + photosynthesis
Obviously I could not do this using pen functionality, but I wanted to post a work-around solution that I came up with:
Instead of stamping, I create a clone on each step of the cloud. When the clone of the cloud is created, I simply use the “wait until” command to wait for both the tree to be touching the clone, and the space key to be pressed. After those conditions are met, I delete the clone. Voila, erasing!
You can use this concept to create pen-like functionality with erasing in a number of ways. For example, you could do a similar cloning script that also switches the costume of the clone to a costume that is simply a single brush stroke. Then you can change the shade/size of the clone using scripts in the “Looks” tab which would mimic pen behavior almost exactly. The ability to delete the clones would be your “pen eraser.”
Hope this makes sense/helps out other Scratchers! I hopefully will be sharing the game today so you can find it on my profile if you're curious to see this thing in action! Let me know if you've got any questions.
Basically I want a cloud to leave behind “pollution” (via the stamp function). After this happens, the player (a tree) must walk over all of the stamped areas and “erase” the pollution using it's stored energy + photosynthesis
Obviously I could not do this using pen functionality, but I wanted to post a work-around solution that I came up with:
Instead of stamping, I create a clone on each step of the cloud. When the clone of the cloud is created, I simply use the “wait until” command to wait for both the tree to be touching the clone, and the space key to be pressed. After those conditions are met, I delete the clone. Voila, erasing!
You can use this concept to create pen-like functionality with erasing in a number of ways. For example, you could do a similar cloning script that also switches the costume of the clone to a costume that is simply a single brush stroke. Then you can change the shade/size of the clone using scripts in the “Looks” tab which would mimic pen behavior almost exactly. The ability to delete the clones would be your “pen eraser.”
Hope this makes sense/helps out other Scratchers! I hopefully will be sharing the game today so you can find it on my profile if you're curious to see this thing in action! Let me know if you've got any questions.
- rollercoasterfan
-
1000+ posts
Erase Block For the Pen Tool
Yeah, but that has problems, and doesn't really work the same….. I'm working on game right now where using a pen to erase would be great!
Basically I want a cloud to leave behind “pollution” (via the stamp function). After this happens, the player (a tree) must walk over all of the stamped areas and “erase” the pollution using it's stored energy + photosynthesis
Obviously I could not do this using pen functionality, but I wanted to post a work-around solution that I came up with:
Instead of stamping, I create a clone on each step of the cloud. When the clone of the cloud is created, I simply use the “wait until” command to wait for both the tree to be touching the clone, and the space key to be pressed. After those conditions are met, I delete the clone. Voila, erasing!
You can use this concept to create pen-like functionality with erasing in a number of ways. For example, you could do a similar cloning script that also switches the costume of the clone to a costume that is simply a single brush stroke. Then you can change the shade/size of the clone using scripts in the “Looks” tab which would mimic pen behavior almost exactly. The ability to delete the clones would be your “pen eraser.”
Hope this makes sense/helps out other Scratchers! I hopefully will be sharing the game today so you can find it on my profile if you're curious to see this thing in action! Let me know if you've got any questions.
Support for this:
Support. Maybe something likeset pen mode to [draw v]::pen
set pen mode to [erase v]::pen
- Cream_E_Cookie
-
1000+ posts
Erase Block For the Pen Tool
Support. Maybe something likeset pen mode to [draw v]::pen
set pen mode to [erase v]::pen
- Gschugz
-
48 posts
Erase Block For the Pen Tool
I think they should also have it so you can erase one color of pen too!
- DaSpudLord
-
1000+ posts
Erase Block For the Pen Tool
Support. Maybe something likeset pen mode to [draw v]::pen
set pen mode to [erase v]::pen