home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / CanDo / Decks3 / KeyDemo / KeyDemo.doc next >
Encoding:
Text File  |  1990-10-30  |  1.0 KB  |  25 lines

  1. About the KeyDemo:
  2.  
  3.   To examine how this deck runs, you will need to have the KeyInput Object
  4. (probably found on the same BBS as you found this deck.)
  5.   
  6.   The first card is mearly instructions, printed from within the card's
  7. AfterStartUp script.
  8.  
  9.   The second card is the example.  In the AfterStartUp, a shape is drawn
  10. to the screen and then clipped as a brush for further use.  The variables
  11. describing velocity and acceleration are also initialized at this point.
  12.   A Timer Object is used to update the objects position.  This first updates
  13. the X and Y, based on the velocity and acceleration, and then redraws the
  14. image. 
  15.   The KeyInput Objects can be found by pressing on the Xtra button on 
  16. CanDo's main panel, and requesting to perform the KeyInput.  You will see
  17. a list of KeyInput Objects.  I think you find that their names are self
  18. explanatory.
  19.  
  20.   I hope you enjoy this simple example of KeyInput.
  21.  
  22.                                       James Nelson
  23.                                       Technical Support
  24.                                       INOVAtronics
  25.