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

#1 2010-11-10 13:43:55

0002321hss
New Scratcher
Registered: 2010-11-10
Posts: 1

Noobie looking for help

I am making a scratch game for a high school project. I am making a game consisting of various sprites. The game is sort of like playing pool with animals but without a turn structure. I want to make it so that whenever an animal is selected and a key is pressed, it will moves at a variable speed and stop whenever it touches another sprite. I have a very rudimentary understanding of variables, but is there any way for me to configure a variable that includes all sprites found in the game? This is what I have for a given sprite, but it does not stop when it touches another sprite. All help would be appreciated.

Offline

 

#2 2010-11-10 13:50:28

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Noobie looking for help

Okay, if the animals all have a black outline of their sprite, [blocks]
<when I receive[ Move ]
<repeat until><touching color[ black ]
<move( variable )steps>
<end>
[/blocks]
If you are still confused, ask more questions or post the project of what you have so far.

Offline

 

Board footer