1README for xsoldier
2$Id: README,v 1.9 2011/08/09 08:12:25 oohara Exp $
3
4* what is xsoldier
5xsoldier is a shoot 'em up game with the "not shooting" bonus. It is
62D (that is, hardware acceleration is not necessary if you have a "not bad"
7CPU) game for one player using the X Window System or the Simple DirectMedia
8Layer (SDL) library.
9
10So, why yet another shoot 'em up? Because xsoldier has a unique feature
11--- the "not shooting" bonus. You can get a pretty good score by not
12pressing the shoot button. This is an answer to my motto for a shoot 'em up,
13that is, "why a shoot button?". After all, if the game is a simple
14kill-everything and shooting is always a good thing, why do I have to
15press a shoot button (or worse, hit the shoot button again and again)?
16You can play xsoldier as a simple kill-everything (and it is the best way
17to survive), but if you care your score, you need to kill all enemies
18with a minimum number of bullets.
19
20* how to install xsoldier
21See the file INSTALL for information about how to install xsoldier.
22In short, install libc, libX11 and libXpm, then type
231) ./configure
242) make
253) make install
26If you use SDL instead of X, install libSDL and libSDL_image instead of
27libX11 and libXpm, then use the --with-sdl option of ./configure .
28
29* overview of the game
30In xsoldier, you move a space ship and shoot enemies (they usually appear
31from the upper side of the window, but some appear from the _lower_ side).
32If you kill the boss enemy which appears at the end of each stage, or if
33you can survive till the boss enemy gets bored with you and escapes, you
34can go to the next stage.
35
36xsoldier has 8 stages. You need to clear each stage 3 times to clear the
37entire game (24 stages total). A set of the 8 stages is called a "loop".
38If you cleared the first loop (that is, the first 8 stages), the second
39loop will begin after the ending (a staff scroll), with more difficulty
40(enemies shoot more, enemy shots move faster and so on). Similarly,
41the third loop will begin after the second loop (and the second ending).
42The third loop is very dangerous because enemies will _always_ leave a shot
43when they die.
44
45* command line options
46
47** (-d | -display) NAME
48Specify the (X window) display on which you want to play the game.
49
50** (-w | -wait) NUMBER
51Set the speed of the game. A higher number means the game runs slower.
52NUMBER must be a positive integer. If you use this option and if NUMBER
53is greater than the default (use -h to see it), the ranking mode is
54turned off.
55
56** (-c | -cmap)
57This option has no effect (only for backward compatibility).
58
59** (-s | -score)
60Show the top 10 soldiers, that is, the high score list.
61
62** (-h | -help)
63Show a short help text and exit.
64
65** -maxlevel
66Force max level enemy attack, making your life really harder.
67
68** -nopausemessage
69Don't show "Press [p] to resume game." message when the game is paused.
70This is useful for capturing a screen snapshot.
71
72
73If you compiled xsoldier with debugging features, the follwing options
74are also available. They disable the ranking mode.
75
76** -stage L-S
77Start the game with the stage S of the loop L. S must be a positive
78integer between 1 and 8, and L must be a positive integer between
791 and 3.
80
81** -stage S
82Start the game with the stage S. S must be a positive integer between
831 and 8,
84
85** -loop L
86Start the game with the loop L. L must be a positive integer between
871 and 3.
88
89** -ship N
90Start the game with N ships. N must be a integer between 0 and 99.
91
92** -maxpower
93Make sure that you always have a maximum power weapon.
94
95* key control
96cursor keys move
97left shift shoot (auto-repeat)
98a speed up
99s speed down
100p pause/resume
101q quit the game
102space start the game (in the title/ending)
103
104You can use a joystick too if xsoldier is compiled with joystick support
105(see INSTALL). Note that joystick support is no longer maintained.
106Probably it won't work on a system other than Linux.
107
108If you compiled xsoldier with debug features, some keys are also available
109for cheating:
110w change weapon
111c clear enemy shots
112
113* power-up items
114Some enemies sometimes leave a power-up item when they die (others never do).
115There are 2 kinds of items. The one which says "Pow" makes your shots more
116powerful. The other one (which changes its appearance periodically) changes
117your weapon and makes your shots a bit more powerful.
118
119There are 3 kinds of weapons you can use --- blue, yellow and gray.
120The blue shot is fast, damages fairly well and you can shoot it
121backward if you correct enough power-up items. The yellow shot shoots
122many, many bullets, so you don't need to aim very carefully. However,
123each bullet deals only a little damage. The gray shot is slow and
124you can shoot it only forward, but it damages very well (even boss enemies
125will die in a few seconds).
126
127If you already have enough power-up items and gets another one, it will
128give you bonus points. If you die, you may lose some of power-up items.
129
130* "not shooting" bonus
131You get a bonus automatically as long as you don't press the shoot key
132(to be precise, if it is at least 5 frames after you released the shoot key).
133This bonus is called "not shooting" bonus. The more enemy there are in
134the window, the more points you get. Enemy shots, power-up items and
135explosions also count as enemies for the "not shooting" bonus.
136
137* shoot down bonus
138When you clear a stage by destroying the boss enemy, you get a bonus
139according to the percentage of enemies you destroyed in this stage.
14095% destroy bonus is 1/2 of 100% destroy bonus, 90% destroy bonus is
1411/3 of of 100% destroy bonus and so on. The shoot down bonus is larger
142in later stages.
143
144* game tips
145Your ship is smaller than it looks. In other words, your ship will not be
146destroyed even if enemy shots touch it a bit.
147
148The yellow shot is the best way to survive. Keep pressing the shoot key
149unless you are an expert. Problems are that your score will be poor and
150that the yellow shot is not good at killing the boss enemies.
151
152Play with the boss enemies for a while to get the "not shooting" bonus.
153stage estimated bonus difficulty
154 1 small easy
155 2 small very easy (loop 1), hard (loop 2 or later)
156 3 small hard
157 4 medium normal (loop 1 or 2), hard (loop 3)
158 5 very big easy (loop 1), normal (loop 2 or later)
159 6 big hard
160 7 small hard
161 8 very big very hard
162Make sure that you destroy the boss enemies before they escape. Don't
163miss the shoot down bonus.
164
165* feedback
166Send comments or bug reports to Oohara Yuuma <oohara@libra.interq.or.jp>.
167Also check the xsoldier webpage:
168http://www.interq.or.jp/libra/oohara/xsoldier/index.html
169
170* license
171See the file LICENSE for information about the license. In short,
172the license is GPL version 2 or later.
173
174* history
175The original author of xsoldier was Yuusuke HASHIMOTO <hachi@pm.highway.ne.jp>.
176He maintained xsoldier until version 0.96. It was a simple but decent
177shoot 'em up. The original xsoldier webpage was
178http://www.surfline.ne.jp/hachi/xsoldier.html .
179
180Oohara Yuuma <oohara@libra.interq.or.jp> took over the development of
181xsoldier and added the "not shooting" bonus. The game bacame easy if
182you are interested in just surviving.
183