Commit af75a815 authored by 李维's avatar 李维

Test on platform

parent 933a92fb
...@@ -463,6 +463,7 @@ export default class GameLogic { ...@@ -463,6 +463,7 @@ export default class GameLogic {
let p2 = null let p2 = null
if(this.g_formData.dataArray[this.m_currentQuestion].rightType == "image") { if(this.g_formData.dataArray[this.m_currentQuestion].rightType == "image") {
console.log("右侧加载图片")
this.g_cartoon.getCartoonElement("rightImageContainer").node.active = true this.g_cartoon.getCartoonElement("rightImageContainer").node.active = true
this.g_cartoon.getCartoonElement("rightDragonContainer").node.active = false this.g_cartoon.getCartoonElement("rightDragonContainer").node.active = false
p2 = new Promise((resolve, reject) => { p2 = new Promise((resolve, reject) => {
...@@ -471,6 +472,7 @@ export default class GameLogic { ...@@ -471,6 +472,7 @@ export default class GameLogic {
}) })
}) })
} else { } else {
console.log("右侧加载骨骼动画")
this.g_cartoon.getCartoonElement("rightImageContainer").node.active = false this.g_cartoon.getCartoonElement("rightImageContainer").node.active = false
this.g_cartoon.getCartoonElement("rightDragonContainer").node.active = true this.g_cartoon.getCartoonElement("rightDragonContainer").node.active = true
p2 = new Promise((resolve, reject) => { p2 = new Promise((resolve, reject) => {
......
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