README
======

Dust Racing (Dustrac) is a tile-based, cross-platform 2D racing game written
in Qt (C++) and OpenGL.

Dust Racing comes with a Qt-based level editor for easy level creation.
A separate engine, MiniCore, is used for physics modeling.

License
-------

Dust Racing source code is licensed under GNU GPLv3. 
See COPYING for the complete license text.

All image files, except where otherwise noted, are licensed under
CC BY-NC 3.0.

http://creativecommons.org/licenses/by-nc/3.0/

Playing
-------

The player one controls the pink race car:

Accelerate : Up / RIGHT SHIFT
Brake      : Down / RIGHT CTRL
Turn left  : Left
Turn right : Right

The player two controls the grey race car (game mode
can be selected in the Settings menu):

Accelerate : W / LEFT SHIFT
Brake      : S / LEFT CTRL
Turn left  : A
Turn right : D

ESC or Q exits the race and also the current menu.

P pauses the game.

Dust Racing searches for race tracks also in ~/DustRacingTracks/
where you can place your own race tracks.

Source code
-----------

The source tree includes source code for the track editor and
the game itself. The game uses an 2D engine called MiniCore
written by Jussi Lind. The code is "documented" by using
Doxygen tags.

The source tree layout:

src/game/          : Source files for the game.
src/game/MiniCore/ : Graphics and physics engine.
src/game/MTFH/     : Menu Toolkit From Hell.
src/editor/        : Source files for the track editor.
src/common/        : Shared files between the editor and the game.
src/images/        : Some SVG-images used as the source for final images.
data/              : Data mapping and configuration files.
data/images/       : Image files and textures loaded by the game.
data/levels/       : Level data.
data/shaders/      : GLSL shaders.
packaging/         : Example packaging for Ubuntu/Debian.

See INSTALL for build and install instructions.

-- Jussi Lind <jussi.lind@iki.fi>

