File: README.md

package info (click to toggle)
xjump 2.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 256 kB
  • sloc: ansic: 1,037; makefile: 78; sh: 30
file content (84 lines) | stat: -rw-r--r-- 2,257 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# FALLING TOWER Version 2.9

A game where you jump up and up while the tower collapses under your feet.

## Installation

If you performed a git clone instead of downloading the source tarball,
see the Development section of this README for instructions on how to
generate the configure script.

Once you have the configure script, install xjump using the usual
configure + make install pattern:

    ./configure
    make
    sudo make install
    
Run `./configure -- help` for a list of configuration options to tweak
install locations, etc.
    
To allow xjump to update the highscore file on behalf of regular user,
your system must have a user and group namd `games`. We expect this to
be standard in Linux distributions.

## Game controls

To move: arrow keys, WASD, IJKL or the keypad arrow keys  
To jump: Up or Down arrow keys, Z or SPACE  
To pause and unpause: P or the Pause keypad.  
To exit the game: Shift+Q  

## Configuring xjump

To configure xjump create a configuration file at $HOME/.config/xjump.config
You can use the following keys during configuration:

* themeFile : Path to a custom sprite file. Ex.: /usr/share/xjump/themes/jumpnbump.xpm
* theme : Name of a custom sprite theme bundled with xjump. Ex.: jumpnbump

Here is an example of an xjump configuration file:

    # This is a comment
    theme = jumpnbump

## Custom graphics

Xjump can use custom textures in xpm format. The required dimensions are 144x64.

In the following diagram, each letter represents a 16x16 pixel area.

    11223344A
    11223344B
    55667788C
    55667788D

Legend:
  
    1 = Standing, moving left  (1/2)
    2 = Standing, moving right (1/2)
    3 = Standing, moving left  (2/2)
    4 = Standing, moving right (2/2)
    5 = Going up, moving left
    6 = Going up, moving right
    7 = Falling,  moving left
    8 = Falling,  moving right
    
    A = Wall background
    B = Left column
    C = Right column
    D = Platform

For examples, see the themes folder.

## Development

To generate the configure script and the makefile templates you must have
the GNU autotools installed and run autoreconf:

    autoreconf --install

If you want to delete all thoss files the autotools generated, the best way 
is via Git itself:

    git clean -xd