Commit b3a9e6f0 authored by Tt's avatar Tt

处理位置坐标等问题

parent 426ea164
......@@ -5215,7 +5215,7 @@
"ctor": "Float64Array",
"array": [
0,
-414.489,
-396.6,
0,
0,
0,
......@@ -5288,7 +5288,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 75.11100000000005,
"_bottom": 93,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
......
......@@ -58,7 +58,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
public layer_item_little: cc.Node = null;
_cantouch = null;
private list: Array<{ type, text, right, imgage, duration, content, audio, npcAudio, npcPlay }>;
private list: Array<{ rightPlay, type, text, right, imgage, duration, content, audio, npcAudio, npcPlay }>;
private recordFlag: number;//录音模式
private score: number;
private scoreList: Array<number>;
......@@ -322,16 +322,23 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 播放文字内容
this.label_word.active = true;
pg.view.setString(this.label_word, this.recordAudioWord);
this._cantouch = false;
// 播放鼓励
if (!this.CurrentData.rightPlay) {
this.CurrentData.rightPlay = true;
this.ani_good.active = true;
pg.hw.playLocalAudio("right")
pg.view.playDBAnimation(this.ani_good, 'newAnimation', 1);
this._cantouch = false;
pg.hw.playLocalAudio("right")
this.scheduleOnce(() => {
this._cantouch = true;
this.ani_good.active = false;
resolve('');
}, 1)
} else {
this._cantouch = true;
this.ani_good.active = false;
resolve('');
}
});
}
......
assets/sn19_read/textures/sn19/bg_bg_sn19_read.jpg

15.4 KB | W: 0px | H: 0px

assets/sn19_read/textures/sn19/bg_bg_sn19_read.jpg

665 KB | W: 0px | H: 0px

  • 2-up
  • Swipe
  • Onion skin
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