Mail Archives: djgpp/1998/11/24/15:31:28
Message-ID: | <000501be17e8$b00ac560$a3f5ffc2@default>
|
From: | "=?iso-8859-1?Q?Lazer_---=A4---?=" <lazer_hassing AT yahoo DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Sv: see-trough & sprites
|
Date: | Tue, 24 Nov 1998 21:25:33 +0100
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.2106.4
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.2106.4
|
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id PAA03518
|
Reply-To: | djgpp AT delorie DOT com
|
>Hey Lazer,
Hi :)
Im having trouble using the backBuffer!!
>BITMAP *backBuffer = create_bitmap(SCREEN_W,SCREEN_H);
>
>while(!key[KEY_ESC])
>{
> clear(backBuffer);
> Q=Q+1;
> draw_sprite(backBuffer, my_image, Q, 200-my_image->h);
>
> // you draw all your other sprites and stuff here
>
> // when your finished drawing:
> blit(backBuffer, screen, 0 , 0, 0, 0, SCREEN_W, SCREEN_H);
>
>}
>
it compiles, but when i run it, it crashs!! (if you want the hole source then i'll email
to you, coz dj dj delorie were'nt happy last time i attached a file :)!!
Thanks!!
Lazer
- Raw text -