🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1790

PC Graphics (animation)

#1790
From: Scott Senkeresty
Date: Thu, 21 Jan 1993 08:22
47 lines
2325 bytes
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      |
----------------------------------------------------------------------------
Technical Details
Message-ID: <1993Jan21.082235.505680@zeus.calpoly.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!charnel!rat!zeus!ssenkere

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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