Discuss Scratch
- Discussion Forums
- » Suggestions
- » A Local Clear Block for pen intensive projects!
- Prinseskat
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
Support! There could also be
clear [what I drew v]::penThis would work with clones, which could be very useful.
//or
clear pen drawn in [this sprite v]::pen
haha funny kumquat meme
- stickfiregames
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
Semi-support, it might be useful but it would require Scratch to track every sprite's pen layer separately, which might slow it down No support.
Last edited by stickfiregames (June 22, 2017 20:28:47)
- monstermash3
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
Indifferent. When would this be used?
(Swallowed by an evil kumquat who was just taking a walk in the neighborhood of evil kumquats when they saw a garage sale where they bought a plate which they used to eat but they discovered that it leaked and they went to get their money back but the sale was over so they went in the house but the door was locked so they got their key but it didn't fit so they went home to use the key on the right door which was their own door and then they decided to swallow a signature for no reason.)
- Aboot4
- Scratcher
100+ posts
A Local Clear Block for pen intensive projects!
I already said. “It'd be very useful for pen games and projects, such as platformers and loaders. ” It'd also be used even more for pen design projects. Indifferent. When would this be used?
when green flag clicked
forever :: sensing
Dream :: looks
Create :: control
Innovate :: pen
- monstermash3
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
Whoops! Didn't read that part. Still indifferent (I would need an example to be sure) but I would support editing the clear block more than making it a new block.I already said. “It'd be very useful for pen games and projects, such as platformers and loaders. ” It'd also be used even more for pen design projects. Indifferent. When would this be used?
(Swallowed by an evil kumquat who was just taking a walk in the neighborhood of evil kumquats when they saw a garage sale where they bought a plate which they used to eat but they discovered that it leaked and they went to get their money back but the sale was over so they went in the house but the door was locked so they got their key but it didn't fit so they went home to use the key on the right door which was their own door and then they decided to swallow a signature for no reason.)
- CatsUnited
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
Semi-support, could slow down pen projects, but ot would be cool to have.
bottom text
- BookOwl
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
SUPPORT!
And here is a suggestion for how to keep it from lagging to much: if only the clear all block is used, it would work like it does now, only using layers if a clear the pen of a certain sprite is used.
And here is a suggestion for how to keep it from lagging to much: if only the clear all block is used, it would work like it does now, only using layers if a clear the pen of a certain sprite is used.
Last edited by BookOwl (July 25, 2015 13:35:34)
who needs signatures
- Zro716
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
yeah, no I don't think this idea would work the way you think without serious changes to the editor and potential project-breaking problems. it is possible to have each sprite draw on its own “layer” (or really just another transparent canvas overlapping the stage) and print each layer before drawing the sprites, then there won't be a problem with tracking pen trails. however, that means the editor has to take up even more space with each sprite/clone (think of 300 clones with 480x360 bitmaps each, that's a whole lot of more space to take up as well as sluggish overlapping with the aforementioned process).
but if you favor the original idea of tracking pen strokes per sprite and clearing out those made by a certain sprite, then I'd have to give a stern “no support”. my reason for this is it would break many intense pen projects due to high memory consumption, accumulated by recording not only positional changes but every other change to ensure the same sequence of strokes occur, and this would lead to memory leaks and crashing. with the right coding techniques, pen recording isn't necessary and thus every problem presented here is avoided
but if you favor the original idea of tracking pen strokes per sprite and clearing out those made by a certain sprite, then I'd have to give a stern “no support”. my reason for this is it would break many intense pen projects due to high memory consumption, accumulated by recording not only positional changes but every other change to ensure the same sequence of strokes occur, and this would lead to memory leaks and crashing. with the right coding techniques, pen recording isn't necessary and thus every problem presented here is avoided
As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.
- Deerleg
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
Wait - is this a block for clearing pen drawn by separate sprites or a block for clearing pen on sprites? Because the latter isn't even possible to begin with.
And you can also “erase” by turning the pen whatever color the background is (provided the background color is solid) and then drawing it over whatever you want to clear. I can see how the block would be useful (like for multicolored backgrounds) but like @Zro716 said, it would be difficult to implement.
And you can also “erase” by turning the pen whatever color the background is (provided the background color is solid) and then drawing it over whatever you want to clear. I can see how the block would be useful (like for multicolored backgrounds) but like @Zro716 said, it would be difficult to implement.
- Aboot4
- Scratcher
100+ posts
A Local Clear Block for pen intensive projects!
Clearing pen drawn by separate sprites. If I have a script in Sprite1 that says ‘go to x:0, y:0, pen down, change x by 10’, then have a script in sprite2 that says ‘go to x:0, y:0, pen down, change x by -10, clear pen drawn in Sprite1’, what would happen is both sprites would draw with pen, but the pen that was drawn by Sprite1 would be cleared. Understand? Wait - is this a block for clearing pen drawn by separate sprites or a block for clearing pen on sprites? Because the latter isn't even possible to begin with.
And you can also “erase” by turning the pen whatever color the background is (provided the background color is solid) and then drawing it over whatever you want to clear. I can see how the block would be useful (like for multicolored backgrounds) but like @Zro716 said, it would be difficult to implement.
If it was the other option you asked about, I would have just suggested
(pen drawn by [Sprite1 v] touching [Sprite2 v]::pen)or
(pen drawn by [Sprite1 v] touching pen drawn [Sprite2 v]::pen)But that's not really what I'm asking for (Right now. ;D)
when green flag clicked
forever :: sensing
Dream :: looks
Create :: control
Innovate :: pen
- Meeperstein101
- Scratcher
77 posts
A Local Clear Block for pen intensive projects!
Sometimes, when I am coding, I feel angry that there is only a “Clear” button that clears all the stamps and pen. I wish there were blocks like this:
and
as well
and
(I don't know about the last one)
Comment your support/no support!
clear all pen made by this [Sprite 1 v]::pen
and
clear all stamps made by [Sprite 1 v]::pen
as well
clear all stamps::pen
clear all pen::pen
and
clear all pen colored [#ff0088]::pen
(I don't know about the last one)
Comment your support/no support!
- wayyyy
- Scratcher
500+ posts
A Local Clear Block for pen intensive projects!
I really only see this in a drawing program. Okay, this is going to get complicated.
I don't support the last one at all for it's easy to use a function to do the job, instead of a whole new block.
I also don't support separate “clear all pen..” and “clear all stamps…” And since I don't support that, I also don't “clear all stamps” and “clear all pen” block, just use the “clear all” block.
The only thing I do Support is the “clear all made by sprite 1” block since it's impossible to replicate in Scratch and has some interesting functions.
I don't support the last one at all for it's easy to use a function to do the job, instead of a whole new block.
I also don't support separate “clear all pen..” and “clear all stamps…” And since I don't support that, I also don't “clear all stamps” and “clear all pen” block, just use the “clear all” block.
The only thing I do Support is the “clear all made by sprite 1” block since it's impossible to replicate in Scratch and has some interesting functions.
Delete your Scratch Account
- MabonBaladevaKain
- Scratcher
100+ posts
A Local Clear Block for pen intensive projects!
I support.
This is would accomplish similar to what I was recently suggesting.
I've been searching around and happened upon this now and it accomplishes exactly the same thing.
Something like this is what I need.
Full support.
This is would accomplish similar to what I was recently suggesting.
I've been searching around and happened upon this now and it accomplishes exactly the same thing.
Something like this is what I need.
Full support.
- BlueCrayfish
- Scratcher
500+ posts
A Local Clear Block for pen intensive projects!
I support
Does this pique your interest:
A 26 year old accountant was framed for changing records, who, now a fugitive, flees, and tries to find the organization who actually coordinated the scam.
Would you be interested in joining:
A collab that is checked every day and managed well.
Then why don't you click the sunglasses guy?
- Blank1234
- Scratcher
500+ posts
A Local Clear Block for pen intensive projects!
support
Did you know that “kaj” means “and” in Esperanto?
Totally not for SEO:
https://scratch.mit.edu/projects/85467306/
https://scratch.mit.edu/projects/83099266/
https://scratch.mit.edu/projects/81628056/
https://scratch.mit.edu/projects/81562288/
https://scratch.mit.edu/projects/81462110/
https://scratch.mit.edu/projects/81436112/
https://scratch.mit.edu/projects/78896920/
https://scratch.mit.edu/projects/78863998/
https://scratch.mit.edu/projects/76577776/
https://scratch.mit.edu/projects/76459270/
https://scratch.mit.edu/projects/74797364/
https://scratch.mit.edu/projects/74085188/
https://scratch.mit.edu/projects/73150274/
https://scratch.mit.edu/projects/73112658/
https://scratch.mit.edu/projects/72484040/
https://scratch.mit.edu/projects/72737486/
https://scratch.mit.edu/projects/72410420/
https://scratch.mit.edu/projects/72378152/
https://scratch.mit.edu/projects/71910314/
https://scratch.mit.edu/projects/67826618/
https://scratch.mit.edu/projects/67882676/
https://scratch.mit.edu/projects/66909070/
https://scratch.mit.edu/projects/66925858/
https://scratch.mit.edu/projects/66420350/
https://scratch.mit.edu/projects/66062314/
https://scratch.mit.edu/projects/65564542/
https://scratch.mit.edu/projects/64828196/
https://scratch.mit.edu/projects/64286296/
https://scratch.mit.edu/projects/64283600/
https://scratch.mit.edu/projects/62386850/
https://scratch.mit.edu/projects/63907584/
https://scratch.mit.edu/projects/62785306/
https://scratch.mit.edu/projects/63767660/
https://scratch.mit.edu/projects/62676562/
https://scratch.mit.edu/projects/61948978/
https://scratch.mit.edu/projects/62521426/
https://scratch.mit.edu/projects/61074988/
https://scratch.mit.edu/projects/11658256/
https://scratch.mit.edu/projects/60640274/
- Awesomator8859
- Scratcher
41 posts
A Local Clear Block for pen intensive projects!
Truly support, this would really help.
╔══╗░░░░╔╦╗░░╔═════╗
║╚═╬════╬╣╠═╗║░▀░▀░║
╠═╗║╔╗╔╗║║║╩╣║╚═══╝║
╚══╩╝╚╝╚╩╩╩═╝╚═════╝
—-Hope for Peace one day—-
- Awesomator8859
- Scratcher
41 posts
A Local Clear Block for pen intensive projects!
This would be so useful. Definitely support this.
╔══╗░░░░╔╦╗░░╔═════╗
║╚═╬════╬╣╠═╗║░▀░▀░║
╠═╗║╔╗╔╗║║║╩╣║╚═══╝║
╚══╩╝╚╝╚╩╩╩═╝╚═════╝
—-Hope for Peace one day—-
- IronBit_Studios
- Scratcher
1000+ posts
A Local Clear Block for pen intensive projects!
Besides, duplicate.^^^ IT WOULD CREATE INTENSE LAG KEEPING TRACT OF ALL THE PEN ACTIONS OF A SPRITE, SO NO SUPPORT
Maybe a limit on sprites with pens then… 301? 500?
- Awesomator8859
- Scratcher
41 posts
A Local Clear Block for pen intensive projects!
This post seemed to be liked by many for Scratch 1.4, so I figured I'd copy the post! (It's mine)
The current “Clear” block in Scratch clears everything drawn by pen or stamped from any and every sprite that used it. This can be a problem for multiple sprites using the pen for separate purposes. For example, if a user wanted to display money and health with numbers using two separate sprites using a stamping method, one of the two sprites would become invisible due to both of the sprites using the “clear” block. There are workarounds to this if someone is using anywhere under 5 sprites using the “clear” block, but anything over that amount becomes a problem. I think it would be very convenient if Scratch had “clear” blocks that only cleared pen-drawings and stampings from the specific sprite that made the drawings or stampings. This doesn't mean I would suggest the “clear” block be eliminated altogether, just that the Scratch team adds a separate one with a different functionality. It could be called “Clear for (sprite name)” or something. Also, I think it would be a good idea if this was a block, that it could be used by non-specific sprites to clear other sprite's drawings/stamps. For example, lets say you're browsing the pen blocks under Sprite 2. You could see something like this:[quote]Clear all for {sprite 1 v}[/quote]
(^^^ Not sure how scratch blocks work with 2.0 forums .-.)
Does anyone see how this would be problematic? If you support, please comment!
Click here to see an example of a project that needs a local clear block to function as intended.
NOTES FOR THE ABOVE LINKED PROJECT:
It is imperative that you read the information in the side panes (notes, etc) to understand why the project is doing what it's doing and how it is doing so. Also, if you take a look at this project, and the scripts used, maybe you'll have a better understanding of why local clear blocks should be implemented!
IF YOU SUPPORT, PLEASE GO TO THIS LINK!
Click here to vote!
—————————————————
SUPPORTERS FROM SCRATCH 1.4
—————————————————
* Zparx (Me)
* jji7skyline
* chongyian
* dvd4
* Mokat
* OverPowered
* ErnieParke
* tally7
* KrIsMa
* joefarebrother
* northmeister
* CopperHawk
* jontmy00
* legobob23o
* Nomolos
————————————————————
SUPPORTERS FROM SCRATCH 2.0 BETA
————————————————————
* Zparx
* bullelk12
* dusty22
* SFollis
* cmot
* bobbybeetest
* lalala3
* Markyparky
* lunaluvgood
* Failord
* botcrusher
* LiquidMetal
I really want this to be real. Extremely useful.. Support!
╔══╗░░░░╔╦╗░░╔═════╗
║╚═╬════╬╣╠═╗║░▀░▀░║
╠═╗║╔╗╔╗║║║╩╣║╚═══╝║
╚══╩╝╚╝╚╩╩╩═╝╚═════╝
—-Hope for Peace one day—-
- Discussion Forums
- » Suggestions
- » A Local Clear Block for pen intensive projects!