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

#1 2009-06-03 06:00:31

dz0
Scratcher
Registered: 2008-12-02
Posts: 17

sprite as variable (all sprites as list)

Hello,

I am remaking Scratch example "7 Pastor" -- quiz about Wolf, Sheep and Cabbage

it would save  code repetition and screen space
if I could have abstract sprite (variable for any sprite),
where I could describe the logic for moving sprite to other side of river (as this logic is same for all 3 mentioned sprites).

then I could just give the sprite name (or index) to indicate the sprite

Offline

 

Board footer