home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / multi / singing / shared.dxr / 01963_BITMAPS.ls < prev    next >
Encoding:
Text File  |  1996-06-12  |  677 b   |  32 lines

  1. on MatteInk
  2.   return 8
  3. end
  4.  
  5. on InitBitMap theSprite
  6.   puppetSprite(theSprite, 1)
  7.   set the stretch of sprite theSprite to 0
  8.   set the type of sprite theSprite to 1
  9.   set the ink of sprite theSprite to MatteInk()
  10.   set the foreColor of sprite theSprite to 255
  11.   set the backColor of sprite theSprite to 0
  12. end
  13.  
  14. on KillBitMap theSprite
  15.   set the type of sprite theSprite to 0
  16. end
  17.  
  18. on InstallBitMap theSprite, theCast, theH, theV, theInk
  19.   InitBitMap(theSprite, theInk)
  20.   set the castNum of sprite theSprite to the number of cast theCast
  21.   set the locH of sprite theSprite to theH
  22.   set the locV of sprite theSprite to theV
  23. end
  24.  
  25. on bitmap
  26.   return 1
  27. end
  28.  
  29. on copyInk
  30.   return 0
  31. end
  32.