home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apple2 / 25930 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  4.3 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!actrix!David.Empson
  2. Newsgroups: comp.sys.apple2
  3. Subject: Re: Which language?
  4. Message-ID: <1992Dec23.130559.23343@actrix.gen.nz>
  5. From: David.Empson@bbs.actrix.gen.nz
  6. Date: Wed, 23 Dec 1992 13:05:59 GMT
  7. Sender: David.Empson@actrix.gen.nz (David Empson)
  8. References: <1992Dec22.022200.11862@nuscc.nus.sg>
  9. Organization: Actrix Information Exchange
  10. Lines: 88
  11.  
  12. In article <1992Dec22.022200.11862@nuscc.nus.sg> ltchean@rambutan.iss.nus.sg (Lim Thye Chean) writes:
  13. >
  14. > So my questions is:
  15. > 1) What language (besides assembly) allows me to write games easily without
  16. >    menu and windows interface? Assembly is nice, but it is difficult to do
  17. >    path, complicated animation, etc.
  18.  
  19. Either Pascal or C should be OK for writing games.  Ideally you would
  20. want to write the complicated parts in a high-level language, and the
  21. parts that need to go fast in assembly language.
  22.  
  23. This means you should consider which assemblers and compilers can be
  24. used together, in mixed-language programming.  The ORCA products
  25. (ORCA/M, ORCA/C and ORCA/Pascal) are good for this.
  26.  
  27. > 2) What language allows me to write desktop program easily? TML Pascal II
  28. >    is nice for writing non-desktop program (like my Mandelbrot II GS), but
  29. >    the resource editor is next to useless. The Complete Pascal II is a joke,
  30. >    it never arrived even after a year.
  31.  
  32. Desktop programming isn't "easy" in any language, but is much easier
  33. in C or Pascal than it is in assembly language.  I haven't tried Micol
  34. Advanced Basic, but have written desktop programs in ORCA/C, APW C,
  35. ORCA/M and Merlin Assembler.  My preference is for C.
  36.  
  37. > 3) Yes, of course these languages have to be System 6-compatible. Any
  38. >    recommended book for me to learn? I have written a full desktop painting
  39. >    program in System 4 toolbox using TML Pascal. When System 5 and TML Pascal
  40. >    II arrives, the header file changes so much, and all those Apple IIGS
  41. >    books found in Singapore only supports up to System 4.
  42.  
  43. If you're going to do any serious desktop programming, you must get
  44. all three volumes of the IIgs Toolbox Reference.  If you want to use
  45. System 6 features, you also need to get the System 6 Programmers
  46. Reference (by Byte Works).  All are available by mail order from
  47. Resource Central (and possibly other sources).
  48.  
  49. You may also like to consider the Byte Works "Toolbox Programming in
  50. Pascal" or "Toolbox Programming in C" packages.  They are pretty much
  51. identical, but targeted toward the appropriate language (you wouldn't
  52. want to get both of them).
  53.  
  54. I haven't seen them, so can't comment on how good they are for learning
  55. toolbox programming.  They are not a substitute for the Toolbox
  56. Reference manuals.
  57.  
  58. Current versions of ORCA/M, ORCA/C and ORCA/Pascal include interface
  59. files for System 6.0.
  60.  
  61. > Complete Pascal II, Micol Advanced Basic
  62.  
  63. Never used or seen either of them.
  64.  
  65. > 3) Orca/C 2.0
  66. >    - is it very difficult to use? Did I need to learn all 3 books of
  67. >      toolbox references before I can start writing a useful program?
  68. >    - what exactly does it have?
  69.  
  70. If you don't know any C, you will have a bit of learning to do before
  71. you will achieve much.  Since you know Pascal, you're about half way there.
  72.  
  73. You probably don't need the toolbox references to write very simple
  74. desktop programs, but having them makes everything much easier.  You
  75. don't need to LEARN them, just have them handy for reference when you
  76. need to know how to use a call.
  77.  
  78. You may find it easier to learn toolbox programming using a Pascal
  79. compiler, as you're already familiar with Pascal.  Either TML Pascal
  80. or ORCA/Pascal should be OK.
  81.  
  82. ORCA/C 2.0 hasn't been released yet, and I haven't seen the release
  83. note, so I don't know if they've included any more programs with it.
  84.  
  85. ORCA/C 1.3 included the ORCA text shell and PRIZM desktop shell
  86. interface (with source level debugging), ORCA/C compiler, libraries and
  87. interface (header/include) files.  There was no resource editor or
  88. similar.
  89.  
  90. ORCA/C 2.0 might include the REZ resource compiler (which was supplied
  91. with ORCA/M 2.0).  Byte Works also sell a resource creator called
  92. Design Master.  I use REZ and Genesys for resource work.  [I hope to
  93. be using Foundation shortly.]
  94. -- 
  95. David Empson
  96.  
  97. Internet: David.Empson@bbs.actrix.gen.nz    EMPSON_D@kosmos.wcc.govt.nz
  98. Snail mail: P.O. Box 27-103, Wellington, New Zealand
  99.