🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #99

smooth scrolling maps

#99
From: SunVis
Date: Thu, 06 Jul 1989 17:37
16 lines
1135 bytes
 Hello,

  
   I'm pretty much a novice programmer and I'm sure this is a technique most
of you learned in programming 101 :^). Anyway I'm writing a program that uses
a map 3 to 4 times the screen size and I want to be able to scroll smoothly
around the whole map. The best technique I have come up with so far involves
shifting the displayed map area over one grid then filling in the blank areas
with the new data from off screen. The shift of the screen is relatively
fast but the new data redraw is a bit slow for what I've had in mind. Any 
hints ?  
-- 
uucp: mcnc!rti!sunpix!steve or mcnc!rti!sunpix!allegro |  Stephen McKay Matson
             "FRODO LIVES!!"                           | (919)460-8357 {voice}
  ---Colorado memories keep me going another day.---   |
Technical Details
Message-ID: <679@greens.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncsuvx!mcnc!rti!sunpix!allegro

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncsuvx!mcnc!rti!sunpix!allegro
From: allegro@sunpix.UUCP ( SunVis)
Newsgroups: rec.games.programmer,comp.sys.atari.st
Subject: smooth scrolling maps
Message-ID: <679@greens.UUCP>
Date: 6 Jul 89 17:37:21 GMT
Organization: Sun Microsystems, Research Triangle Park, NC
Lines: 16