📄 readme
字号:
NanoBreaker by Alex Holden <alex@alexholden.net>------------------------------------------------This game is a clone of Breakout. It has many similarities to another Breakoutclone called Arkanoid. One of the main advances of the game over most otherBreakout clones is its extensive use of alpha blending- all of the bricks,bats, the ball, and the splash graphics can be loaded from PNG files withalpha channels, and they will be blended onto the background screen with fulltranslucency. Also, bricks which require multiple hits to destroy become moretranlucent with each subsequent hit, and when changing levels there is agradual blended fade between the old level and the new one.The object of the game is to complete all of the levels. In order to completeeach level it is necessary to destroy all of the bricks which it is possible todestroy (some bricks are indestructable and hence do not need to be destroyedto advance to the next level). The way to destroy bricks is to hit them withthe ball (sometimes they only need to be hit once, sometimes they need to behit several times). When you fail to hit the ball with your bat and it fallsto the bottom of the screen, it is lost and you are given another ball fromthe row at the top of the screen. You only have a limited number of ballsthough, and if you run out then the game is lost. Every time you successfullycomplete a level, you are given some extra balls as a reward. Some bricks havepower-ups or power-downs hidden behind them, which appear when the brick isdestroyed. You must catch them as they fall down the screen in order toactivate them.Several power-ups and power-downs are available in the game:WideBat makes the bat wider.SlowMotion makes the ball move more slowly.sTickyBat makes the ball stick to the bat every time it hits it.PowerBall makes the ball able to destroy multiple-hit bricks and even normallyindestructable bricks with a single hit.NarrowBat makes the bat narrower.FastMotion make the ball move more quickly.The power-ups and power-downs all expire after some amount of time (configurablein the game file). Catching a power-up increases your score by some amount andcatching a power-down decreases it. Destroying an ordinary brick increasesyour score by a small amount, but some bricks have bonusses hidden behind themwhich can increase your score by a much larger amount.There are two ways to control the game: with the mouse (or touchscreen) andwith the keyboard (note that if you are using a PDA with some input buttons onit some of them may be configured to act as cursor keys). With the mouse,clicking a button advances from the title screen to the first level, and thenclicking it again launches the ball from the bat. Moving it left and rightcauses the bat to move left and right. With the keyboard, the space barperforms the same function as the mouse button, and the left and right cursorkeys are used to move the bat left and right.There are two other keys which may be of use: F1 is used to pause andunpause the game, and F2 is used to forfeit the current ball (may benecessary in some advanced levels where it is possible for the ball to becomecaught in a trap of indestructable bricks).The game is described by an ASCII level file which allows new levels to becreated very easily, and many aspects of the game to be easily modified.For example, the default game file is optimised for display at a resolution of640*480, but it is easy to make the bricks smaller or larger or to change thesize of the brick area in the game by modifiying parameters in the game file.If you specify a filename on the command line, it will be used as the game file.If it is in a directory other than the default game directory, the directory inwhich it looks for the file (and for all the graphics files) can be givenon the command line using the "-d <directory>" option.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -