www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/19/16:30:20

Message-Id: <199811192104.VAA11273@remus.clara.net>
From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: see-trough & sprites
Date: Thu, 19 Nov 1998 21:03:06 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <000201be13d4$675a05a0$b2f5ffc2@default>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

Arrgh! HTML! I thought HTML postings were banned from this newsgroup!

Anyway, for the colours problem check out draw_trans_sprite and
draw_lit_sprite and the blender/colourmap functions in the Allegro manual.

In what way do you mean "better"? It all depends on what you're trying to
do. If all you want to do is move a sprite along the bottom of a 320x200
screen, then what you've got should work fine.

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819


-----Original Message-----
From: Lazer ---¤--- [mailto:lazer_hassing AT yahoo DOT com]
Sent: 19 November 1998 15:36
To: djgpp AT delorie DOT com
Subject: see-trough & sprites


Does any-one know how to use (and declare) see-trough colors?

Is'nt there a better way of moving sprites then this:

while(!key[KEY_ESC])
{
clear(screen);
Q=Q+1;
draw_sprite(screen, my_image, Q, 200-the_image->h);
}

Thanks

        Lazer


- Raw text -


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