delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/04/02:58:42

Date: Sun, 4 May 1997 01:45:17 -0500 (CDT)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: Mike McLean <libolt AT primenet DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: drawing sprites to the screen with allegro
In-Reply-To: <336bd270.95145704@news.primenet.com>
Message-ID: <Pine.SUN.3.95.970504014225.13300A-100000@ernie.eecs.uic.edu>
MIME-Version: 1.0

If you want to display sprites you use draw_sprite function of allegro,
however you need those sprites to be BITMAP format. If you do not know the
format of spr files I do not think you can really do it. Check if you can
save those files in pcx, bmp or other format that allegro support, or if
you cannot do it and you do not know the format of the spr files I would
recomend getting different sprite editor (xspred is an excellent one to
work with allegor, you can find it on allegro home page).

On 3 May 1997, Mike McLean wrote:

> This is probably a very stupid question, but I am using allegro 2.2
> and I can't figure out how to draw a sprite to the screen.  I don't
> know what kind it is.  I have it saved as charac.spr, which I created
> with a sprite editing program
> 
> any help is really appreciated
> 
> Mike
> 

- Raw text -


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