DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: R T

⟦3c2e0e3fd⟧ TextFile

    Length: 2628 (0xa44)
    Types: TextFile
    Names: »README«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/X/Qix/README« 

TextFile


Qix -- the video game by Taito (I think).  This is a direct ripoff of
that game for demonstration purposes only (please, no wagering).  It runs
under Sunview for Sun Workstations and under X11R2 for anything that'll
run X11R2.

This program was written by Dan Heller <island!argv@sun.com> except
where noted (see below).

To move around on the screen, move the mouse in the direction you want
to go and the pen will [eventually] go that way.  Under Sunview, it's
pretty quick.  Under X11...well...  For either interface, however, the
preferred mode of movement is using the keys h,j,k,l (remember rogue?).
Use a shift key to draw a line while moving.  To draw a line slowly,
you need to use the middle mouse button and move.  since better players
use the "slow" draw seldomly, you will rarely have to use it often.

To stop the game, select the *right* mouse button twice; once to stop
the pen, and the second to stop the game.  Move to the window which started
the game and ^C.  Sorry, I wasn't into building a user interface for this.

-----------
Qix under X11R2:

    Just define "X11" in the Makefile and make sure you have the
X11 *.xbm bitmaps.  There is no timouts because X is too slow to
bother dealing with it.  Basically, the main loop will test to see
if there is an event (you move the mouse or push a button) and if
so, service it.  Then it moves the items on the board (qix, sparx,
your pen, etc).  If there are no events pending, it will just move
the items on the board.

The performance under X11 is *bad* at best.  In fact, it's hardly
worth playing at all -- but it does demonstrate how to use some of
the lower level routines.

IF YOU WANT TO IMPROVE PERFORMANCE OF THIS PROGRAM, make a widget out
of the the main drawing board and use the internal timer that is
intrinsic to the toolkit:  XtAddTimeOut()...  Use the xclock widget
as an example, if you don't know how to do this.

-----------
SunView qix:

color support:
    Ian Donaldson <uunet.uu.net!munnari!koel.rmit.oz.au!rcodi>

In addition to Ian's changes:

New command line option "-s timeout" where timeout is in milliseconds.
Machines with a graphics processor run significantly faster and the player
hasn't a chance.  I've noticed that running with a gp, -s 50000 should
be sufficient.

The program has been speeded up slightly -- it was too easy.  The qix is
more aggressive and faster beginning at the second screen.

The program figures out whether you're running in color and if so, it
will speed up a little for those without gp's so that it runs about
the same speed as a sun3/50.

The scorefile is created if it doesn't already exist.