home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / rec / games / programm / 5471 next >
Encoding:
Internet Message Format  |  1993-01-21  |  2.2 KB

  1. Path: sparky!uunet!olivea!charnel!rat!zeus!ssenkere
  2. From: ssenkere@zeus.calpoly.edu (Scott Senkeresty)
  3. Newsgroups: rec.games.programmer
  4. Subject: PC Graphics (animation)
  5. Message-ID: <1993Jan21.082235.505680@zeus.calpoly.edu>
  6. Date: 21 Jan 93 08:22:35 GMT
  7. Organization: SSS - Silly Students of SLO
  8. Lines: 47
  9.  
  10.  
  11. Reality is slowly setting in... My roommate and I have decided several
  12. things.
  13.  
  14. 1) IBM graphics are a really stupid
  15. 2) We are even more stupid
  16.  
  17. In hopes of conquering both problems, you must help us out here.
  18.  
  19. We are interested in learning to program VGA graphics on our machines... and
  20. instead of starting off hell-bound and posting a famous, "How do we make
  21. graphics like in Wolf-3d", we are starting very simple... with the very
  22. famouse game, Pong.
  23.  
  24. Our main question is how to move the paddles and ball.  We have tried the
  25. obvious.  Write over the current object in the background color, and redraw
  26. it at the new location.   Several problems occured...  Flickering,
  27. Jumpiness, and a slow down of things when the paddles move (ie ball moves
  28. quickly with no paddle movement, slower with 1 paddle movement, slowest with
  29. both). 
  30.  
  31. What is the logical way of doing this!?  We think maybe we need to store the
  32. whole screen as a bitmap... manipulate our bitmap, and then somehow put it
  33. on the screen (notice the SOMEHOW, as in... beats us). 
  34.  
  35. [ Are we sounding pathetic enough for your help yet? ]
  36.  
  37. As long as we are at it... there is the problem of the typematic key rates,
  38. etc.  It would be nice to be able to press several keys at once, and have
  39. them be DOWN until let up... not repeating...   It is our understanding that
  40. this would require writing an Int-9 handler.  Any chance of just happening
  41. to come across some source code!?  :-)  
  42.  
  43. Oh yes... I forgot something important...  As of now, we are using just C.
  44. We have experimented with Steven Dollins' mode x library as well.
  45.  
  46.  
  47.  
  48. So... get us going in the right direction at least!  Please ?
  49.  
  50. --
  51. -- Scott and Chris
  52. -- ssenkere@tuba.calpoly.edu || cseitzin@flute.calpoly.edu
  53. -- 
  54. ----------------------------------------------------------------------------
  55. |      ssenkere@demeter.calpoly.edu  ||  ssenkere@polyslo.calpoly.edu      |
  56. ----------------------------------------------------------------------------
  57.