summaryrefslogtreecommitdiff
path: root/README
blob: 3ae25dc8c075ce38863f407b4f87e0acbca8f552 (plain)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
			       Lunar Lander 1.3 
			    Presented by Noddybox 95-05

You should find in the archive :

README			This file
Makefile		Simple bog standard make file for lunar and ledit
lunar.c			Main code
ledit.c			Lever editor
LEVELS/*		Example level files.  See LEVELS/README for info.
			Feel free to add more with ledit!
Xbit.[ch]		Library routines for easy X11 Xlib access
fontset.h               XImage font definitions for Xbit library
icon                    Icon for Xbit library


BUILD INSTRUCTIONS
------------------

Though written under FreeBSD, it should compile OK on most flavours of unix.


USAGE
-----

lunar [-noshm] [scale]	- Use scale to magnify the screen.  Use -noshm to
			  disable MIT_SHM usage if it causes problems.


ledit <level_file>


LUNAR LANDER KEYS
-----------------

Z			Rotate left
C			Rotate right
A			Fine rotate left
D			Fine rotate right
.			Thrust
Q			Quit (from title page), or quit back to title page
P			Pause while playing
[			Zoom out of vector display
]			Zoom into vector display


LEDIT KEYS
----------

Cursor left/right	Previous/next object
Cursor up/down		Zoom in/out
C			Create new object, origin at mouse position
D			Delete last object
O			Set origin to mouse position
1-5			Set object type
G			Set centre of screen to mouse position
H			Reset centre of screen
S			Save level
MB1			Add point to current object at mouse position
MB2			Delete last point in current object

Note : 'Star effect' shows where the lander will start off.  Colur coding of
	objects is :

	    White	- Mountain
	    Red		- Mine
	    Yellow	- Asteroid (spinning clockwise)
	    Blue	- Asteroid (spinning anti-clockwise)
	    Green	- Landing pad
	    Cyan	- Origin of current object
	    Flashing	- Current object


INSTRUCTIONS
------------

The object of the game is to land the lander on the green landing pad, gently
enough so you don't make a crater, and the right way up!  

Everything else will either kill or hurt you.  The game is up once your fuel
has reached zero.  You lose 50 fuel units every time you crash, and are
refuelled with 200 units every time you land.

Feel free to play with ledit, and improve on my dubious levels!


NOTES
-----

lunar switches off auto repeat to enhance the keyboard reading when running.
Auto repeat is re-enabled when you exit the game cleanly from the title page.

If you kill it mid-game, auto repeat will still be off.  It can be re-enabled
from the shell with 'xset r on'.


Have Fun.