delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/25/00:20:49

Message-ID: <000001be2fc5$e022ea80$9b6f19c4@default>
From: rylan AT intekom DOT co DOT za (StefanViljoen,6599)
To: "Twilight Knight" <what4 AT fuse DOT net>
Cc: <djgpp AT delorie DOT com>
Subject: Re: Scrolling Credits are too s-l-o-w.
Date: Thu, 24 Dec 1998 16:10:08 +0200
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
Reply-To: djgpp AT delorie DOT com

-----Original Message-----
From: Twilight Knight <what4 AT fuse DOT net>
Newsgroups: comp.os.msdos.djgpp
Date: Thursday, December 24, 1998 2:09 AM
Subject: Scrolling Credits are too s-l-o-w.


>Hi,
>
>I had no examples for scrolling credits in my game and so I had to do a
>short, quick, and dirty coding job for them, since i'd never even attempted
>this before.  Can anyone offer a suggestion to help speed up my credits?
>Here's a code snippit, if you want it, take it but be warned, it's s-l-o-w.


One suggestion - pre generate a bitmap and slide this along another bitmap,
copying the final one to the screen, then clearing the final one from a
master bitmap and repeating the process for each line to be scrolled.

Kind Regards,

Rylan
Is truth beauty or is beauty truth?
http://home.intekom.com/rylan/index.html
(NASM examples, NASM - TASM, DJGPP gfx source & semi-tuts)


- Raw text -


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