For games that require a single sprite to interact with many other identical ones (like bullet scripts) using the and block is really annoying. I think there should be a new kind of data called groups and you should be able to put sprites in so you can just have
when gf clicked if <touching [enemygroup v]?> do stuffinstead of a large and
Offline
Sprite and variable grouping would be very cool, but I'm not sure if I'd use it too often It would definitely be useful though.
A list can be used as a group of variables in some cases BTW:
if <[list v] contains [thing]> do stuffEach item acts as a variable, and it checks all the items ^^
Last edited by Jonathanpb (2012-05-28 01:12:26)
Offline
Jonathanpb wrote:
Sprite and variable grouping would be very cool, but I'm not sure if I'd use it too often It would definitely be useful though.
A list can be used as a group of variables in some cases BTW:if <[list v] contains [thing]> do stuffEach item acts as a variable, and it checks all the items ^^
But scratch doesn't allow
<touching <item (any v) of [objects v]>?>
Offline