home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / storybok.sit / Storybook / card_2966.txt < prev    next >
Text File  |  1990-07-24  |  8KB  |  153 lines

  1. -- card: 2966 from stack: in
  2. -- bmap block id: 3832
  3. -- flags: 0000
  4. -- background id: 2710
  5. -- name: end
  6.  
  7.  
  8. -- part 10 (field)
  9. -- low flags: 01
  10. -- high flags: 0007
  11. -- rect: left=14 top=35 right=294 bottom=322
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part 12 (field)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=355 top=261 right=294 bottom=475
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 3
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: 
  34.  
  35.  
  36. -- part 13 (button)
  37. -- low flags: 00
  38. -- high flags: 0000
  39. -- rect: left=350 top=256 right=298 bottom=478
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: New Button
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   play "harpsichord" tempo 700 g4 a4 b4 c5 d5 c5 b4 a4 g4w
  51.   visual effect venetian blinds to black
  52.   visual effect venetian blinds
  53.   go card "beginning"
  54. end mouseUp
  55.  
  56.  
  57.  
  58. -- part 14 (button)
  59. -- low flags: 00
  60. -- high flags: 0000
  61. -- rect: left=325 top=27 right=252 bottom=500
  62. -- title width / last selected line: 0
  63. -- icon id / first selected line: 0 / 0
  64. -- text alignment: 1
  65. -- font id: 0
  66. -- text size: 12
  67. -- style flags: 0
  68. -- line height: 16
  69. -- part name: New Button
  70. ----- HyperTalk script -----
  71. on mouseUp
  72.   play "boing"
  73. end mouseUp
  74.  
  75.  
  76.  
  77. -- part contents for background part 45
  78. ----- text -----
  79. (Press command-tab if you lose the Tools.)
  80.  
  81. -- part contents for card part 10
  82. ----- text -----
  83. Good job!  Here's how to get started with your own story.
  84.  
  85. First, make a copy of this stack with a new name, so you don't lose the original.  Storybook starts with 2 pages, named             "beginning" and "end".  Right now you're reading page "end".  At the bottom of each page is a row of developer buttons which you use to create your story.  When you're done you can hide these buttons as discussed below.
  86.  
  87.                              TOOLS
  88.  
  89. You may press the "Show Tools" button to see the tool window.  The drawing at the right shows what it looks like.  To choose a tool, simply click on it.  (Don't click on the drawing!  Click on the REAL tool window.)  You should remove my illustrations from the  "beginning" and "end" pages by using the eraser tool.  (Or you may leave the "end" page intact so you can refer to these instructions while working on your new story.)  Remove my buttons (except for the ones at the bottom of the screen) by choosing the button tool, clicking on the button, and pressing the BACKSPACE key on the keyboard.  Likewise, remove my text fields using the field tool.
  90.  
  91. You can move the tool window by dragging it by the bar at the top.  You will need the browse tool (the finger) to be able to press buttons again.  If you accidentally close the tool window while using a different tool (by pressing the tiny box at the top of the window), you can get the browse tool back by pressing COMMAND-TAB.  That is, press the COMMAND and TAB keys at the same time.  The COMMAND key is illustrated at right.
  92.  
  93.                    ADDING PAGES
  94.  
  95. Start your story on the page named                 "beginning".  You can add as many pages as you want by pressing the "Add Page" button, and you don't need to end on the "end" page.
  96.  
  97.                  ADDING BUTTONS
  98.  
  99. Buttons are used to connect one page of your story to another page, or to produce sound effects.  When you add a button (using the       "Add Button" button) you may specify the page this button  "links to".  You can also specify the sound effect when your new button is pressed as well as the visual effect if you like.  The new button appears in the center of the page.  You can use the button tool to move and resize the button on your page.  (Drag a corner of the button to resize it.)
  100.  
  101.                    ADDING FIELDS
  102.  
  103. Fields are used for typing text in such a way that changes can be made later on.  After creating a new field with the "Add Field" button, you move and resize it in the same way as for buttons, but using the field tool.  Remember you must return to the browse tool to actually type into the field.
  104.  
  105. To optionally change the field's characteristics (like this scrolling field), double-click on the field using the field tool.  It is useful to do this so you can "lock" a field once you've typed something in it, or to make a field "opaque" to improve readability.
  106.  
  107.                         GO TO PAGE
  108.  
  109. At any point, you can go to another page in your story by pressing the "Go To Page" button.
  110.  
  111.                            DRAWING
  112.  
  113. The HyperCard tool window includes a pencil, eraser, and several other useful drawing tools which you should experiment with.  The HyperCard menu bar contains several useful options for persons more familiar with HyperCard and painting applications.  Using the menu bar is discussed below.
  114.  
  115. Some useful keyboard commands when drawing (which are also available from the menu bar) are:  BACKSPACE to delete the last item drawn, COMMAND-Z to "undo" the last change, COMMAND-X to "cut" the selected item (use the selection rectangle or the lasso), COMMAND-C to "copy" the selected item, and COMMAND-V to "paste" the selected item.  For example, if you use the paint bucket to dump paint into a part of your page and the paint spreads to fill the whole screen, you should press either BACKSPACE or COMMAND-Z immediately.
  116.  
  117.                       FINISHING UP
  118.  
  119. When you're done, you can hide the developer buttons at the bottom of the screen (except the "Home" and "Help" buttons) as follows.  First get the HyperCard message box by pressing the COMMAND-M key combination.  Next type:
  120.  
  121.        hide background button "Go To Page"
  122.  
  123. Do the same for the other developer buttons.  Press COMMAND-M again to hide the message box.  If you decide to make changes later, you can show the buttons again by typing in the message box:
  124.  
  125.        show background button "Go To Page"
  126.  
  127. It is a good idea to add a field to the               "beginning" page showing the title of your story, as well as your name, address, and distribution information (freeware, shareware, price, etc.).
  128.  
  129.                HYPERCARD MENU BAR
  130.  
  131. IMPORTANT.  You can show and hide the HyperCard menu bar with COMMAND-SPACE.  This gives you numerous useful options if you are already familiar with HyperCard.  In particular, you can DELETE pages ("Delete Card" or "Cut Card").  DON'T DO THIS!  If you delete a page, the page name will remain in Storybook's page list, leading to possible errors.  Likewise, always use the "Add Page" button at the bottom of the screen instead of HyperCard's "New Card" menu command.  This will ensure the page name will appear in the page list correctly.
  132.  
  133.                              SCRIPTS
  134.  
  135. Storybook automatically sets your user level to 4 ("authoring").  If you are interested in looking at your stack's scripts (the HyperTalk "program" which governs the operation of buttons and other objects), you may press COMMAND-M to show the message box and type:
  136.  
  137.                    set userlevel to 5
  138.  
  139. Now when you double-click on a button using the button tool you can see its script.  Storybook creates simple scripts for you each time you add a new button.  Feel free to experiment with these scripts.  However, it is advised that you don't change the scripts of the pre-existing buttons at the bottom of the page, nor the background or stack scripts (available from the HyperCard menu bar).
  140.  
  141.  
  142.  
  143. Have fun, and please write if you have any comments or results.
  144.  
  145. Ralph Gonzalez
  146. PO Box 54
  147. Newark, DE 19711
  148.  
  149.  
  150.  
  151. -- part contents for card part 12
  152. ----- text -----
  153. PUSH HERE TO RETURN TO START