chore: 背景音乐音量调整、README.md徽章

This commit is contained in:
streakingman 2022-09-19 20:15:29 +08:00
parent 3c8fc29dcf
commit f9811bae3b
2 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,24 @@
# 能够解出来的 "羊了个羊" 小游戏 Demo
![qrcode.png](qrcode.png)
<p>
<img src="https://img.shields.io/github/package-json/v/StreakingMan/solvable-sheep-game" alt="version"/>
<img src="https://img.shields.io/github/license/StreakingMan/solvable-sheep-game" alt="license" />
<img src="https://img.shields.io/github/stars/StreakingMan/solvable-sheep-game?style=social" alt="stars" />
<img src="https://img.shields.io/github/forks/StreakingMan/solvable-sheep-game?style=social" alt="forks" />
<img src="https://img.shields.io/github/issues-raw/StreaKingman/solvable-sheep-game" alt="issues" />
<img src="https://img.shields.io/github/issues-closed-raw/StreaKingman/solvable-sheep-game" alt="issues" />
<img src="https://img.shields.io/github/commit-activity/m/StreakingMan/solvable-sheep-game" alt="commit-activity" />
<img src="https://img.shields.io/github/last-commit/StreakingMan/solvable-sheep-game" alt="last-commit" />
<br />
<img src="https://img.shields.io/github/deployments/StreakingMan/solvable-sheep-game/Production?label=proccution%20state" alt="production-state" />
<img src="https://img.shields.io/github/deployments/StreakingMan/solvable-sheep-game/Preview?label=preview%20state" alt="preview-state" />
<img src="" alt="" />
</p>
坑爹的小游戏本来玩法挺有意思的非得恶心人根本无解99.99%无解),气的我自己写了个 demo
扫码或:<a href="https://solvable-sheep-game.streakingman.com/" target="_blank">pc 浏览器体验</a>
扫二维码或<a href="https://solvable-sheep-game.streakingman.com/" target="_blank">pc 浏览器体验</a>
![qrcode.png](qrcode.png)
## Feature

View File

@ -165,7 +165,7 @@ const App: FC = () => {
useEffect(() => {
if (!bgmRef.current) return;
if (bgmOn) {
bgmRef.current.volume = 0.15;
bgmRef.current.volume = 0.5;
bgmRef.current.play();
} else {
bgmRef.current?.pause();