www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/25/10:47:04

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: WALLY ONLY: Simple 640x480x256 galaxy collision simulator?
Date: Wed, 25 Mar 1998 10:33:52 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 29
Message-ID: <351923E0.6E25@cs.com>
References: <3516EF9E DOT F9002172 AT netrover DOT com> <87zpielxt6 DOT fsf AT hasn DOT dera DOT gov DOT uk>
NNTP-Posting-Host: ppp234.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ian Miller wrote:
> 
> Can anyone send out _simple code_ to set the screen mode to
> 640x480x256 colors without using allegro and simulate the
> collision of two or more galaxies in time and space? I'd do
> it myself only I can't be bothered to read the manual ;-)

I'm surprised you missed the announcement a few months ago from a guy
who wrote a galaxy collision simulator at 640x480x256.  He used Allegro
only for the graphics initialization and the putpixel routine, two items
which should be trivial to do on your own (they are covered in the FAQ).

The relevant article (retrieved via DejaNews <http://www.dejanews.com/>)
is dated 12/26/1997, subject "watch galaxies collide on your PC", posted
by Jason Stratos Papadopoulos.  The URL for the source code is
http://www.isr.umd.edu/~jasonp.  I downloaded the code and played with
it for a while (added a framerate counter and a few graphical
enhancements); it's very simple and easy to modify.

If you're going to use it commercially it might be nice to tell the
author.  :-)

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "History does not record anywhere at |
|       aka Fighteer I       | any time a religion that has any     |
|   mailto:fighteer AT cs DOT com   | rational basis."                     |
| http://www.cs.com/fighteer |                - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


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