home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / canada-remote-systems / c128 / graphutl / basicd40.seq < prev    next >
Text File  |  2019-04-13  |  5KB  |  74 lines

  1.  
  2. The Commodore 128 with it's enhanced BASIC has many useful commands and the
  3. graphic statements like CIRCLE, BOX and PAINT can be used to generate simple
  4. shapes. However, using these to any great extent without the aid of a drawing
  5. program can be quite a task. Let's say you wanted to make a little character
  6. for a title screen or game screen. You could draw the picture in an 'art'
  7. program, load the picture file into your program and then 'SSHAPE' it for    
  8. use on graphic screens. You could also take on the tedious task of try to 
  9. figure out what lines, boxes, angles and coordinates to use to make up your
  10. picture. But say you could simply draw the picture and the program did all
  11. the work of remembering which numbers, colors or whatever made up your            
  12. masterpiece. You'd simply add the resulting code into your program and have
  13. your picture right there with no disk loads. That's what BASIC DRAW does for
  14. you, make your work alot simpler. The program uses multi-color (GRAPHIC 3)
  15. mode to allow you to make some colorful little pictures. You simply plot a
  16. few points and connect them, paint in colors and your done.  
  17. Oops, what if you just colored your frog blue! The Oops option can come to
  18. the rescue. The commands the program uses are as follows:
  19.  
  20. (RETURN)  -  Toggle menu on/off
  21. (1)-(3)   -  Choose colors for sources 1-3
  22. (4)       -  Choose which color source to draw with
  23. (5)       -  Choose what you will do next, make a line, box, circle or
  24.              paint in an area you've already drawn.
  25. (S)       -  Toggle 4 options, SELECTION, END, RESET, OOPS
  26.           
  27. Let's discuss the (S) options first. You'll note when you enter the menu
  28. that SELECTION is highlighted. If it is not then one of the other options
  29. is chosen. If you do not want to use any of the other three options, you
  30. must toggle back to highlight SELECTION before exiting the menu.
  31.  
  32. END       -  Selection this option and pressing return will end the program
  33.              and erase what's in the 128 memory, all except for what you
  34.              have drawn. You simply type RUN and you'll see your work of
  35.              art draw right before your eyes. You can then type GRAPHIC0
  36.              and save this file to add to your program or as a picture
  37.              you can RUN.
  38.  
  39. RESET     -  This option will do the opposite of END. It erases everything
  40.              in memory that you've drawn and restore the program to it's
  41.              condition as if just loaded. You may then proceed to make a
  42.              new picture without any previous work getting in the way.
  43.  
  44. OOPS      -  Oops will erase the last thing you've done if it has not  
  45.              been added to memory yet. If a statement was added to memory
  46.              that caused a problem, you may edit the listing after   
  47.              executing the END option.                                
  48.  
  49. Options for setting color and pen are pretty much self-explanatory, however
  50. you press 1 and you'll see that color change. Keep hitting 1 until you
  51. see the color you want to use. The same applies to 2 and 3. 4 is the
  52. 'pen' you will use, color 1,2, or 3. 
  53.  
  54. Option 5 chooses which type of mode you will be in. When the menu is on for
  55. all options, drawing mode is inactive. Just press (RETURN) to go back to
  56. drawing mode. When making a line, move the pointer to point 1 and tap the
  57. fire button on joystick two. DO NOT HOLD DOWN THE BUTTON, a slight tap will
  58. do. Now move to the end of the line and tap the fire button once again. 
  59. You'll see a line in the color you chose drawn on the screen. To make a 
  60. square, move to where you want the top left corner, tap the button, then move
  61. to where you want the bottom right corner and tap again. For circles, you
  62. move to where the center of the circle will be, tap the button, then move
  63. up or down for the outer edge of the circle. (Note: moving left or right will
  64. result in just a dot being drawn). To paint an area, make sure the middle
  65. pixel (the hole in the pointer) is in an enclosed area and tap the button. 
  66.  
  67. Normally the border is DARK GREY. When the program is acting on an option like
  68. RESET or adding a line to memory, the border will turn BLUE and a beep will
  69. be heard. At this time the program is inactive. Simply wait for the border
  70. to return to DARK GREY and you may continue as usual.  
  71.  
  72. * END OF TEXT *
  73.  
  74.