home *** CD-ROM | disk | FTP | other *** search
/ PC Master 1997 July & August / PCM97.iso / demos.dxr / 00018.ls < prev    next >
Encoding:
Text File  |  1998-06-23  |  389 b   |  19 lines

  1. on exitFrame
  2.   go(the frame)
  3. end
  4.  
  5. on idle
  6.   global nm
  7.   set X to rol(30, 45)
  8.   if X > 0 then
  9.     set tx to getAt(nm, X - 29)
  10.     set the text of member "nam" to tx
  11.     puppetSprite(100, 1)
  12.     set the locH of sprite 100 to the locH of sprite X - 30
  13.     set the locV of sprite 100 to the locV of sprite X - 40
  14.     updateStage()
  15.   else
  16.     set the text of member "nam" to EMPTY
  17.   end if
  18. end
  19.