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

#1 2010-10-30 00:24:54

shera
New Scratcher
Registered: 2010-10-29
Posts: 16

2 questions?

Im making a game were you you catch failing items.

1.  When making the life or score variable do I do it for "only this sprite" or "for all sprites"?
2.  do i put the script for the life and score on the falling items for the sprite that is meant to catch it?

Offline

 

#2 2010-10-30 01:23:12

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: 2 questions?

1. It depends on how you want to use the variable - I would recommend "for all sprites" though, just to be sure.  smile
2. You can place it anywhere you like... but if I were you I'd make each item send a broadcast to one script, which would probably work nicely on the catching sprite.

But this is all a matter of opinion - you don't have to follow my advice.  wink


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

Board footer