delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/24/07:46:07

From: "JCx" <jicehix AT worldnet DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: create/show_video_bitmap problem (Allegro3+WIP)
Date: Wed, 24 Jun 1998 13:38:14 +0200
Lines: 19
Message-ID: <6mqofm$63o$1@news2.isdnet.net>
NNTP-Posting-Host: p14-019.province.worldnet.fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

   Hi there !

I recently installed the May, 30 WIP of Allegro 3.0, and have problems using
the new video bitmaps. I'm using double buffering for my game, and what I do
is create a standard memory bitmap where I store the background, and a
video_bitmap as a temporary one to draw sprites and other things onto the
background. If I only blit background on video_bitmap, and then blit
video_bitmap to the screen (show_video_bitmap()), things are very fast
(screen scrolls very quickly in 640x480, very nice on a Matrox Mystique
2MB). But if I do any drawing on the video_bitmap before showing it, display
on the screen becomes a bit ugly: parts of the video_bitmap are not draw, or
just appear for a few frames and then go away... Any suggestion about that ?

   Thanks, JCx.
   jicehix AT worldnet DOT fr

PS: please, be nice: answer to my message in BOTH the news and my mailbox :)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019