Jay's home page ·
Jay's iPAQ Linux page
Bill Kendrick's Brickout for iPAQ Linux
This is my
extremely quick-and-dirty build of
Bill Kendrick's Brickout game (version 2002.06.09). He originally wrote it for the
Agenda VR3, but it builds fine for X11 (using nothing but Xlib). He then
extended it to support SDL (so for a desktop Linux box you can
build it either with plain X11 or with SDL) and ported it to the
Zaurus under Qtopia with SDL. (Incidentally, if you run OPIE
instead of GPE on your iPAQ, you might see if Bill's Zaurus build
will run; if you've got SDL, it might.)
All I did for this was unpack the source on a skiffcluster machine,
and type “make host” to build the Xlib-only version. Here are the problems with
that:
- Since this was originally built for the Agenda, which has a
160x240-pixel screen, the game sits in the upper-left corner of
the iPAQ screen. The SDL version centers the display in a 240x320
window)
- The Agenda only spit
/dev/dsp-style sound out the earphone jack, so games used the X buzzer
for sound effects. On the iPAQ there's no audible X bell, so
you don't get sound. (The SDL version uses SDL functions for
sound, but it should be trivial to tweak for non-SDL audio.)
- There are colour pixmaps (well, BMPs) for the SDL port, but
the Xlib-only version uses greyscale ones since the Agenda was
greyscale-only.
- The keyboard controls aren't tweaked for the iPAQ buttons -
left and right work fine for controlling the paddle, but one of
the other joypad keypresses should be used to launch a ball.
I took a quick look at the source, and all of these limitations
seem pretty easy to fix (nice clean clear code). If nobody
else gets to it before me, I may take a stab at it at some point.
In the meantime, here's the stuff:
If I get around to actually tweaking it for Familiar Linux, I'll
build an
ipkg.
Jay Sekora
<js+ipaq@aq.org>
last modified 2002.11.06