| www.delorie.com/archives/browse.cgi | search |
| From: | Rob Vasquez <digital DOT fx AT worldnet DOT att DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Allegro speed question |
| Date: | Fri, 03 Jan 1997 18:45:33 -0500 |
| Organization: | Digital Fx |
| Lines: | 13 |
| Message-ID: | <32CD9A1D.4EB9@worldnet.att.net> |
| References: | <32CD4EA6 DOT 5113 AT mbnet DOT mb DOT ca> |
| NNTP-Posting-Host: | 207.147.60.111 |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> What would be faster:
>
> * To use blit() 1-3 times (enough to fill the screen)
> or
> * to use draw_rle_sprite() to fill the screen with 20x20
> sprites
Use a compiled sprite. Those are about 5-10 times as fast as a blit.
--
Rob Vasquez
Digital Fx '97
email: digital DOT fx AT worldnet DOT att DOT net
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |