Bomber
A “BomberMan” clone game by
Georgios Cherouveim
One Player Mode
Use the bombs to destroy blocks and clear your way. Collect any power Ups. Kill all the enemies. Find the exit to proceed to the next map.
Two Players Mode
Use the bombs to destroy blocks and clear your way. Collect any power Ups. Kill the other Player, but also be careful for the enemies.
Caution:
Enemies will kill you if they touch you.
Your bombs can kill you as well.
If a bomb explodes near an exit, 5 enemies will spawn!
Power Ups
(B+) Increases the bomb limit by 1. (maximum 99)
(F+) Increases the explosion radius by 1 unit. (maximum 99)
(L+) Increases the player's Lives by one. (maximum 99)
(CD) Controlled detonation.
(SU) Speed Up. Velocity * 3.
(SD) Speed Down. Velocity / 3.
(SN) Speed Normal. Set Velocity back to default.
(SB) Super Bomb. Instead of 4 fires, explosion produces a ring of 20! Be careful where you are standing!
(UB) Unlimited Bombs. Sets the Bomb Limit to Infinite.
(GH) Ghost Mode. Player can walk through Blocks and Bombs.
(GD) GOD Mode. Ghost Mode plus invulnerability. (it will last until the next map)
(RD) Random. Randomly gives a Power Up that the player doesn't have.
Keys
Arrow keys : Player 1 Movement
Enter : Player 1 Drop A Bomb
Backspace : Player 1 Detonate the first bomb. (only if player has the CD Power Up)
a,w,d,(s,z,x) : Player 2 Movement
Tab : Player 2 Drop A Bomb
(q,`) : Player 2 Detonate the first bomb. (only if player has the CD Power Up)
RMB drag : Rotate the camera.
MMB drag : Track the camera.
F1 : Info
Spacebar : Pause/Continue
1 : One Player Mode
2 : Two Players Mode
PgUp : Goto the next map. If there is not one, it will reload the last one.
PgDn : Goto the previous map. If there is not one, it will reload the first one.
Home : Restart the game from the first map.
R : Reloads the current map.
f : Prints out the frame rate and also the average frame rate.
</> : Adjust the camera FOV.
+/- : Adjust the sound volume.
Esc : Exit
Map Creation
Use a normal text editor to make any new maps and place it under the ./maps/ directory with the proper filename.
Symbols:
P : Player1
p : Player2
W : Walls
B : Collapsable blocks
E : Enemy
X : Exit
POWER UPS
1 : Bomb Limit + 1
2 : Fire Radius + 1
3 : Controlled Detonation
4 : Speed * 3
5 : Speed * 0.3
6 : Super Bombs
7 : Unlimited Bombs
8 : Ghost (Player can go through walls and bombs)
9 : GOD (Player is Ghost and also is not affected by enemies and fires
0 : Random Power Up
+ : Lives ++
- : Normal Speed
# : Single line comment
</> : Block comment. Don't forget to close it cause it will cause problems
Advice :
First, fill a line with spaces, copy paste them many times to fill a big square and the press Insert. That way it's easier to navigate .
Don't forget to put the two players and the exit.
Name your .map file with the proper number so the program can detect it and load it in your desired order. You can make up to 99 maps. Use padding of 2 (ex. 08.map)
You can reload the modified map during run time, by pressing shift-R.
Theoretically you can create as big map as you want. But depending on your CPU and graphics card, there is limit before frame rate drops dramatically.
If the frame rate drops below 20 fps, the program may not function properly. That's because of my poor implementation of the collision detection algorithm. In this case make the map smaller or buy a faster computer ( ; This problem may also arise if the player gets the Speed Up power Up.
Note for Linux Red Hat Users :
In case sound doesn't work, disable the option in : control center / sound & multimedia / sound system / start aRts sound server. Hopefully this will solve the problem.
Comments to:
Enjoy