-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: 移除了计时器,更改了游戏的记分方法,现在记分更准确了
- Loading branch information
Showing
21 changed files
with
1,241 additions
and
1,308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,21 +8,26 @@ Flappy Bird for desktop platforms. | |
|
||
## Overview | ||
|
||
本项目为Flappy bird的桌面平台版,具备原版的所有功能,且相较于原版优化了游戏难度并加入移动型水管,让游戏更具可玩性。 | ||
### 游戏玩法 | ||
游戏只需空格键即可操作,每局游戏随机刷新所有元素,小鸟受到重力作用会不断下坠,敲击空格键小鸟就会振翅向上飞,游戏过程中需要玩家控制小鸟不断飞行,并注意躲避随机生成的水管,每飞过一对水管就会得分,飞行过程中如果撞到水管或掉落在地则游戏结束。 | ||
本项目为Flappy bird的桌面平台版,具备原版的所有功能,且相较于原版优化了游戏难度并加入移动型水管,增加可玩性。 | ||
|
||
## How to play | ||
直接运行FlappyBird.jar即可开始游戏。 | ||
|
||
游戏使用空格键操作。 | ||
|
||
每局游戏随机刷新所有元素,小鸟受到重力作用会不断下坠,敲击空格键使小鸟振翅向上飞,游戏过程中需要玩家控制小鸟不断飞行,并注意躲避随机生成的水管,每飞过一对水管就会得分,飞行过程中如果撞到水管或掉落在地则游戏结束。 | ||
|
||
|
||
## 游戏界面 | ||
|
||
### 游戏启动 | ||
![image](https://github.com/kingyuluk/flappy-bird/blob/master/examples/start.png) | ||
![image](https://github.com/kingyuluk/FlappyBird/blob/master/resources/readme_img/start.png) | ||
|
||
### 运行示例 | ||
![image](https://github.com/kingyuluk/flappy-bird/blob/master/examples/play.gif) | ||
![image](https://github.com/kingyuluk/FlappyBird/blob/master/resources/readme_img/play.gif) | ||
|
||
### 游戏结束 | ||
![image](https://github.com/kingyuluk/flappy-bird/blob/master/examples/over.png) | ||
![image](https://github.com/kingyuluk/FlappyBird/blob/master/resources/readme_img/over.png) | ||
|
||
|
||
## Package Contents | ||
|
@@ -34,6 +39,9 @@ Flappy Bird for desktop platforms. | |
|
||
## Change Log | ||
|
||
v1.2.2 - July 12, 2020 | ||
* 移除了计时器,优化了游戏的记分方式,现在记分更准确了 | ||
|
||
v1.2.1 - July 12, 2020 | ||
* 使用AudioClip类的方法播放连续的短音频可能会导致线程冲突使游戏卡顿 | ||
|
||
|
@@ -55,4 +63,8 @@ v1.0.0 - July 10, 2020 | |
* sun包在不同操作系统和不同版本的JDK中可能发生变化,因此无法确保工作在所有JAVA平台上 | ||
|
||
## Contact | ||
* email: <[email protected]> | ||
* email: <[email protected]> | ||
|
||
## License | ||
|
||
* 图片与音效资源皆来源于网络,仅供学习交流 |
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.