Discuss Scratch
- Discussion Forums
- » Suggestions
- » clearing pen in specific areas
- Pechu317
-
100+ posts
clearing pen in specific areas
i think it would be useful to have some way to clear pen in specific areas, because it is quite tedious to program a sprite to retrace where it has previously drawn pen, and DID program that, if you had a pen line that went over a switch in background colors, it would be even harder to sync the pen changing color with the background changing color.
Last edited by Pechu317 (Sept. 2, 2020 18:49:33)
._.
- Bluebatstar
-
1000+ posts
clearing pen in specific areas
And how would this work, exactly? You're being very vague.
- Pechu317
-
100+ posts
clearing pen in specific areas
sorry, i accidentally hit enter before i was done typing. whoops And how would this work, exactly? You're being very vague.
._.
- Bluebatstar
-
1000+ posts
clearing pen in specific areas
But pressing enter doesn't post it- it just goes to the next line.
Anyway, when I said it was a bit vauge, I meant how it would work, not why it was useful. I can see quite easily why the general idea would be useful, but how would it be executed? What would the new blocks be? That's what I really meant.
Anyway, when I said it was a bit vauge, I meant how it would work, not why it was useful. I can see quite easily why the general idea would be useful, but how would it be executed? What would the new blocks be? That's what I really meant.
- Pechu317
-
100+ posts
clearing pen in specific areas
But pressing enter doesn't post it- it just goes to the next line.probably something like this:
Anyway, when I said it was a bit vauge, I meant how it would work, not why it was useful. I can see quite easily why the general idea would be useful, but how would it be executed? What would the new blocks be? That's what I really meant.
clear pen from (starting x) (starting y) to (ending x) (ending y)::penif my scratchblocks dont work the first time i'm not surprised
Last edited by Pechu317 (Sept. 2, 2020 19:16:59)
._.
- Bluebatstar
-
1000+ posts
clearing pen in specific areas
That's still pretty ambiguous. Would it run from pen size? Will it be a line, or a square?
Even then, I don't think that's the best way of executing the idea no matter what the answer is. They just look really awkward to use.
(By the way, your scratchblocks is fine)
Even then, I don't think that's the best way of executing the idea no matter what the answer is. They just look really awkward to use.
(By the way, your scratchblocks is fine)
- Pechu317
-
100+ posts
clearing pen in specific areas
okay. I just thought it would be nice. That's still pretty ambiguous. Would it run from pen size? Will it be a line, or a square?
Even then, I don't think that's the best way of executing the idea no matter what the answer is. They just look really awkward to use.
(By the way, your scratchblocks is fine)
._.
- Bluebatstar
-
1000+ posts
clearing pen in specific areas
I still feel like the concept is good, just the exact execution I think could be improved on. Could you think of anything else?
- Yeetoburro1
-
1000+ posts
clearing pen in specific areas
Support, this would be useful for pen platformers!
![](https://cdn2.scratch.mit.edu/get_image/project/418266137_640x372.png)
- Pechu317
-
100+ posts
clearing pen in specific areas
not really. Could you think of anything else?
._.
- leahcimto
-
1000+ posts
clearing pen in specific areas
Like this?
clear pen x () y () w () h () ::pen
Last edited by leahcimto (Sept. 2, 2020 21:11:51)
- Pechu317
-
100+ posts
clearing pen in specific areas
ooh i like that. although it would need to be explained which direction the “height” and “width” inputs go. Like this?clear pen x () y () w () h () ::pen
._.
- Yeetoburro1
-
1000+ posts
clearing pen in specific areas
not really. Could you think of anything else?
Support, this would be useful for pen platformers!
![](https://cdn2.scratch.mit.edu/get_image/project/418266137_640x372.png)
- Wyan100
-
1000+ posts
clearing pen in specific areas
Actually I think that it would be a lot more practical if there was something like:
set pen to eraser :: pen
"But don't quote me on it!" - Wyan100, 2020
- D-ScratchNinja
-
1000+ posts
clearing pen in specific areas
Support. Right now you can only really precisely erase certain pen areas if you have a solid background in your project. If this was implemented, then you could clear pen areas effectively in any visual circumstance.
D-ScratchNinja • he/him
- The following is my signature, which always shows up below my posts. -
New! Filter through my projects with my website.
Need to fix an issue? Check out this studio for solutions to some common problems!
OS: Windows 11 / Browser: Microsoft Edge / Time zone: PST/PDT
- Pechu317
-
100+ posts
clearing pen in specific areas
Actually I think that it would be a lot more practical if there was something like:haha i'm quoting you even though ur signature says not toset pen to eraser :: pen
well then if you did that you would need to retrace the pen you would want to erase unless you set the size to something huge, and then instead of a rectangle you just have a giant eraser circle, which i don't believe is useful
._.
- Discussion Forums
- » Suggestions
-
» clearing pen in specific areas