Discuss Scratch

groovythemes2
Scratcher
11 posts

Eraser Script | Painting

Hey! I am in school (so this is my second account) and I have been working on updating my paint program. One of my updates is to make an eraser to erase things you want to, not to clear the whole board. So if someone can help me out with the script for that, that would be great! Thank you

-Project I am working on: Paint Program

My other account has the original project, but the one on this account is getting fixed and so will the original

The original project (the bad one xD)

-The only difference between the two projects is that one has a better layout, and the other has the option of changing brush size.-

Last edited by groovythemes2 (Nov. 24, 2015 14:15:03)

baconlover5555
Scratcher
100+ posts

Eraser Script | Painting

erase by turning pen color to background color?
groovythemes2
Scratcher
11 posts

Eraser Script | Painting

baconlover5555 wrote:

erase by turning pen color to background color?

Actually I already did that, but there is a lot of glitches that follow. Its one of those things where you have to have a combination for everything. It would be wayyy to much script. But thank you for the idea
baconlover5555
Scratcher
100+ posts

Eraser Script | Painting

groovythemes2 wrote:

baconlover5555 wrote:

erase by turning pen color to background color?

Actually I already did that, but there is a lot of glitches that follow. Its one of those things where you have to have a combination for everything. It would be wayyy to much script. But thank you for the idea
what kind of glitches
BetterHi1
Scratcher
70 posts

Eraser Script | Painting

To clear the whole white board it would be:
clear
To have an eraser it would be:
setpencolorto

^ Hope this helps!
groovythemes2
Scratcher
11 posts

Eraser Script | Painting

BetterHi1 wrote:

To clear the whole white board it would be:
clear
To have an eraser it would be:
setpencolorto

^ Hope this helps!

Thank you for the suggestion, I have considered it. However there are options to change the background on my project. And white doesn't quite work out lol. But thank you for trying! ^.^
groovythemes2
Scratcher
11 posts

Eraser Script | Painting

baconlover5555 wrote:

groovythemes2 wrote:

baconlover5555 wrote:

erase by turning pen color to background color?

Actually I already did that, but there is a lot of glitches that follow. Its one of those things where you have to have a combination for everything. It would be wayyy to much script. But thank you for the idea
what kind of glitches

When I do that it erases. But then when I change the background to pink (lets say I erased on black backdrop) then my eraser marks show up on the pink.

Powered by DjangoBB