Tree [776f34] sasteroids200 sasteroids2000 /
 History

Read Only access


File Date Author Commit
 fonts 2002-10-08 merlin262 merlin262 [deef75] Initial Import of source.
 graphics 2003-06-13 merlin262 merlin262 [3fe520] Create shield recharge powerup image.
 sounds 2002-10-23 merlin262 merlin262 [11bf3b] More interesting options, ready for release.
 src 2003-06-13 merlin262 merlin262 [3dfd21] Upload changelog
 COPYRIGHT 2002-10-23 merlin262 merlin262 [11bf3b] More interesting options, ready for release.
 ChangeLog 2003-06-13 merlin262 merlin262 [3dfd21] Upload changelog
 INSTALL 2002-10-09 merlin262 merlin262 [778039] Fix some doublespacing bugs.
 Makefile 2003-06-13 merlin262 merlin262 [3dfd21] Upload changelog
 Makefile.pkg 2002-10-16 merlin262 merlin262 [c0ee54] Add a makefile for what will eventually (hopefu...
 README 2002-10-23 merlin262 merlin262 [11bf3b] More interesting options, ready for release.
 README.xast 2002-10-08 merlin262 merlin262 [deef75] Initial Import of source.
 TODO 2002-10-23 merlin262 merlin262 [11bf3b] More interesting options, ready for release.
 description 2002-10-08 merlin262 merlin262 [deef75] Initial Import of source.
 sasteroids.6 2002-10-23 merlin262 merlin262 [11bf3b] More interesting options, ready for release.

Read Me

******************************************************************************
Following this message is the original README from xasteroids.  Sasteroids
was derived from, and uses some code from xasteroids.  This file is
included to give credit to Phil Goetz and others.

Please read the sasteroids README for information on compiling sasteroids,
as the following info is for xasteroids only, which is a separate package.

BJP Feb 9/94
******************************************************************************


     Here is the source to Xasteroids, version 5, 9 Feb 93.

     This program runs under UNIX in the X-Windows or OpenWindows
environment.  It could probably be modified for other operating systems
without difficulty.  I compile it under quasi-BSD with this command:

	cc -I/util/X11/include -L/util/X11/lib xast.c -lm -lX11 -o xast.exe -O

That is, include files /util/X11/include, use the library in /util/X11/lib,
source file ast.c, use the math and X11 libraries, object file will be ast.out,
and Optimize.  The Makefile provided should do this for you if you type

	make xast.exe

     To run the program, type

	xasteroids &

This runs the shell script which runs the game and saves high scores.
You should modify the first line of the shell script to move to the proper
directory.

     Playing with scale of movement, object size, and window size can give you
very different games.

     If you like the game, please send $5 to

	Phil Goetz
	4023 Huckleberry Row
	Ellicott City, MD 21043

     Even if you don't register, please send a note to my e-mail address
so I know how many people use Xasteroids.
Send any comments, suggestions, bug reports, modifications, etc., to

	goetz@cs.buffalo.EDU

     If you modify the game, feel free to post your version, PROVIDED that
you retain my copyright notice, the credits, and note which version yours
was derived from and its release date, what changes you made, and your
release date.  I do not intend to release any more versions myself.
I wash my hands of it.

     David Elliot (dce@sonyusa.sony.com) says that he had to put an
XSync(disp) after the XDrawLines call or he would get protocol errors.

     On anything slower than a SPARCstation 1, or on any color screen,
it will really drag.  There should be a way to set color screens to use
a bitmap of depth 1, but I don't know how.  Please tell me if you do.
     The code is not optimized because the XWindows
calls take the vast majority of the time.  I tried, for instance,
reading sines and cosines from a table instead of calculating them -
it made no noticeable difference in speed.  Similarly, the collision
detection could be optimized only to check objects nearby - but why
bother.  Same goes for using registers, pointers to frequently-referenced
array elements, etc.  It MIGHT make a significant difference in runtime
if you replace the vector drawing with bitmaps.  It runs a LOT slower on
color displays.
     The vast majority of time seems to be used in erasing the pixmap
each round, & there isn't much to do about that.  My tests have indicated
that blanking individual asteroids rather than the whole screen would
take comparable time, unless you had a complicated routine to optimize
blanking.

By
	Phil Goetz	<goetz@cs.buffalo.edu>
Contributors:
	Peter Phillips	<pphillip@cs.ubc.ca>
	Pat Ryan	<pat@jaameri.gsfc.nasa.gov>
	Craig Smith	<csmith@cscs.UUCP>
	Doug Merritt	<doug@netcom.com>
	James Berg	<berg@plains>		(makefile)
	David Partain	<dlp@ida.liu.se>	(original man page)
	Chris Moore	<moore@src.bae.co.uk>	(hi score script)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks