Message-Id: <199812292353.XAA21776@remus> From: "Arthur" To: Subject: RE: Speed problem Date: Tue, 29 Dec 1998 23:52:05 -0000 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3 In-Reply-To: <36892AB2.F2BFCD31@net4you.co.at> Importance: Normal Reply-To: djgpp AT delorie DOT com > "Me and my game" got a speed problem ;) > Redrawing the whole screen in a 640x480x256 graphics mode is too slow on > many > machines. Is there a faster way? It consists of a 3 layers: background, > car-layer and > animation layer (like Bapple2). Dirty-rectangles doesn't work because > the background > always changes. Please help! What do you mean by "many machines"? Are you using VESA, FreeBE/AF, or Mode-X screen modes? Also make sure that you're not clearing the screen, since you don't need to. This takes a lot of processor time and isn't usually needed. Try a different method of drawing the screen. Instead of double buffering, try page flipping or triple buffering. James Arthur - jaa AT arfa DOT clara DOT net http://www.jado.org/users/arfa/ ICQ#15054819