home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-3 / Tools / screen / backspace / old / Toasters.1.0.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  2.1 KB  |  48 lines

  1. Toasters
  2. One of the things I have always wanted for the amazing BackSpace app was a Toasters module, similar to the one available in After Dark no the Mac.  
  3.  
  4. This module is an attempt to recreate the Toasters module from After Dark. 
  5.  
  6. This module (and it's associated TIFFs) must be installed in the BackSpace.app directory, otherwise the bitmaps for the toasters won't be loaded at startup time.  The easiest way to accomplish this is to open a shell, cd to the toasters directory and type 
  7.  
  8. make install
  9.  
  10. This will put everything in the proper place.
  11.  
  12. The key to this module's operation is a List object containing all of the animation entries (objects of class FlyingImage).  These objects know how to move and animate themselves (flapping their wings).  Some of this code would make a decent framework for other modules that wish to do similar animation.
  13. In other words .....
  14.  
  15. Feel Free To Re-Use As Much Of This Code As You Want!
  16.  
  17. Comments + suggestions are welcome
  18.  
  19. Happy Toasters!
  20.  
  21. Bruce Henderson (Spud boy emeritus)
  22. bruce@pages.com
  23.  
  24. Of course you can NeXT mail here..............
  25.  
  26.  
  27. BUGS / HINTS:
  28.  
  29. I am really disappointed that I was forced to use a non-buffered window for performance reasons.  This is why you may notice a slight flicker.  I find it really annoying.  I have done everything I can to minimize it (by making the animation and erase as fast as possible) but it still remains.
  30.  
  31. I hope that eventually there will be some way to add a .nib file into the BackSpace modules, so that I can include controls for the number of toasters, amount of toast, etc.
  32.  
  33. The number of toasters is #def'd at the top of ToasterViewClass, changing this and re-compiling will change the number of toasters on the screen.
  34.  
  35. INSTALLING ON A MACHINE WITHOUT A DEVELOPMENT SYSTEM:
  36.  
  37. 1:    open the App wrapper for BackSpace.app in the WorkSpace Manager.  
  38.     (This is done by selecting it and typing command-O.  )
  39.     
  40. 2:    Drag the following files into the BackSpace.app directory
  41.     ToastersView.o
  42.     toaster1.tiff
  43.     toaster2.tiff
  44.     toaster3.tiff
  45.     toaster4.tiff
  46.     toast.tiff
  47.     
  48. 2:    Close up the directory and you are done!