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

award

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