Discuss Scratch

Pechu317
Scratcher
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
Scratcher
1000+ posts

clearing pen in specific areas

And how would this work, exactly? You're being very vague.
Pechu317
Scratcher
100+ posts

clearing pen in specific areas

Bluebatstar wrote:

And how would this work, exactly? You're being very vague.
sorry, i accidentally hit enter before i was done typing. whoops

._.
Bluebatstar
Scratcher
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.
Pechu317
Scratcher
100+ posts

clearing pen in specific areas

Bluebatstar wrote:

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.
probably something like this:
clear pen from (starting x) (starting y) to (ending x) (ending y)::pen
if my scratchblocks dont work the first time i'm not surprised

Last edited by Pechu317 (Sept. 2, 2020 19:16:59)


._.
Bluebatstar
Scratcher
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)
Pechu317
Scratcher
100+ posts

clearing pen in specific areas

Bluebatstar wrote:

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)
okay. I just thought it would be nice.

._.
Bluebatstar
Scratcher
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
Scratcher
1000+ posts

clearing pen in specific areas

Support, this would be useful for pen platformers!

Pechu317
Scratcher
100+ posts

clearing pen in specific areas

Bluebatstar wrote:

Could you think of anything else?
not really.

._.
leahcimto
Scratcher
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
Scratcher
100+ posts

clearing pen in specific areas

leahcimto wrote:

Like this?
clear pen x () y () w () h () ::pen
ooh i like that. although it would need to be explained which direction the “height” and “width” inputs go.

._.
Yeetoburro1
Scratcher
1000+ posts

clearing pen in specific areas

Pechu317 wrote:

Bluebatstar wrote:

Could you think of anything else?
not really.

Yeetoburro1 wrote:

Support, this would be useful for pen platformers!

Wyan100
Scratcher
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
Scratcher
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
Scratcher
100+ posts

clearing pen in specific areas

Wyan100 wrote:

Actually I think that it would be a lot more practical if there was something like:

set pen to eraser :: pen
haha i'm quoting you even though ur signature says not to
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

._.

Powered by DjangoBB