From: toudi Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: videomemory with bitmaps + sprites Date: Sat, 31 Jul 1999 19:09:24 +0200 Organization: beautiful piramids Lines: 37 Sender: pienkny AT pa29 DOT warszawa DOT ppp DOT tpnet DOT pl Message-ID: <37A32DC4.8BAC7AFA@friko6.onet.pl> References: NNTP-Posting-Host: pa29.warszawa.ppp.tpnet.pl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: news.onet.pl 933470777 25354 212.160.52.29 (1 Aug 1999 01:26:17 GMT) X-Complaints-To: abuse AT onet DOT pl NNTP-Posting-Date: 1 Aug 1999 01:26:17 GMT X-Mailer: Mozilla 4.5 [pl] (Win95; I) X-Accept-Language: pl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Amin Kharchi napisał(a): > Hello! > > I want to use the fast videomemory with pageflipping for my game: > > BITMAP *bmp; > bmp = create_video_bitmap(640,480); > > If I draw a bitmap with draw_sprite(bmp, sprite, 0,0) in to the created > videospace, the sprite will be shown on the screen... But why??? I don't > have used the function show_video_bitmap(bmp)! > > How could this possible and how I must use this video_bitmap-functions > correctly? > > And I have a loop for the draw_sprite() and its flickering, with > show_video_bitmap() and vsync() it's not better. > > -- > Amin Kharchi > Wolfsburg, Germany This is not correct answer to your question. In 640x480 modes, page flipping is worse than double buffering sometimes, when you use VESA I think. Try it, VESA 2 linear and VESA 3 are very fast, fastest. -- mailto:pienkny AT friko6 DOT onet DOT pl +4822368951