home *** CD-ROM | disk | FTP | other *** search
/ AMOS PD CD / amospdcd.iso / 401-425 / apd405 / docs / graphics.doc < prev    next >
Text File  |  1991-06-13  |  2KB  |  75 lines

  1.      ****      *****     ******           ADVENTURE BANK CREATOR  
  2.     *    *     *   *     *             ======================
  3.     ******     ****      *            For AMOS Written On AMOS
  4.     *    *     *   *     *             ======================
  5.     *     *  *  *****  *  ******           By Chris Beeson
  6.  
  7.        It's As Easy As A.B.C.
  8.  
  9.             - GRAPHICS MANUAL -
  10.  
  11. Main Backdrops(IFF Picture)
  12. ---------------------------
  13.  
  14. The Editor can cope with most screen formats, the only restriction is 
  15. memory.  Every time you load a picture, the Editor will 'Double Buffer'
  16. the screen(It stops the bobs from flickering), this uses twice the amount
  17. of memory as your orignal screen.  So most people couldn't load a Hi-res
  18. screen.  I always use a Lo-res screen with 32 colours.
  19.  
  20. When drawing your screens use the file 'Graphicstemplate.Iff' as a 
  21. template (Only draw in the large area), also think about your sprites.
  22.  
  23. When I use backgrounds and sprites together I have a 32 lo-res screen.  I 
  24. use the first 9 colours for the sprites and all the others for the
  25. background.  This way I can change the colours for the sprites/bobs
  26. without changing the colours of the main screen.
  27.  
  28. Work out something like this before you start drawing, or you could end
  29. up with having colourful sprites and really wierd background colours!
  30.  
  31.  
  32. Bobs/Sprites
  33. ------------
  34.  
  35. When drawing your sprites make sure the format of the screen is the 
  36. same as the format of your background, otherwise you will get strange 
  37. results.
  38.  
  39. It is possible with versions 1.2+ to enter the mask (The colours to
  40. load from the sprite bank).  
  41.  
  42. If you don't know anything about masks etc. Read on:
  43.  
  44. When you load a sprite palette the mask is always :
  45.  
  46. %111111111111111111111111111111111  <- 32 1's if it's a 32 colour screen
  47.                                        If the screen had 16 you would only
  48.                                        need 16 1's.
  49.  
  50. 1 means ON         0 means OFF
  51.  
  52. So if it's a 1 then it will load that colour.
  53. if it's 0 it will ignore it.
  54.  
  55. E.g   I have a 8 colour screen, but I only want to load the first 3
  56.       colours.  Help!
  57.  
  58. It would be :
  59.  
  60. %11100000 
  61.  
  62. If you wanted the last 3 it would be :
  63.  
  64. %00000111
  65.  
  66. ALWAYS include the 0's
  67.  
  68. End
  69. Have Fun,
  70.  
  71.     CHRIS BEESON
  72.  
  73.  
  74.  
  75.