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

#1 2013-02-17 17:34:21

Interest
Scratcher
Registered: 2011-12-25
Posts: 43

Watchers

How are 'timer' and other watchers made such that there is only one, shared between all sprites and the stage? does anyone know where the code is?

Offline

 

#2 2013-02-17 18:54:44

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Watchers

Check out ScriptableScratchMorph class >> isSpriteSpecificTarget:selector:


nXIII

Offline

 

#3 2013-02-17 20:19:10

Interest
Scratcher
Registered: 2011-12-25
Posts: 43

Re: Watchers

thanks (again!)

Offline

 

Board footer