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