Commit 603b0522 authored by 张华挺's avatar 张华挺

award

parent c5cff6ab
...@@ -85,15 +85,7 @@ ...@@ -85,15 +85,7 @@
<e:Image id="tuiaTips" y="0" touchEnabled="false" source="dailingqu_png"/> <e:Image id="tuiaTips" y="0" touchEnabled="false" source="dailingqu_png"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Group id="newTuiaGroup" y="325" right="30" visible="true"> <e:Group id="newTuiaGroup" y="325" right="200" visible="false">
<e:Button label="" y="0">
<e:skinName>
<e:Skin states="up,down,disabled">
<!-- <e:Image width="100%" height="100%" source="newVideoIcon_gif" source.down="newVideoIcon_gif" source.disabled="newVideoIcon_gif"/> -->
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
</e:Group> </e:Group>
<e:Group id="friendBtn" x="-0.12" y="22.31" width="171" height="120"> <e:Group id="friendBtn" x="-0.12" y="22.31" width="171" height="120">
......
...@@ -319,7 +319,6 @@ export default class MainScene extends Scene { ...@@ -319,7 +319,6 @@ export default class MainScene extends Scene {
*/ */
initSvgas() { initSvgas() {
var resPath = getResPath(); var resPath = getResPath();
console.log(resPath)
if (!svgaParser) svgaParser = new window["SVGA"].Parser(); if (!svgaParser) svgaParser = new window["SVGA"].Parser();
var svgas = ["amazing", "great", "wonderful", "bonusTime"]; var svgas = ["amazing", "great", "wonderful", "bonusTime"];
//如果有节日的加 //如果有节日的加
...@@ -349,7 +348,6 @@ export default class MainScene extends Scene { ...@@ -349,7 +348,6 @@ export default class MainScene extends Scene {
} }
//初始化界面ui,,道具弄在这里s //初始化界面ui,,道具弄在这里s
initUi() { initUi() {
console.log(1234123)
//第几关 //第几关
var chapterTxt = new ChapterNum(); var chapterTxt = new ChapterNum();
chapterTxt.num = this.chapter >> 0; chapterTxt.num = this.chapter >> 0;
......
...@@ -88,10 +88,7 @@ export default class MapScene extends Scene { ...@@ -88,10 +88,7 @@ export default class MapScene extends Scene {
this.bindTuiaActivity(this["tuiaGroup"]); this.bindTuiaActivity(this["tuiaGroup"]);
break; break;
case 0: case 0:
// var data = RES.getRes("newVideoIcon_move"); await loadSvga(getResPath() + 'resource/assets/svgas/newTuiaIcon.svga', this['newTuiaGroup']);
// var txtr = RES.getRes("newVideoIcon_png");
// var mcFactory:egret.MovieClipDataFactory = new egret.MovieClipDataFactory( data, txtr );
// console.log(mcFactory)
this.bindTuiaActivity(this["newTuiaGroup"]); this.bindTuiaActivity(this["newTuiaGroup"]);
break; break;
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"data":{ "data":{
"changeCoin":10, "changeCoin":10,
"coinBalance":50, "coinBalance":50,
"remainAwardTimes":0 "remainAwardTimes":1
}, },
"desc":"OK", "desc":"OK",
"success":true, "success":true,
......
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