delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/27/22:21:34

Newsgroups: comp.os.msdos.djgpp
From: tob AT world DOT std DOT com
Subject: Re: Allegro problem
Message-ID: <EFDwnC.577@world.std.com>
Sender: tob AT world DOT std DOT com (Tom Breton)
Reply-To: tob AT world DOT std DOT com
Organization: BREnterprises
References: <33FE364B DOT 756B AT oregoncoast DOT com>
Date: Sat, 23 Aug 1997 20:52:24 GMT
Lines: 26
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Rudy Gingles <spy AT oregoncoast DOT com> writes:
> I'm getting this strange problem when running a program I'm working on,
> which uses Allegro to draw bitmaps and RLE sprites onto the screen. I
> have an RLE sprite which move across the screen quickly, and as it
> moves, little bits of the sprite get sprinkled across the rest of the
> screen.

Not so strange. You don't mention erasing your sprite. You have to
redraw the background that it overwrote.

> I'm only using draw_rle_sprite() to draw it to the screen, so it
> couldn't be my code. Whats going on? Has anyone else had this problem?

Almost everybody, at some point.

> Maybe its a bug in Allegro? Please help! Thanks.

I have to say, that was a really premature suspicion. It's true that any
tool of serious complexity will have a few bugs that are found only
after using it. But you should only suspect that after you've
investigated the problem very thoroughly.

> Rudy

        Tom

- Raw text -


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