www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/31/12:27:50

From: "Amin Kharchi" <kharchi AT gmx DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro: videomemory with bitmaps + sprites
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <sAEo3.604$ay.93084@news.tli.de>
Date: Sat, 31 Jul 1999 17:22:38 +0200
NNTP-Posting-Host: 195.252.134.203
X-Complaints-To: newsmaster AT tli DOT de
X-Trace: news.tli.de 933434776 195.252.134.203 (Sat, 31 Jul 1999 17:26:16 MET DST)
NNTP-Posting-Date: Sat, 31 Jul 1999 17:26:16 MET DST
Organization: Talkline Internet Division http://www.tli.de
Lines: 22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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


- Raw text -


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