Axis Runner project is a 3D game with a fast built-in graphics engine.

Axis Runner is a 3D game inspired by the Apple II game "Lode Runner". It features a built-in graphics engine and runs fine without hardware acceleration. All direction is relative as characters climb up on the walls and ceiling, reminiscent of the fighting scenes in movies such as "The Matrix".

This idea comes from some years ago; basically a 3D lode-runner type game with a weird topology: if the runner bumps into a wall he climbs up (like the fighting scenes in "The Matrix" or "Crouching Tiger, Hidden Dragon") but if he reaches an edge he falls, in the current downwards direction. I.e. the direction of gravity changes. To keep the world finite it is enclosed in a cube. Typically characters walk on the ceiling/up walls/pipes etc.
Axis Runner


After many attempts (openGL in 1996 was too slow, Java in 1998 with line graphics was too dense), after someone put an amazing sculpture in the local bus interchange, after a lot of learning about graphics engines, and after the SDL game competition, here is 8000 lines of pure c coded madness!
While it is still in the prototype stage, if you have a Linux machine handy you can try it out. You will need the SDL library.

Features.
    Custom built (fast!) graphics engine; can run on old pentiums.
    User controlled perspective.
    The cube walls, normally transparent, light up when characters are walking over them.
    All moves implemented: walk, rotate up, turn, dig, fall off, fall, take parcel, drop parcel, go to next level (walk on blue square), and character collision.
    11 levels.
    Sound effects.

Project Goals.
    To make a game that is fun and mind bending to play.
    To explore dense 3D geometry.
    To run on slow machines without graphics hardware acceleration.
    To explore alternate realities ( see A Mathematician's Apology)
        distortion of space,
        game theory.
    To explore the use of algorithmic music composition and dynamic sound synthesis.
Axis Runner1
Todo.
    Python scriptable.
    Automatic camera positioning.
    Demo mode: yes, it is possible to play this!
    Easier gameplay, for instance you can't dig 3 holes in a row like the original. It is not (yet) possible to dig in any direction, only in the forward direction. This would involve adding a new move "turn and dig", triggered by, say, a shift-arrow combination.
    Sound track.
    Improve/replace font.
    Texture mapping of surfaces.
    Some flesh on the runners (and arms too); use (real time) raytracing.
    AI for the bad guys (Dijkstra's algorithm would kick ass).
    To have the sound track respond to the player's actions.
    A more intelligent way of handling obscuring surfaces (such as the enclosing cube's walls) - eg. switch to a wireframe.
    Perhaps a small global map (just pixels and lines) in the corner?
    A background, rather than suspended in the middle of nowhere. Eg. some kind of mirror effect where the structure is echoed into the distance.
    Refactoring (oh, how i love thee): there are a lot of game possibilities for using this same regular cubic grid world.
Download source code.
axis-runner.tar.gz
If you are going to try this, use '#' to skip a level and ESCAPE will get you out of the introduction. To run on a slow machine (eg. Pentium 100) remove the
#define USE_ANTI_ALIASING

in render.c.

Screenshots.


Axis Runner2Axis Runner3Axis Runner4Axis Runner5


If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:


Share on Google Plus

About Giampaolo Rossi.

Fond of computer and video games. Stay informed of the latest news on games for Linux and Android. The future of gaming is in Linux. All you need to know about How to play Windows games on Linux.
    Blogger Comment
    Facebook Comment
Latest Posts.

Random Posts