Commit ffe3a1c1 authored by 董政锦's avatar 董政锦

feat: game4 PC端马的进度(基础速度+得分加速度);

parent cb184464
...@@ -262,7 +262,7 @@ const startGameWithMusic = () => { ...@@ -262,7 +262,7 @@ const startGameWithMusic = () => {
console.log('[Game4] startGameWithMusic called, local mode:', $is_local_mode(), 'playerCount:', playerCount.value) console.log('[Game4] startGameWithMusic called, local mode:', $is_local_mode(), 'playerCount:', playerCount.value)
// 确保背景音乐播放(参考 game2 的 watch 模式,但直接在点击时调用更可靠) // 确保背景音乐播放(参考 game2 的 watch 模式,但直接在点击时调用更可靠)
playGame4Music() playGame4Music()
// 本地模拟已关闭,如需开启请取消以下注释 // // 本地模拟已关闭,如需开启请取消以下注释
// if ($is_local_mode()) { // if ($is_local_mode()) {
// console.log('[Game4] 本地模式,直接进入赛马画面') // console.log('[Game4] 本地模式,直接进入赛马画面')
// gotoRank1WithIntro() // gotoRank1WithIntro()
...@@ -279,7 +279,7 @@ const startGameWithMusic = () => { ...@@ -279,7 +279,7 @@ const startGameWithMusic = () => {
const nextRound = () => { const nextRound = () => {
// 立刻停止喝彩音乐并移除指针事件监听,防止点击按钮时重新触发 playApplauseMusic // 立刻停止喝彩音乐并移除指针事件监听,防止点击按钮时重新触发 playApplauseMusic
stopApplauseMusic() stopApplauseMusic()
// 本地模拟已关闭,如需开启请取消以下注释 // // 本地模拟已关闭,如需开启请取消以下注释
// if ($is_local_mode()) { // if ($is_local_mode()) {
// gotoLoading(true) // gotoLoading(true)
// return // return
...@@ -299,7 +299,7 @@ const nextRoundWithMusic = () => { ...@@ -299,7 +299,7 @@ const nextRoundWithMusic = () => {
const backHandler = async() => { const backHandler = async() => {
// 立刻停止喝彩音乐并移除指针事件监听,防止点击按钮时重新触发 playApplauseMusic // 立刻停止喝彩音乐并移除指针事件监听,防止点击按钮时重新触发 playApplauseMusic
stopApplauseMusic() stopApplauseMusic()
// 本地模拟已关闭,如需开启请取消以下注释 // // 本地模拟已关闭,如需开启请取消以下注释
// if ($is_local_mode()) { // if ($is_local_mode()) {
// stopAllMusic() // stopAllMusic()
// router.replace('/main') // router.replace('/main')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment