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
1. It depends on how you want to use the variable - I would recommend "for all sprites" though, just to be sure.
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.
Offline