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

#1 2012-01-07 15:31:22

ninjoel
New Scratcher
Registered: 2012-01-02
Posts: 3

Sprite Arrays

There should be arrays of sprites so that you don't have to put (if touching sprite1 or sprite2 or sprite3...). Say there's a fish game and if the shark touches any of the fish, it shows him switching to a different costume. With an array, you can just put (if <touching array1>...). I think that would be very useful.
To add a sprite to an array, there should be a block that says [add to "array1"]

Offline

 

#2 2012-01-08 08:57:33

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Sprite Arrays

That would be great. 8)

Offline

 

#3 2012-01-09 12:53:04

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Sprite Arrays

That would be useful but I suppose were stuck with <touching[)> at the moment


Me live on 2.0 now  sad

Offline

 

#4 2012-01-11 17:18:27

TextBook
Scratcher
Registered: 2011-11-16
Posts: 22

Re: Sprite Arrays

ninjoel wrote:

There should be arrays of sprites so that you don't have to put (if touching sprite1 or sprite2 or sprite3...). Say there's a fish game and if the shark touches any of the fish, it shows him switching to a different costume. With an array, you can just put (if <touching array1>...). I think that would be very useful.
To add a sprite to an array, there should be a block that says [add to "array1"]

YES YES YES.
Like A Group of Sprites.
needed very much.

Offline

 

Board footer