home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / tech / 4722 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.1 KB

  1. Path: sparky!uunet!gatech!concert!aurs01!klassa
  2. From: klassa@aurs01.UUCP (John M. Klassa)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: "fast" sprites in C
  5. Keywords: "sprites", C, efficient
  6. Message-ID: <61138@aurs01.UUCP>
  7. Date: 8 Sep 92 16:06:39 GMT
  8. Sender: news@aurs01.UUCP
  9. Reply-To: klassa%aurfs1.aur.alcatel.com@rockdal.aud.alcatel.com (John Klassa)
  10. Followup-To: poster, comp.sys.atari.st
  11. Organization: Alcatel Network Systems, Raleigh NC
  12. Lines: 32
  13.  
  14. Hi All-
  15.  
  16. I've attempted, on a couple of occasions, to write silly little games
  17. for my own amusement.  What I always run into, though, is terrible,
  18. terrible performance when I try to put objects on the screen and
  19. animate them.  My mind keeps going back to that ST classic
  20. "Megaroids," which was claimed to have been written in C (although I'm
  21. not positive that they didn't use assembler in there somewhere).  How
  22. do you, the readers of comp.sys.atari.st.tech, get good performance
  23. when doing sprites?  *Must* I use assembler, or can it be done in C?
  24. (My problem is that I don't know assembler...)  On a related topic, I
  25. remember a long discussion between (I think) Dave Baggett and somebody
  26. else, on the topic of double-buffering & handling it during vbl and so
  27. on...  Is double-buffering pretty much the only way to give animated
  28. games that "smooth" look?  If so, I would imagine that assembly is
  29. required there, too...
  30.  
  31. Thanks for any and all input!
  32. John
  33.  
  34. P.S.  How do y'all handle keyboard input?  i.e. How can I detect when
  35.       multiple keys are in the down position?  How can I turn every
  36.       key into a "shift-like" key, so that the player can hold it down
  37.       as long as he/she wants to without it going into repeat mode, etc.?
  38.  
  39. Thanks again!
  40.  
  41.  o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
  42.  o                               John M. Klassa                              o
  43.  o      Alcatel Network Systems, Inc. --- Raleigh, NC --- (919) 850-1246     o
  44.  o        Email: klassa%aurfs1.aur.alcatel.com@rockdal.aud.alcatel.com       o
  45.  o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
  46.