This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-10-15 04:02:16

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

A "Clear" Block For Specific Sprites Only

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:

Clear all for [sprite 1 v]
Does anyone see how this would be problematic? If you support, please comment!

IF YOU SUPPORT, PLEASE GO TO THIS LINK!
Click here to vote!

-----------------
SUPPORTERS
-----------------


* Zparx (Me)
* jji7skyline
* chongyian
* dvd4
* Mokat
* OverPowered
* ErnieParke
* tally7
* KrIsMa
* joefarebrother
* northmeister
* CopperHawk
* jontmy00
* legobob23o
* Nomolos

Last edited by Zparx (2012-11-01 15:49:32)


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#2 2012-10-15 04:14:22

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

It would be immensely hard to implement, while not having a lot of uses for projects, and teaching new scratchers that they can ask the Scratch Team to do immensely hard programming for them. So, don't support.

Offline

 

#3 2012-10-15 05:40:44

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

TorbyFork234 wrote:

It would be immensely hard to implement, while not having a lot of uses for projects, and teaching new scratchers that they can ask the Scratch Team to do immensely hard programming for them. So, don't support.

not that hard, I could program that in one hour (store different paths for each sprite etc.)
but will definitely slow down projects, so no

Offline

 

#4 2012-10-15 06:17:00

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

I support. I've had this problem many times, especially when making big, complicated games.


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#5 2012-10-15 06:27:20

chongyian
Scratcher
Registered: 2012-05-08
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

support!

Offline

 

#6 2012-10-15 12:37:30

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

+1


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#7 2012-10-15 17:10:45

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

Thanks for the feedback, guys! I'm not really understanding the points of those of you who are saying it would be hard to program... I've had experience with coding java, and something like that actually seems extremely simple. I'll add the supporters names to a list!


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#8 2012-10-15 17:29:33

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

Support!


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#9 2012-10-15 18:03:29

OverPowered
Scratcher
Registered: 2012-07-27
Posts: 100+

Re: A "Clear" Block For Specific Sprites Only

Support.


Newest project: Tunnel TEST ~http://blocks.scratchr.org/API.php?user=OverPowered&action=onlineStatus~ On my mind: Unicameralism

Offline

 

#10 2012-10-15 18:04:02

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

Zparx wrote:

Thanks for the feedback, guys! I'm not really understanding the points of those of you who are saying it would be hard to program... I've had experience with coding java, and something like that actually seems extremely simple. I'll add the supporters names to a list!

Scratch 2.0 will be in Flash, not Java. Anyway, I semi-support.


http://i46.tinypic.com/35ismmc.png

Offline

 

#11 2012-10-15 19:07:07

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

Support list updated!


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#12 2012-10-15 19:51:28

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

UPDATE: Added voting for the topic!


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#13 2012-10-15 22:17:44

tally7
New Scratcher
Registered: 2012-10-15
Posts: 20

Re: A "Clear" Block For Specific Sprites Only

That would be nice. I can't vote though.

Offline

 

#14 2012-10-16 16:13:07

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

bump


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#15 2012-10-16 19:30:38

fillergames
Scratcher
Registered: 2012-10-15
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

Somewhat, its a cool idea but,  it may make lag in projects, i dislike lag.


http://i50.tinypic.com/2ufvxc5_th.gif Grammer? Whats grammar?

Offline

 

#16 2012-10-16 20:52:59

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

This is a good idea for pen projects, and I am making one now! 9.10 support.


http://blocks.scratchr.org/API.php?user=KrIsMa&action=onlineStatus&online=http://i49.tinypic.com/2pzic0m.png&offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#17 2012-10-17 10:42:01

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

TorbyFork234 wrote:

It would be immensely hard to implement, while not having a lot of uses for projects, and teaching new scratchers that they can ask the Scratch Team to do immensely hard programming for them. So, don't support.

You just store a different pen layer for each sprite. It's not that hard.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#18 2012-10-17 11:16:33

northmeister
Scratcher
Registered: 2011-07-12
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

Support.

In a game I'm making, a laser is stamped down by a red dot until it reaches a certain colour, then it clears. I tried implementing 2 lasers, but when the first one clears part of the laser on the second one clears too, which wouldn't happen if this was instigated.


http://i48.tinypic.com/5a25g5.png

Offline

 

#19 2012-10-17 16:33:32

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

northmeister wrote:

Support.

In a game I'm making, a laser is stamped down by a red dot until it reaches a certain colour, then it clears. I tried implementing 2 lasers, but when the first one clears part of the laser on the second one clears too, which wouldn't happen if this was instigated.

This is sort of the problem I'm having! I'm trying to display health and magic bars, but one or the other will disappear. and I can't not have them use the clear block. They need to clear so that they constantly display accurate stats!


Thanks to all of you for your support!  big_smile


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#20 2012-10-18 00:37:40

CopperHawk
Scratcher
Registered: 2011-09-23
Posts: 100+

Re: A "Clear" Block For Specific Sprites Only

I support this idea!  smile
I think it would be incredibly helpful for some projects.
( I'm actually thinking MineCraft.  wink  )


Copper Games is...  "ridiculously amazing!" -Nomolos    "Way too fun!"-Liamadams "awesome!" -Wes64       "Amazing!  big_smile " -JJROCKER

Offline

 

#21 2012-10-18 04:59:46

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

I support. It would be extremely convenient to the project I am creating right now.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#22 2012-10-18 17:24:18

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

Thanks for the support guys!


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#23 2012-10-18 18:07:37

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: A "Clear" Block For Specific Sprites Only

Hmm, this is a cool idea! But I'm not sure how easy it would be to implement. If all of the pen marks are just "drawn onto" the stage, then it might not be possible to remove all of the pen strokes and stamps from any individual sprite. However since Scratch 2.0 will be in flash, it might be easier. I definitely think this would be a cool feature to have - although I just don't want it to create lag in order to use it. I wonder what the ST thinks about this idea.  smile


http://i.imgur.com/WBkM2QQ.png

Offline

 

#24 2012-10-18 20:45:59

Zparx
Scratcher
Registered: 2011-03-23
Posts: 500+

Re: A "Clear" Block For Specific Sprites Only

Lucario621 wrote:

Hmm, this is a cool idea! But I'm not sure how easy it would be to implement. If all of the pen marks are just "drawn onto" the stage, then it might not be possible to remove all of the pen strokes and stamps from any individual sprite. However since Scratch 2.0 will be in flash, it might be easier. I definitely think this would be a cool feature to have - although I just don't want it to create lag in order to use it. I wonder what the ST thinks about this idea.  smile

I would hope they would give me feedback on it! Especially the ones who do the coding. I just want to know if it would be a hassle to implement. If the put this in the next Scratch version I would make some amazing projects (:

Also, does this mean you support the idea? If so, I'll add your name to the list of supporters!  tongue


http://images3.wikia.nocookie.net/__cb20101119183412/halo/images/4/43/Hero2.png
^ My rank on Halo: Reach :3

Offline

 

#25 2012-10-18 21:50:53

Walkthrough101
New Scratcher
Registered: 2012-10-17
Posts: 11

Re: A "Clear" Block For Specific Sprites Only

Well,how about clearing all, then re-creating what you want still there? Will that work,let me know. Thanks!!!

Offline

 

Board footer