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

#1 2008-10-13 16:06:25

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Sprite "groups" and "sub-groups"

It would be really great if there were sprite groups. These would be little "folders" of sprites. In the sprite pane, you would be able to create these and open and close these folders. Additionally, you could take from one folder and add to another and even create new folders inside folders. There could be blocks like
<touching [item in (group name) ] >
<touching [item in (group name1 > groupname2) ] >
etc.
If you dragged a script into a folder, it would go into every sprite inside this group.
This would be useful to reduce scripting.

Offline

 

#2 2008-10-13 16:25:24

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Sprite "groups" and "sub-groups"

Sprite groups would be good but I would personally prefer it if you could target sprites by what their name starts with.

like this
<touching[ sprites beginning with "enemy"]>

That way all sprites with enemy at the start would be targeted.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2008-10-13 17:12:36

dsdude10
Scratcher
Registered: 2007-09-22
Posts: 500+

Re: Sprite "groups" and "sub-groups"

This would be a good idea, it would be helpful in a lot of projects

Offline

 

#4 2008-10-14 10:33:51

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Sprite "groups" and "sub-groups"

I suggested this in January:

http://scratch.mit.edu/forums/viewtopic.php?pid=15869#p15869

So I am completely behind this idea!


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#5 2008-10-16 06:37:40

daddybear
Scratcher
Registered: 2008-10-16
Posts: 1

Re: Sprite "groups" and "sub-groups"

Agree;  I'm trying to have a number of sprites all change if something affects one of them, so being able to have [if touching . ALL SPRITES] and not just sprite1  would  be very helpful.

Offline

 

Board footer