Commit fc7dc3cf authored by 杨一航's avatar 杨一航

change 表单key值

parent 63509f87
......@@ -120,12 +120,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 猫咪读条音频(匹配界面开始匹配前): audioUrl_loading
// 猫咪选牌提示音频: audioUrl_start
// 猫咪选牌超时自动选择音频: audioUrl_waiting_firstRound
// 开始猜词提示音频: audioUrl_filled
// 答错还剩一次机会: audioUrl_keyboard_pop
// 长时间不提问的提示1: audioUrl_timeout_firstround
// 长时间不提问的提示2: audioUrl_finish_firstRound
// 长时间不提问的提示3: audioUrl_waiting_secondRound
// 猫咪选牌超时自动选择音频: audioUrl_auto_chose
// 开始猜词提示音频: audioUrl_start_guessing
// 猜词待机提示音频: audioUrl_waiting_guessing
// 答错还剩两次次机会: audioUrl_tip_wrong1
// 答错还剩一次机会: audioUrl_tip_wrong2
// 长时间不提问的提示1: audioUrl_tip1
// 长时间不提问的提示2: audioUrl_tip2
// 长时间不提问的提示3: audioUrl_tip3
// 猫咪胜利结束音频(两轮游戏都结束): audioUrl_win
// 猫咪失败结束音频(两轮游戏都结束): audioUrl_lose
......@@ -133,12 +135,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
this._audioResList.push({ url: this.data.audioUrl_loading });
this._audioResList.push({ url: this.data.audioUrl_start });
this._audioResList.push({ url: this.data.audioUrl_waiting_firstRound });
this._audioResList.push({ url: this.data.audioUrl_waiting_secondRound });
this._audioResList.push({ url: this.data.audioUrl_filled });
this._audioResList.push({ url: this.data.audioUrl_keyboard_pop });
this._audioResList.push({ url: this.data.audioUrl_timeout_firstround });
this._audioResList.push({ url: this.data.audioUrl_finish_firstRound });
this._audioResList.push({ url: this.data.audioUrl_auto_chose });
this._audioResList.push({ url: this.data.audioUrl_waiting_guessing });
this._audioResList.push({ url: this.data.audioUrl_start_guessing });
this._audioResList.push({ url: this.data.audioUrl_tip_wrong1 });
this._audioResList.push({ url: this.data.audioUrl_tip1 });
this._audioResList.push({ url: this.data.audioUrl_tip2 });
this._audioResList.push({ url: this.data.audioUrl_tip3 });
this._audioResList.push({ url: this.data.audioUrl_win });
this._audioResList.push({ url: this.data.audioUrl_lose });
......@@ -238,25 +241,19 @@ export default class SceneComponent extends MyCocosSceneComponent {
// } else if (this._round == 2) {
asyncPlayDragonBoneAnimation(this.cat, "begin", 0);
this.playAudioByUrl(this.data.audioUrl_filled, () => {
this.playAudioByUrl(this.data.audioUrl_waiting_guessing, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0);
this._catSpeaking = false;
})
// }
// this.playAudioByUrl(this.data.audioUrl_filled, () => {
// aniCall();
// this._catSpeaking = false;
// asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
// })
}
longTimeNoAction() {
let index = Math.floor(Math.random() * 3);
let list = [
this.data.audioUrl_timeout_firstround,
this.data.audioUrl_finish_firstRound,
this.data.audioUrl_waiting_secondRound]
this.data.audioUrl_tip1,
this.data.audioUrl_tip2,
this.data.audioUrl_tip3]
cc.audioEngine.stopAllEffects();
this._catSpeaking = true;
......@@ -494,7 +491,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let aniCall = () => {
this._sendMsg(MsgType.USER_PREPARE_REQ, {});
// this.playAudioByUrl(this.data.audioUrl_keyboard_pop)
// this.playAudioByUrl(this.data.audioUrl_tip_wrong1)
// this._keyboard.showIn();
}
......@@ -578,7 +575,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
})
this.playAudioByUrl(this.data.audioUrl_filled, () => {
this.playAudioByUrl(this.data.audioUrl_start_guessing, () => {
aniCall();
this._catSpeaking = false;
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
......@@ -607,7 +604,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this._canChosendCard = false;
asyncPlayDragonBoneAnimation(this.cat, "begin", 0)
this._catSpeaking = true;
this.playAudioByUrl(this.data.audioUrl_waiting_firstRound, () => {
this.playAudioByUrl(this.data.audioUrl_auto_chose, () => {
asyncPlayDragonBoneAnimation(this.cat, "normal", 0)
this._catSpeaking = false;
let card = this.cardRoot.children[index];
......
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