Commit 436fd779 authored by wildfirecode13's avatar wildfirecode13

update

parent 7a5f13aa
......@@ -43,7 +43,7 @@
<canvas id="canvas" style="width: 100%;height: 100%"></canvas>
</div>
<!-- 帧率检测 -->
<!-- <script src="https://yun.duiba.com.cn/db_games/libs0126/stats.js"></script> -->
<script src="https://yun.duiba.com.cn/db_games/libs0126/stats.js"></script>
<script>
//TODO我的奖品链接
window["recordUrl"] = "fe071865b.html";
......
......@@ -9,6 +9,9 @@
"co": "^4.6.0",
"del": "^2.2.1",
"fs": "0.0.2",
"imagemin": "^7.0.1",
"imagemin-mozjpeg": "^8.0.0",
"imagemin-pngquant": "^8.0.0",
"mock-webpack-plugin": "^2.0.0",
"path": "^0.12.7",
"progress": "^2.0.0",
......@@ -29,7 +32,7 @@
"createModule": "node scripts/createModule",
"createAllModule": "node scripts/createAllModule",
"flushRes": "node scripts/flushRes",
"handleRes": "node scripts/delRel && node scripts/copyRes && node scripts/createTm && node scripts/textureMerge && node scripts/delTm ",
"handleRes": "node scripts/delRel && node scripts/copyRes && node scripts/createTm && node scripts/textureMerge && node scripts/delTm && node scripts/imageMin",
"upload": "node scripts/upload",
"build": "npm run handleRes && node scripts/mergeJson && npm run upload && npm run buildTS",
"watch": "webpack --watch",
......
This diff is collapsed.
{
"groups": [
{
"keys": "closebtn.png,comCloseBtn.png,waitingBg.png,waitingRot.png",
"keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png",
"name": "common"
},
{
"keys": "progress.png,progressbg.png",
"keys": "进度条.png,进度条底.png",
"name": "loading"
},
{
"keys": "playBg.jpg",
"name": "playScene"
},
{
"keys": "ruleBg.png,我知道了.png",
"name": "RulePanel"
},
{
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "StartScene"
}
],
"path": "./resource/"
......
......@@ -47,7 +47,7 @@
"y": 272,
"type": "button",
"props": {
"tUp": "closebtn.png"
"tUp": "关闭按钮.png"
},
"id": "closeBtn"
}
......
export const ResJson = {
"groups": [
{
"keys": "closebtn.png,comCloseBtn.png,waitingBg.png,waitingRot.png",
"name": "common",
"atlas": {
"waitingBg.png": {
"x": 2,
"y": 2,
"w": 160,
"h": 180,
"ox": 0,
"oy": 0,
"sw": 160,
"sh": 180,
"ro": false
},
"closebtn.png": {
"x": 164,
"y": 2,
"w": 60,
"h": 60,
"ox": 0,
"oy": 0,
"sw": 60,
"sh": 60,
"ro": false
},
"waitingRot.png": {
"x": 164,
"y": 64,
"w": 56,
"h": 56,
"ox": 0,
"oy": 0,
"sw": 56,
"sh": 56,
"ro": false
},
"comCloseBtn.png": {
"x": 164,
"y": 122,
"w": 48,
"h": 48,
"ox": 0,
"oy": 0,
"sw": 48,
"sh": 48,
"ro": false
}
}
"keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png",
"name": "common"
},
{
"keys": "progress.png,progressbg.png",
"name": "loading",
"atlas": {
"progressbg.png": {
"x": 2,
"y": 2,
"w": 584,
"h": 24,
"ox": 0,
"oy": 0,
"sw": 584,
"sh": 24,
"ro": false
},
"progress.png": {
"x": 2,
"y": 28,
"w": 580,
"h": 20,
"ox": 0,
"oy": 0,
"sw": 580,
"sh": 20,
"ro": false
}
}
"keys": "进度条.png,进度条底.png",
"name": "loading"
},
{
"keys": "playBg.jpg",
"name": "playScene"
},
{
"keys": "ruleBg.png,我知道了.png",
"name": "RulePanel"
},
{
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "StartScene"
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1627890293/resource/"
"path": "./resource/"
}
\ No newline at end of file
......@@ -47,7 +47,7 @@ export const SkinJson = {
"y": 272,
"type": "button",
"props": {
"tUp": "closebtn.png"
"tUp": "关闭按钮.png"
},
"id": "closeBtn"
}
......
......@@ -20,10 +20,10 @@ export class LoadingScene extends Scene {
// .position.set(0, 0)
//进度条底图
this.addChild(FYGE.Sprite.fromFrame("progressbg.png"))
this.addChild(FYGE.Sprite.fromFrame("进度条底.png"))
.position.set((750 - 577) / 2, 1288 - 24)
//进度条
var pro = this.addChild(FYGE.Sprite.fromFrame("progress.png"));
var pro = this.addChild(FYGE.Sprite.fromFrame("进度条.png"));
pro.position.set((750 - 577) / 2, 1288 - 24)
//进度条托管
this.progressBar = new ProgressBarS(pro);
......@@ -71,8 +71,7 @@ export class LoadingScene extends Scene {
.call(() => {
if (pro >= 1) {
this.removeEventListener(FYGE.Event.PROGRESS, this.progressEvent, this);
// changeScene(StartScene,getWebData(WebNetName.index).data)
changeScene(StartScene,getWebData(WebNetName.index).data)
}
})
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{"proName":"test","proDesc":"","proPath":"/Users/wanghongyuan/wfc13/sxbank_money_0802","createTime":1627874091255}
{"proName":"test2","proDesc":"","proPath":"/Users/wanghongyuan/wfc13/test2","createTime":1627913763364}
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