Commit 141d6c77 authored by wildfirecode13's avatar wildfirecode13

update

parent ea8a17c1
{ {
"groups": [ "groups": [
{
"keys": "ruleBg.png,我知道了.png",
"name": "RulePanel"
},
{
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "StartScene"
},
{ {
"keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png", "keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png",
"name": "common" "name": "common"
}, },
{ {
"keys": "进度条.png,进度条底.png", "keys": "loading_bg.png,loading_loading.png,loading_progressbg.png,loading_progressfront.png,loading_title.png",
"name": "loading" "name": "loading"
}, },
{ {
"keys": "playBg.jpg", "keys": "playBg.jpg",
"name": "playScene" "name": "playScene"
},
{
"keys": "ruleBg.png,我知道了.png",
"name": "RulePanel"
},
{
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "StartScene"
} }
], ],
"path": "./resource/" "path": "./resource/"
......
This diff is collapsed.
export const ResJson = { export const ResJson = {
"groups": [ "groups": [
{ {
"keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png", "keys": "ruleBg.png,我知道了.png",
"name": "common", "name": "RulePanel"
"atlas": {
"toastBg.png": {
"x": 2,
"y": 2,
"w": 460,
"h": 130,
"ox": 0,
"oy": 0,
"sw": 460,
"sh": 130,
"ro": false
},
"知道啦.png": {
"x": 2,
"y": 134,
"w": 306,
"h": 102,
"ox": 0,
"oy": 0,
"sw": 306,
"sh": 102,
"ro": false
},
"waitingBg.png": {
"x": 2,
"y": 238,
"w": 160,
"h": 180,
"ox": 0,
"oy": 0,
"sw": 160,
"sh": 180,
"ro": true
},
"关闭按钮.png": {
"x": 310,
"y": 134,
"w": 60,
"h": 60,
"ox": 0,
"oy": 0,
"sw": 60,
"sh": 60,
"ro": false
},
"waitingRot.png": {
"x": 372,
"y": 134,
"w": 56,
"h": 56,
"ox": 0,
"oy": 0,
"sw": 56,
"sh": 56,
"ro": false
},
"comCloseBtn.png": {
"x": 372,
"y": 192,
"w": 48,
"h": 48,
"ox": 0,
"oy": 0,
"sw": 48,
"sh": 48,
"ro": false
}
}
}, },
{ {
"keys": "进度条.png,进度条底.png", "keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png",
"name": "loading", "name": "StartScene"
"atlas": {
"进度条底.png": {
"x": 2,
"y": 2,
"w": 584,
"h": 24,
"ox": 0,
"oy": 0,
"sw": 584,
"sh": 24,
"ro": false
},
"进度条.png": {
"x": 2,
"y": 28,
"w": 580,
"h": 20,
"ox": 0,
"oy": 0,
"sw": 580,
"sh": 20,
"ro": false
}
}
}, },
{ {
"keys": "playBg.jpg", "keys": "comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,知道啦.png",
"name": "playScene" "name": "common"
}, },
{ {
"keys": "ruleBg.png,我知道了.png", "keys": "loading_bg.png,loading_loading.png,loading_progressbg.png,loading_progressfront.png,loading_title.png",
"name": "RulePanel", "name": "loading"
"atlas": {
"ruleBg.png": {
"x": 2,
"y": 2,
"w": 680,
"h": 1120,
"ox": 0,
"oy": 0,
"sw": 680,
"sh": 1120,
"ro": false
},
"我知道了.png": {
"x": 684,
"y": 2,
"w": 412,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 412,
"sh": 114,
"ro": true
}
}
}, },
{ {
"keys": "startSceneBg.jpg,奖品按钮.png,底部按钮区背景.png,开始游戏.png,排行榜按钮.png,规则按钮.png,赚次数按钮.png,运动锦鲤按钮.png", "keys": "playBg.jpg",
"name": "StartScene", "name": "playScene"
"atlas": {
"底部按钮区背景.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 191,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 191,
"ro": false
},
"开始游戏.png": {
"x": 2,
"y": 195,
"w": 413,
"h": 149,
"ox": 0,
"oy": 0,
"sw": 413,
"sh": 149,
"ro": false
},
"运动锦鲤按钮.png": {
"x": 417,
"y": 195,
"w": 121,
"h": 117,
"ox": 0,
"oy": 0,
"sw": 121,
"sh": 117,
"ro": true
},
"奖品按钮.png": {
"x": 536,
"y": 195,
"w": 119,
"h": 44,
"ox": 0,
"oy": 0,
"sw": 119,
"sh": 44,
"ro": true
},
"规则按钮.png": {
"x": 582,
"y": 195,
"w": 119,
"h": 44,
"ox": 0,
"oy": 0,
"sw": 119,
"sh": 44,
"ro": true
},
"排行榜按钮.png": {
"x": 628,
"y": 195,
"w": 91,
"h": 117,
"ox": 0,
"oy": 0,
"sw": 91,
"sh": 117,
"ro": true
},
"赚次数按钮.png": {
"x": 2,
"y": 346,
"w": 92,
"h": 117,
"ox": 0,
"oy": 0,
"sw": 92,
"sh": 117,
"ro": true
}
}
} }
], ],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1627916159/resource/" "path": "./resource/"
} }
\ No newline at end of file
This diff is collapsed.
...@@ -20,10 +20,10 @@ export class LoadingScene extends Scene { ...@@ -20,10 +20,10 @@ export class LoadingScene extends Scene {
// .position.set(0, 0) // .position.set(0, 0)
//进度条底图 //进度条底图
this.addChild(FYGE.Sprite.fromFrame("进度条底.png")) this.addChild(FYGE.Sprite.fromFrame("loading_progressbg.png"))
.position.set((750 - 577) / 2, 1288 - 24) .position.set((750 - 577) / 2, 1288 - 24)
//进度条 //进度条
var pro = this.addChild(FYGE.Sprite.fromFrame("进度条.png")); var pro = this.addChild(FYGE.Sprite.fromFrame("loading_progressfront.png"));
pro.position.set((750 - 577) / 2, 1288 - 24) pro.position.set((750 - 577) / 2, 1288 - 24)
//进度条托管 //进度条托管
this.progressBar = new ProgressBarS(pro); this.progressBar = new ProgressBarS(pro);
......
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