scratch supports variable for this sprite only...
when making a variable it should ask same or different for all
VARIABLE WHICH IS DIFFERENT FOR ALL
now if make a variable (say) Mass and check this option then
it assumes that it is different for all sprites
now i make another variable Acceleration = 50/Mass
[this { } indicate the thing which is written in sub script]
suppose now i select sprite Ball
<Set MASS {Ball} (50)>->duplicate sprite->ball 2 or say any other sprite house, TV,
<Set MASS {bla bla bla} (60)>now using it in both sprite or as many sprites
<change y by acceleration>acceleration will be different in both..
Offline