Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guangjun Jia
FlappyBird
Commits
e2cb276d
Commit
e2cb276d
authored
Jul 12, 2020
by
kingyu
Committed by
kingyuluk
Jul 12, 2020
Browse files
feat: 更换音频播放方式
BREAKING CHANGE: 使用AudioClip类的方法播放连续的短音频可能会导致线程冲突使游戏卡顿,改用sun.audio类的AudioPlayer方法播放音频
parent
4e8f8dab
Changes
37
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
e2cb276d
...
...
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file. See
[
standard-version
](
https://github.com/conventional-changelog/standard-version
)
for commit guidelines.
### [1.2.1](https://github.com/kingyuluk/FlappyBird/compare/v1.2.0...v1.2.1) (2020-07-12)
### ⚠ BREAKING CHANGES
*
使用AudioClip类的方法播放连续的短音频可能会导致线程冲突使游戏卡顿
*
改用sun.audio类的AudioPlayer方法播放音频
### Features
*
更换音频播放方式 (
[
4868023
](
https://github.com/kingyuluk/FlappyBird/commit/48680232dda693dfb499699e4d953ab70670a21d
)
)
## 1.2.0 (2020-07-11)
...
...
README.md
View file @
e2cb276d
...
...
@@ -8,9 +8,9 @@ Flappy Bird for desktop platforms.
## Overview
本项目为Flappy bird的桌面平台版,具备原版的所有功能,且相较于原版优化了游戏难度
的梯度
并加入移动型水管,
使
游戏
的
可玩性
更高
。
本项目为Flappy bird的桌面平台版,具备原版的所有功能,且相较于原版优化了游戏难度并加入移动型水管,
让
游戏
更具
可玩性。
### 游戏玩法
每局游戏随机刷新所有元素,
游戏只需空格键即可操作
,敲击
按
键小鸟就会振翅向上飞,
且受到重力作用会不断下坠,
需要玩家控制小鸟不断飞行,并注意躲避随机生成的水管,每飞过一对水管就会得分,飞行过程中如果撞到水管或掉落在地则游戏结束。
游戏只需空格键即可操作,
每局游戏随机刷新所有元素,
小鸟受到重力作用会不断下坠
,敲击
空格
键小鸟就会振翅向上飞,
游戏过程中
需要玩家控制小鸟不断飞行,并注意躲避随机生成的水管,每飞过一对水管就会得分,飞行过程中如果撞到水管或掉落在地则游戏结束。
## 游戏界面
...
...
@@ -33,9 +33,14 @@ Flappy Bird for desktop platforms.
*
com.bird.util 自定义的工具
## Change Log
v1.2.1 - July 12, 2020
*
使用AudioClip类的方法播放连续的短音频可能会导致线程冲突使游戏卡顿
改用sun.audio类的AudioPlayer方法播放音频
v1.2.0 - July 11, 2020
*
现在水管可以移动了,
随着游戏分数的上升会提升游戏难度
*
现在水管可以移动了,
移动型水管刷新的概率会随着当前游戏分数递增
v1.1.0 - July 11, 2020
*
添加了悬浮型的水管
...
...
@@ -47,7 +52,7 @@ v1.0.0 - July 10, 2020
*
文本编码格式为UTF-8,若注释出现乱码请修改编译器的文本编码格式
*
由于使用了sun.
*
包,
不同版本的JDK中
sun包中的类
可能发生变化,因此无法确保工作在所有JAVA平台上
*
sun包在不同操作系统和
不同版本的JDK中可能发生变化,因此无法确保工作在所有JAVA平台上
## Contact
*
email:
<kingyuluk@mail.dlut.edu.cn>
sources/img/0.png
→
re
sources/img/0.png
View file @
e2cb276d
File moved
sources/img/1.png
→
re
sources/img/1.png
View file @
e2cb276d
File moved
sources/img/2.png
→
re
sources/img/2.png
View file @
e2cb276d
File moved
sources/img/3.png
→
re
sources/img/3.png
View file @
e2cb276d
File moved
sources/img/4.png
→
re
sources/img/4.png
View file @
e2cb276d
File moved
sources/img/5.png
→
re
sources/img/5.png
View file @
e2cb276d
File moved
sources/img/6.png
→
re
sources/img/6.png
View file @
e2cb276d
File moved
sources/img/7.png
→
re
sources/img/7.png
View file @
e2cb276d
File moved
sources/img/again.png
→
re
sources/img/again.png
View file @
e2cb276d
File moved
sources/img/background.png
→
re
sources/img/background.png
View file @
e2cb276d
File moved
sources/img/cloud_0.png
→
re
sources/img/cloud_0.png
View file @
e2cb276d
File moved
sources/img/cloud_1.png
→
re
sources/img/cloud_1.png
View file @
e2cb276d
File moved
sources/img/dead.png
→
re
sources/img/dead.png
View file @
e2cb276d
File moved
sources/img/down_0.png
→
re
sources/img/down_0.png
View file @
e2cb276d
File moved
sources/img/down_1.png
→
re
sources/img/down_1.png
View file @
e2cb276d
File moved
sources/img/down_2.png
→
re
sources/img/down_2.png
View file @
e2cb276d
File moved
sources/img/down_3.png
→
re
sources/img/down_3.png
View file @
e2cb276d
File moved
sources/img/down_4.png
→
re
sources/img/down_4.png
View file @
e2cb276d
File moved
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment