| 1 |
package Games::FrozenBubble; |
| 2 |
|
| 3 |
our $VERSION = '2.212'; #Cpan version |
| 4 |
our $RELEASE_VERSION = '2.2.1beta1'; #Distro version |
| 5 |
|
| 6 |
1; |
| 7 |
|
| 8 |
__END__ |
| 9 |
|
| 10 |
=encoding UTF-8 |
| 11 |
|
| 12 |
=head1 NAME |
| 13 |
|
| 14 |
Games::FrozenBubble - arcade/reflex game - THIS IS A BETA VERSION |
| 15 |
|
| 16 |
=head1 TIPS |
| 17 |
|
| 18 |
During net/lan game choose, there is a chat system. Here are the |
| 19 |
available keys and tips: |
| 20 |
|
| 21 |
=over |
| 22 |
|
| 23 |
=item just type and hit enter to send a message |
| 24 |
|
| 25 |
=item page up and page down allow you to view history as in IRC programs |
| 26 |
|
| 27 |
=item arrow up and down allow you to recall previous messages you've sent |
| 28 |
|
| 29 |
=item the TAB key triggers nick completion on listening players |
| 30 |
|
| 31 |
=item in the pre-game chat, the following commands are available: |
| 32 |
|
| 33 |
/me <action>: sends an action message instead of sending a regular message |
| 34 |
/nick <new_nick>: change your nick |
| 35 |
/server: query the name of the server you're connected to |
| 36 |
/fs: toggle fullscreen |
| 37 |
/list: view list of listening players |
| 38 |
/geolocate: geolocate yourself again |
| 39 |
/autokick <nick> [<text>]: add/remove that nick to autokick list |
| 40 |
|
| 41 |
=item in the in-game chat, the following commands are available: |
| 42 |
|
| 43 |
/kick <nick> [<text>]: kick a joiner from your game (if you're |
| 44 |
creator), optionally with an explanatory text |
| 45 |
|
| 46 |
=back |
| 47 |
|
| 48 |
During a game, the following default key shortcuts are |
| 49 |
available: |
| 50 |
|
| 51 |
=over |
| 52 |
|
| 53 |
=item TAB: next playlist music (if sound available and when playlist is used) |
| 54 |
|
| 55 |
=item F11: toggle music |
| 56 |
|
| 57 |
=item F12: toggle sound |
| 58 |
|
| 59 |
=item Keypad Minus: lower music/sound volume |
| 60 |
|
| 61 |
=item Keypad Plus: raise music/sound volume |
| 62 |
|
| 63 |
=back |
| 64 |
|
| 65 |
When in multiplayer with 3+ players: |
| 66 |
|
| 67 |
=over |
| 68 |
|
| 69 |
=item F1: send malus to top left player |
| 70 |
|
| 71 |
=item F2: send malus to top right player |
| 72 |
|
| 73 |
=item F3: send malus to bottom left player |
| 74 |
|
| 75 |
=item F4: send malus to bottom right player |
| 76 |
|
| 77 |
=item F10: send malus to all opponents |
| 78 |
|
| 79 |
=back |
| 80 |
|
| 81 |
Notice: you can see who you attack because the F1..F4 little text |
| 82 |
next to the player turns white - you can see who is attacking by |
| 83 |
the presence of the small pinguins of the opponent on the left of |
| 84 |
your igloo. |
| 85 |
|
| 86 |
|
| 87 |
=head1 TROUBLESHOOTING |
| 88 |
|
| 89 |
=head2 Having problems running Frozen Bubble? |
| 90 |
|
| 91 |
If you are colourblind, we already have what you're looking for: please use the |
| 92 |
C<-cb>commandline parameter, and bubbles will be printed with little geometrical |
| 93 |
symbols inside. |
| 94 |
|
| 95 |
=head2 Fix your problems |
| 96 |
|
| 97 |
Most of the problems you can encounter with Frozen-Bubble don't require |
| 98 |
contacting us directly, and actually we can't fix most of them. |
| 99 |
|
| 100 |
First, please notice that we have developed this software on the |
| 101 |
GNU/Linux platform. There are ports to other operating systems, but we |
| 102 |
can't and don't want to support them. If you happen to be using |
| 103 |
Frozen-Bubble on FreeBSD, NetBSD, Windows or Mac OS X, please contact |
| 104 |
the authors of this "port" if you have trouble |
| 105 |
installing/running/whatever. Thank you. |
| 106 |
|
| 107 |
Then, if you use Linux and |
| 108 |
installed a package provided by your distribution, you have to contact |
| 109 |
the guys of your distribution. We don't know the intrinsics of every |
| 110 |
Linux distributions and neither the patches they have applied to |
| 111 |
Frozen-Bubble when packaging. |
| 112 |
|
| 113 |
=head2 Troubleshoot most common problems on GNU/Linux |
| 114 |
|
| 115 |
First, please notice that we are not a GNU/Linux vendor, we are not |
| 116 |
Debian, Red Hat, Ubuntu, Mandriva or Gentoo. So if you can't install it with |
| 117 |
apt-get, emerge, urpmi, yum or whatever, or if you managed to install it but it |
| 118 |
won't start or won't run properly, there are much higher chances this is a |
| 119 |
problem with your vendor, not with us. Try to think before contacting us: is |
| 120 |
your problem really with our software? or with how your vendor |
| 121 |
compiled/integrated it with the system? |
| 122 |
|
| 123 |
Now, to ease your life, we provide links to common problems you may encounter. |
| 124 |
|
| 125 |
=over |
| 126 |
|
| 127 |
=item C<...cannot handle TLS data...> message at startup |
| 128 |
|
| 129 |
It seems this is related with buggy or badly installed nvidia drivers. Debian |
| 130 |
has a bugreport and a fix (L<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=223096>) |
| 131 |
for this one. |
| 132 |
|
| 133 |
=item C<Can't locate SDL.pm in @INC...> message at startup |
| 134 |
|
| 135 |
Either you didn't install sdlperl, or you installed it at the wrong location. |
| 136 |
Check where the file F<SDL.pm> was installed on your system and what is the |
| 137 |
C<@INC> search path of perl, there are chances they don't match. |
| 138 |
|
| 139 |
perl -e 'print join("\n", @INC) |
| 140 |
|
| 141 |
=item crash with a C<SIGILL> when trying to start a new game |
| 142 |
|
| 143 |
You're probably using buggy C<SDL-1.2.6> on an Intel processor; please update to |
| 144 |
C<SDL-1.2.7> or more recent. |
| 145 |
|
| 146 |
=item C<Not a HASH reference at /usr/games/frozen-bubble line 310> message at startup |
| 147 |
|
| 148 |
It seems that you're using an incompatible (too recent) version of perl-SDL on |
| 149 |
FB1. Either downgrade or apply this patch. L<http://www.frozen-bubble.org/perl-SDL.patch> |
| 150 |
|
| 151 |
=back |
| 152 |
|
| 153 |
If you have more to add, you may want to contact us: C<contact2 ļ¼ frozen-bubble.org>, |
| 154 |
L<http://sdlperl.ath.cx/projects/SDLPerl/query?component=FrozenBubble> |
| 155 |
|
| 156 |
|
| 157 |
=head1 FREQUENTLY ASKED QUESTIONS |
| 158 |
|
| 159 |
=head2 Help! I am unable to download Frozen-Bubble from your website! |
| 160 |
|
| 161 |
Uh, the downloads page (L<http://www.frozen-bubble.org/downloads/>) should be |
| 162 |
fairly understandable⦠|
| 163 |
|
| 164 |
If you're using Windows, or Mac OS X, read the I<Ports> section of the |
| 165 |
downloads page (L<http://www.frozen-bubble.org/downloads/#Ports>)! |
| 166 |
man, you can do it, I am sure you can, don't quit trying so fast! |
| 167 |
|
| 168 |
=head2 Help! Frozen-Bubble doesn't work! |
| 169 |
|
| 170 |
Easy, go to the troubleshooting page (L<http://www.frozen-bubble.org/troubleshooting/>). |
| 171 |
And don't forget we B<don't know> your system |
| 172 |
or distribution, help yourself or ask your vendor. |
| 173 |
|
| 174 |
=head2 Hey, why not porting Frozen-Bubble to <my favorite phone or whatever>? |
| 175 |
|
| 176 |
Simple! Because we aren't interested in this. Ask the authors of |
| 177 |
other ports, maybe they will be. But no use emailing us about it. |
| 178 |
Thanks. |
| 179 |
|
| 180 |
=head2 I'd suggest adding mouse aiming to the game |
| 181 |
|
| 182 |
Yes, but, see, it would not be fair to players using keyboard, |
| 183 |
because mouse aiming is analog-based, whereas keys are not. So, no |
| 184 |
mouse, sorry. |
| 185 |
|
| 186 |
=head2 My joystick doesn't work! |
| 187 |
|
| 188 |
If you're not using Linux, sorry we don't know and support your system. |
| 189 |
|
| 190 |
If you're using Linux, maybe we can help. When trying to use your |
| 191 |
joystick in Frozen-Bubble, if nothing comes up, most probably your |
| 192 |
joystick isn't configured correctly (or supported in Linux), use |
| 193 |
C<--joysticks-info> commandline parameter to verify that FB |
| 194 |
detects your joystick properly: if it does, information about your |
| 195 |
joystick(s) will be printed in console on startup, and you should |
| 196 |
have no problem using your joystick in FB - just trigger a direction |
| 197 |
or a button in the "change keys" dialog; if not, try to load the |
| 198 |
proper kernel modules etc - for example, the kernel module |
| 199 |
C<joydev> is needed for all joysticks, but it is sometimes not |
| 200 |
automatically loaded when plugging in a joystick (even in modern |
| 201 |
distros and with USB joysticks) - after loading this kernel module, |
| 202 |
retry in FB. |
| 203 |
|
| 204 |
=head2 Special keys |
| 205 |
|
| 206 |
In the 3p/4p/5p network game, you can see F1, F2, F3 and F4 printed |
| 207 |
in the game screen - one function key per remote player. These keys |
| 208 |
allow you to aim at a particular remote player instead of everyone |
| 209 |
at the same time. Indeed, by default, when you create malus bubbles |
| 210 |
to be sent to your opponents (by exploding a larger group or when |
| 211 |
bubbles were sticked to exploding bubbles), they are distributed |
| 212 |
evenly among all of the (living) opponents. If you hit the, say, F2 |
| 213 |
key before (you can verify you did because F2 is then printed in |
| 214 |
white on the game screen), next time you will create malus bubbles, they |
| 215 |
will all be sent to the top-right opponent. This feature can allow |
| 216 |
you to team up or to aim at the strongest opponent. You can hit F10 to |
| 217 |
request back an evenly distribution. Notice that when using at least |
| 218 |
version 2.1.0, you can see who's attacking you at any time by looking |
| 219 |
at at pinguins left to your igloo (L<http://www.frozen-bubble.org/data/fb2.1-attackmaterialized.png>). |
| 220 |
|
| •221 |
The keys F11 and F12 are also useful (version 2.1.0 minimum): F11 allows one to |
| 222 |
toggle the music, and F12 allows one to toggle the sound (music plus sound effects). |
| 223 |
Additionally, keypad's minus and plus keys allow to alter sound volume. |
| 224 |
|
| 225 |
=head2 It is a shame, I cannot toggle sound in the game! |
| 226 |
|
| 227 |
Easy, read the L</"Special keys"> FAQ item. |
| 228 |
|
| 229 |
=head2 Why not 2 or more players on the same computer, and still a 3/4/5 player game in network? |
| 230 |
|
| 231 |
Because in 3p/4p/5p game, there is room for only one player with full size |
| 232 |
graphics. For the other players, the graphics are smaller |
| 233 |
(L<http://www.frozen-bubble.org/downloads/data/fb2-5p.png>), so more than one |
| 234 |
local player is not possible. |
| 235 |
|
| 236 |
=head2 What are chain reactions? |
| 237 |
|
| 238 |
When you pop some bubbles, and another bubble was being held up by |
| 239 |
the bubbles you popped, that other bubble falls and becomes a malus |
| 240 |
bubble. In chain reaction mode, that other bubble can also rise up and |
| 241 |
pop some other bubbles, if you have a pair of bubbles on your screen |
| 242 |
that are the same color as it with a free position next to it. This might, in turn, release more |
| 243 |
bubbles, which can also rise up and pop pairs of their own color, in a |
| 244 |
big chain reaction. Let's illustrate that: |
| 245 |
|
| 246 |
=over |
| 247 |
|
| 248 |
=item 1. First, you pop some bubbles of the same color, yellow in our example, |
| 249 |
which release some extra bubbles of a different color (black and purple). |
| 250 |
|
| 251 |
L<http://www.frozen-bubble.org/data/cr1-0.png> |
| 252 |
|
| 253 |
=item 2. The purple bubble just falls. The black bubble would fall too, but |
| 254 |
this is chain-reaction mode. So instead of falling, the black bubble sees a |
| 255 |
group of other black bubble with a free position next to it, and swoops back up |
| 256 |
to be with them. |
| 257 |
|
| 258 |
L<http://www.frozen-bubble.org/data/cr1-1.png> |
| 259 |
|
| 260 |
=item 3. The black bubbles pop, releasing several other bubbles. The orange |
| 261 |
bubble sees a group of other orange bubbles with a free position next to it, |
| 262 |
and swoops back up to be with them. |
| 263 |
|
| 264 |
L<http://www.frozen-bubble.org/data/cr1-2.png> |
| 265 |
|
| 266 |
=item 4. The orange bubbles pop, releasing a couple of other bubbles. |
| 267 |
|
| 268 |
L<http://www.frozen-bubble.org/data/cr1-3.png> |
| 269 |
|
| 270 |
=item 5. But there are no more groups for these bubbles, so the chain reaction |
| 271 |
is over. |
| 272 |
|
| 273 |
L<http://www.frozen-bubble.org/data/cr1-4.png> |
| 274 |
|
| 275 |
=back |
| 276 |
|
| 277 |
=head2 What's single player targetting? |
| 278 |
|
| 279 |
Easy, read the L</"Special keys"> FAQ item. |
| 280 |
|
| 281 |
=head2 Can I meet the game designers or other players on IRC? |
| 282 |
|
| 283 |
Sure! Please join the IRC channel C<#fb2-en> for English, or C<#fb2-fr> for |
| 284 |
French, on irc.freenode.net (L<http://freenode.net/>) - though we're rarely |
| 285 |
there. Best is to send a mail. |
| 286 |
|
| 287 |
|
| 288 |
=head1 CONTRIBUTE |
| 289 |
|
| 290 |
Talk to FROGGS or kthakore on #sdl irc.perl.org. |
| 291 |
|
| 292 |
Fork and hack on L<http://github.com/kthakore/frozen-bubble> |