🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1548

Re: Xmode Scrolling

#1548
From: Rich Dobry
Date: Mon, 16 Nov 1992 15:11
39 lines
2180 bytes
> > Rich writes:
> >
> >  What I am wondering is how games do scrolling (smooth) with a static 
> >piece any other place on the screen, such as on the left.
> >  
> Baylor write:
>
> 	Honestly, they do it completely different then the way you think.
> 	They don't scroll anything onto the screen. Virtual screens
> are almost always to short for anything except demos and title screens
> (at which point it looks very nice).
> 	They define an array of screen tiles for background (not
> jill, alligators or such) and then do a putpic-type blit for each
> visible screen, that is, they constantly redraw it!
> 							- baylor

I figured that's how they must have done it but doing some preliminary
test shows me you can get, at best, about 30fps  because you are 
redrawing so much of the screen even using the fastest system to video 
copy routines.

  I have a crude smooth scrolling demo working using as much video memory 
as I can get and drawing and copying when you hit certain edges.  
This is running at 60fps but skips a little when the full screen is copied.  
I'm working on routies
that will fix this by drawing both in front of and behind where the current
physical screen is.  I'll post if it works.  

Thanks for the response...

Talk to you later...
                     Rich

------------------------------------------------------------------------------
|    Richard E. Dobry Jr.        Central Maryland Multiple Listing Service   |
|      Systems Analyst                    Baltimore, MD 21217 (USA)          |
|      (410) 462-3836                 email: cmmlsd1!progrich@mas.uucp       |
|                                        or: drich@mas.uucp                  |
------------------------------------------------------------------------------
Technical Details
Message-ID: <1992Nov16.151145.21002@mas.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!aplcen.apl.jhu.edu!wb3ffv!mas!drich
References: <83704@ut-emx.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!aplcen.apl.jhu.edu!wb3ffv!mas!drich
From: drich@mas.uucp (Rich Dobry)
Subject: Re: Xmode Scrolling
Message-ID: <1992Nov16.151145.21002@mas.uucp>
Organization: Emtronix Inc.
References: <83704@ut-emx.uucp>
Date: Mon, 16 Nov 1992 15:11:45 GMT
Lines: 39