Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔立强
db-game-template
Commits
ac7195ab
Commit
ac7195ab
authored
Sep 11, 2019
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
d92ee2fd
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
943 additions
and
1929 deletions
+943
-1929
cli copy_20190911165423.txt
.history/cli copy_20190911165423.txt
+12
-0
index_20190719140236.html
.history/egret/index_20190719140236.html
+0
-200
index_20190731184207.html
.history/egret/index_20190731184207.html
+0
-201
index_20190801165955.html
.history/egret/index_20190801165955.html
+0
-204
index_20190802171555.html
.history/egret/index_20190802171555.html
+0
-244
index_20190802171949.html
.history/egret/index_20190802171949.html
+0
-243
index_20190911111204.html
.history/egret/index_20190911111204.html
+2
-1
cli copy.txt
cli copy.txt
+12
-0
index.html
egret/index.html
+1
-1
svga.egret.min.js
egret/libs/modules/egret/svga.egret.min.js
+1
-0
default.res.json
egret/resource/default.res.json
+911
-831
StartSceneSkin.exml
egret/resource/skins/StartSceneSkin.exml
+4
-4
No files found.
.history/cli copy_20190911165423.txt
0 → 100644
View file @
ac7195ab
https://rdc.aliyun.com/req/1677481/asd
var regular="(\\S+)//(\\S+)/(\\S+)/(\\S+)/(\\S+)";
var re = new RegExp(regular,"g");
data=window.location.href.replace(re,"$4")
console.log(data)
data=window.location.href.replace(/(\S+)//(\S+)/(\S+)/(\S+)/(\S+)/,"$4")
console.log(data)
\ No newline at end of file
.history/egret/index_20190719140236.html
deleted
100644 → 0
View file @
d92ee2fd
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Egret
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"true"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<style>
html
,
body
{
-ms-touch-action
:
none
;
background
:
#888888
;
padding
:
0
;
border
:
0
;
margin
:
0
;
height
:
100%
;
}
</style>
</head>
<body>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"30"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"false"
data-show-log=
"false"
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/game/game.min.js"
></script>
<script
src=
"libs/modules/promise/promise.js"
></script>
<script
src=
"libs/zepto.min.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
<!-- <script src="default.thm.js"></script> -->
<script
src=
"output.js"
></script>
<script>
// 网鱼网咖图标额外奖励插件
window
[
'extraPlugId'
]
=
123
;
// 引导奖励插件
window
[
'guidePrizePlugId'
]
=
1309
;
var
development
=
true
;
var
gameId
=
1
;
var
CFG
=
{
"credits"
:
110
,
"creditsUnitName"
:
'金币'
,
"partnerUserId"
:
'ozEMOw82nHMvSYzXiKMNon-e47Pg'
,
"appId"
:
1
,
"currentTime"
:
1525770319000
,
"notLogin"
:
false
,
"goodsDomain"
:
'//goods.m.duiba.com.cn'
,
"homeDomain"
:
'//home.m.duiba.com.cn'
,
"embedDomain"
:
'//embedlog.duiba.com.cn'
,
"openLogin"
:
"false"
,
"loginProgram"
:
"aaaa"
,
"dcustom"
:
{
"cover"
:
"http://kd01-1253445850.image.myqcloud.com/scanimg/scan_34900810171ab09ef915267b361ba4b0.jpg?imageView2/2/w/170"
,
"subject"
:
"数学"
,
"grade"
:
"高一"
,
"id"
:
"e225c36aa550414d4091790b2f6d9922"
,
"version"
:
"其他"
},
// "dcustom": {"cover":"http%3A%2F%2Fkd01-1253445850.image.myqcloud.com%2Fscanimg%2Fscan_a5c6853687bdfb48ef0b26dbbcecf767.jpg%3FimageView2%2F2%2Fw%2F170","subject":"%E6%95%B0%E5%AD%A6","grade":"%E9%AB%98%E4%B8%80","id":"58ada634b79ffe943840f39397f2451a","version":"%E6%96%B0%E8%AF%BE%E6%A0%87%E7%89%88"},
"activityId"
:
1
,
"consumerId"
:
1539361
// "petHomeInfo": '{"awardPluginId":1028,"feedLimit":10,"foodName":"萝卜","foodNum":990,"full":true,"leftMinutes":1,"petId":0,"petLevel":0,"petOwner":true,"status":5}'
}
var
errorMessage
=
{
"100000"
:
"睡觉期间不能喂食"
,
"100001"
:
"不在喂食时间内,不能喂食"
,
"100002"
:
"食物不足"
,
"100003"
:
"当日喂食次数超限"
,
"100004"
:
"宠物养成活动状态异常"
,
"100005"
:
"饲养账户更新异常"
,
"100006"
:
"宠物喂食时间间隔内"
,
"100007"
:
"吃饱状态不能再喂食"
,
"100008"
:
"外出状态不能喂食"
,
"300001"
:
"宠物饥饿状态下不能出行"
,
"300002"
:
"宠物吃饱状态下不能出行"
,
"300003"
:
"已经出行,不能再出行"
,
"400001"
:
"出游状态不能使用该道具"
,
"400002"
:
"用户宠物道具不足"
,
"500001"
:
"宠物名字重复"
,
"500002"
:
"宠物名字不合法"
};
var
skinID
=
111
;
//皮肤id
//地图场景等级配置 {'场景名':对应的解锁等级, ...}
var
mapLockCFG
=
{
'中国'
:
1
,
'亚洲'
:
4
,
'欧洲'
:
7
}
var
mapPosCFG
=
{
'中国'
:
{
北京
:
[
539
,
193
],
石家庄
:
[
532
,
238
],
长白山
:
[
664
,
145
],
洛阳
:
[
511
,
275
],
上海
:
[
616
,
323
],
杭州
:
[
591
,
355
],
武汉
:
[
506
,
352
],
张家界
:
[
451
,
367
],
广州
:
[
482
,
490
],
三亚
:
[
454
,
535
],
乌鲁木齐
:
[
201
,
134
],
敦煌
:
[
287
,
197
],
青海湖
:
[
343
,
224
],
九寨沟
:
[
344
,
281
],
成都
:
[
355
,
330
],
拉萨
:
[
212
,
330
],
西双版纳
:
[
332
,
470
],
台湾
:
[
628
,
433
],
香港
:
[
532
,
504
],
澳门
:
[
482
,
515
]
},
'亚洲'
:
{
东京
:
[
725
,
200
],
首尔
:
[
610
,
181
],
文莱
:
[
593
,
367
],
长滩岛
:
[
653
,
350
],
曼谷
:
[
429
,
364
],
岘港
:
[
490
,
373
],
芽庄
:
[
476
,
419
],
吉隆坡
:
[
398
,
437
],
新加坡
:
[
455
,
468
],
巴厘岛
:
[
550
,
502
],
沙特
:
[
45
,
208
],
耶路撒冷
:
[
11
,
125
],
伊朗
:
[
128
,
165
],
迪拜
:
[
105
,
226
],
尼泊尔
:
[
336
,
258
],
新德里
:
[
243
,
261
],
孟买
:
[
209
,
319
],
万象
:
[
442
,
327
],
斯里兰卡
:
[
287
,
426
],
马尔代夫
:
[
225
,
451
]
},
'欧洲'
:
{}
}
//出游消耗的金币
var
tourCost
=
100
;
//集卡规则ID列表,[中国id, 亚洲id, 欧洲id]
var
collectRuleIdList
=
[
11
,
22
,
0
];
//签到活动id
var
signActivityId
=
1
;
//分享插件ID
var
sharePlugID
=
1217
;
//新用户插件ID
var
newUserPlugID
=
1214
;
var
mapPlugIDList
=
[
1218
,
1219
];
var
weUrl
=
'http://weserver.duibadev.com.cn'
;
var
recordUrl
=
'https://trade.m.duiba.com.cn'
;
function
resolve
(
a
)
{
var
b
=
eval
(
a
);
return
b
;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
function
(
context
)
{
var
backingStore
=
context
.
backingStorePixelRatio
||
context
.
webkitBackingStorePixelRatio
||
context
.
mozBackingStorePixelRatio
||
context
.
msBackingStorePixelRatio
||
context
.
oBackingStorePixelRatio
||
context
.
backingStorePixelRatio
||
1
;
return
(
window
.
devicePixelRatio
||
1
)
/
backingStore
;
}
});
</script>
</body>
</html>
\ No newline at end of file
.history/egret/index_20190731184207.html
deleted
100644 → 0
View file @
d92ee2fd
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Egret
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"true"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<style>
html
,
body
{
-ms-touch-action
:
none
;
background
:
#888888
;
padding
:
0
;
border
:
0
;
margin
:
0
;
height
:
100%
;
}
</style>
</head>
<body>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"30"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"false"
data-show-log=
"false"
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/game/game.min.js"
></script>
<script
src=
"libs/modules/promise/promise.js"
></script>
<script
src=
"libs/zepto.min.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
<!-- <script src="default.thm.js"></script> -->
<script
src=
"output.js"
></script>
<script>
// 网鱼网咖图标额外奖励插件
window
[
'extraPlugId'
]
=
123
;
// 引导奖励插件
window
[
'guidePrizePlugId'
]
=
1309
;
var
development
=
true
;
var
gameId
=
1
;
var
CFG
=
{
"credits"
:
110
,
"creditsUnitName"
:
'金币'
,
"partnerUserId"
:
'ozEMOw82nHMvSYzXiKMNon-e47Pg'
,
"appId"
:
1
,
"currentTime"
:
1525770319000
,
"notLogin"
:
false
,
"goodsDomain"
:
'//goods.m.duiba.com.cn'
,
"homeDomain"
:
'//home.m.duiba.com.cn'
,
"embedDomain"
:
'//embedlog.duiba.com.cn'
,
"openLogin"
:
"false"
,
"loginProgram"
:
"aaaa"
,
"dcustom"
:
{
"cover"
:
"http://kd01-1253445850.image.myqcloud.com/scanimg/scan_34900810171ab09ef915267b361ba4b0.jpg?imageView2/2/w/170"
,
"subject"
:
"数学"
,
"grade"
:
"高一"
,
"id"
:
"e225c36aa550414d4091790b2f6d9922"
,
"version"
:
"其他"
},
// "dcustom": {"cover":"http%3A%2F%2Fkd01-1253445850.image.myqcloud.com%2Fscanimg%2Fscan_a5c6853687bdfb48ef0b26dbbcecf767.jpg%3FimageView2%2F2%2Fw%2F170","subject":"%E6%95%B0%E5%AD%A6","grade":"%E9%AB%98%E4%B8%80","id":"58ada634b79ffe943840f39397f2451a","version":"%E6%96%B0%E8%AF%BE%E6%A0%87%E7%89%88"},
"activityId"
:
1
,
"consumerId"
:
1539361
// "petHomeInfo": '{"awardPluginId":1028,"feedLimit":10,"foodName":"萝卜","foodNum":990,"full":true,"leftMinutes":1,"petId":0,"petLevel":0,"petOwner":true,"status":5}'
}
var
errorMessage
=
{
"100000"
:
"睡觉期间不能喂食"
,
"100001"
:
"不在喂食时间内,不能喂食"
,
"100002"
:
"食物不足"
,
"100003"
:
"当日喂食次数超限"
,
"100004"
:
"宠物养成活动状态异常"
,
"100005"
:
"饲养账户更新异常"
,
"100006"
:
"宠物喂食时间间隔内"
,
"100007"
:
"吃饱状态不能再喂食"
,
"100008"
:
"外出状态不能喂食"
,
"300001"
:
"宠物饥饿状态下不能出行"
,
"300002"
:
"宠物吃饱状态下不能出行"
,
"300003"
:
"已经出行,不能再出行"
,
"400001"
:
"出游状态不能使用该道具"
,
"400002"
:
"用户宠物道具不足"
,
"500001"
:
"宠物名字重复"
,
"500002"
:
"宠物名字不合法"
};
var
skinID
=
111
;
//皮肤id
//地图场景等级配置 {'场景名':对应的解锁等级, ...}
var
mapLockCFG
=
{
'中国'
:
1
,
'亚洲'
:
4
,
'欧洲'
:
7
}
var
mapPosCFG
=
{
'中国'
:
{
北京
:
[
539
,
193
],
石家庄
:
[
532
,
238
],
长白山
:
[
664
,
145
],
洛阳
:
[
511
,
275
],
上海
:
[
616
,
323
],
杭州
:
[
591
,
355
],
武汉
:
[
506
,
352
],
张家界
:
[
451
,
367
],
广州
:
[
482
,
490
],
三亚
:
[
454
,
535
],
乌鲁木齐
:
[
201
,
134
],
敦煌
:
[
287
,
197
],
青海湖
:
[
343
,
224
],
九寨沟
:
[
344
,
281
],
成都
:
[
355
,
330
],
拉萨
:
[
212
,
330
],
西双版纳
:
[
332
,
470
],
台湾
:
[
628
,
433
],
香港
:
[
532
,
504
],
澳门
:
[
482
,
515
]
},
'亚洲'
:
{
东京
:
[
725
,
200
],
首尔
:
[
610
,
181
],
文莱
:
[
593
,
367
],
长滩岛
:
[
653
,
350
],
曼谷
:
[
429
,
364
],
岘港
:
[
490
,
373
],
芽庄
:
[
476
,
419
],
吉隆坡
:
[
398
,
437
],
新加坡
:
[
455
,
468
],
巴厘岛
:
[
550
,
502
],
沙特
:
[
45
,
208
],
耶路撒冷
:
[
11
,
125
],
伊朗
:
[
128
,
165
],
迪拜
:
[
105
,
226
],
尼泊尔
:
[
336
,
258
],
新德里
:
[
243
,
261
],
孟买
:
[
209
,
319
],
万象
:
[
442
,
327
],
斯里兰卡
:
[
287
,
426
],
马尔代夫
:
[
225
,
451
]
},
'欧洲'
:
{}
}
//出游消耗的金币
var
tourCost
=
100
;
//集卡规则ID列表,[中国id, 亚洲id, 欧洲id]
var
collectRuleIdList
=
[
11
,
22
,
0
];
//签到活动id
var
signActivityId
=
1
;
//分享插件ID
var
sharePlugID
=
1217
;
//新用户插件ID
var
newUserPlugID
=
1214
;
var
mapPlugIDList
=
[
1218
,
1219
];
var
weUrl
=
'http://weserver.duibadev.com.cn'
;
var
recordUrl
=
'https://trade.m.duiba.com.cn'
;
function
resolve
(
a
)
{
var
b
=
eval
(
a
);
return
b
;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
function
(
context
)
{
var
backingStore
=
context
.
backingStorePixelRatio
||
context
.
webkitBackingStorePixelRatio
||
context
.
mozBackingStorePixelRatio
||
context
.
msBackingStorePixelRatio
||
context
.
oBackingStorePixelRatio
||
context
.
backingStorePixelRatio
||
1
;
return
(
window
.
devicePixelRatio
||
1
)
/
backingStore
;
}
});
</script>
</body>
</html>
\ No newline at end of file
.history/egret/index_20190801165955.html
deleted
100644 → 0
View file @
d92ee2fd
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Egret
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"true"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<style>
html
,
body
{
-ms-touch-action
:
none
;
background
:
#888888
;
padding
:
0
;
border
:
0
;
margin
:
0
;
height
:
100%
;
}
</style>
</head>
<body>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"30"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"false"
data-show-log=
"false"
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
<img
id=
"shareImg"
/>
<div
id=
"sCloseBtn"
></div>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/game/game.min.js"
></script>
<script
src=
"libs/modules/promise/promise.js"
></script>
<script
src=
"libs/zepto.min.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
<!-- <script src="default.thm.js"></script> -->
<script
src=
"output.js"
></script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.2.0.js"
></script>
<script>
// 网鱼网咖图标额外奖励插件
window
[
'extraPlugId'
]
=
123
;
// 引导奖励插件
window
[
'guidePrizePlugId'
]
=
1309
;
var
development
=
true
;
var
gameId
=
1
;
var
CFG
=
{
"credits"
:
110
,
"creditsUnitName"
:
'金币'
,
"partnerUserId"
:
'ozEMOw82nHMvSYzXiKMNon-e47Pg'
,
"appId"
:
1
,
"currentTime"
:
1525770319000
,
"notLogin"
:
false
,
"goodsDomain"
:
'//goods.m.duiba.com.cn'
,
"homeDomain"
:
'//home.m.duiba.com.cn'
,
"embedDomain"
:
'//embedlog.duiba.com.cn'
,
"openLogin"
:
"false"
,
"loginProgram"
:
"aaaa"
,
"dcustom"
:
{
"cover"
:
"http://kd01-1253445850.image.myqcloud.com/scanimg/scan_34900810171ab09ef915267b361ba4b0.jpg?imageView2/2/w/170"
,
"subject"
:
"数学"
,
"grade"
:
"高一"
,
"id"
:
"e225c36aa550414d4091790b2f6d9922"
,
"version"
:
"其他"
},
// "dcustom": {"cover":"http%3A%2F%2Fkd01-1253445850.image.myqcloud.com%2Fscanimg%2Fscan_a5c6853687bdfb48ef0b26dbbcecf767.jpg%3FimageView2%2F2%2Fw%2F170","subject":"%E6%95%B0%E5%AD%A6","grade":"%E9%AB%98%E4%B8%80","id":"58ada634b79ffe943840f39397f2451a","version":"%E6%96%B0%E8%AF%BE%E6%A0%87%E7%89%88"},
"activityId"
:
1
,
"consumerId"
:
1539361
// "petHomeInfo": '{"awardPluginId":1028,"feedLimit":10,"foodName":"萝卜","foodNum":990,"full":true,"leftMinutes":1,"petId":0,"petLevel":0,"petOwner":true,"status":5}'
}
var
errorMessage
=
{
"100000"
:
"睡觉期间不能喂食"
,
"100001"
:
"不在喂食时间内,不能喂食"
,
"100002"
:
"食物不足"
,
"100003"
:
"当日喂食次数超限"
,
"100004"
:
"宠物养成活动状态异常"
,
"100005"
:
"饲养账户更新异常"
,
"100006"
:
"宠物喂食时间间隔内"
,
"100007"
:
"吃饱状态不能再喂食"
,
"100008"
:
"外出状态不能喂食"
,
"300001"
:
"宠物饥饿状态下不能出行"
,
"300002"
:
"宠物吃饱状态下不能出行"
,
"300003"
:
"已经出行,不能再出行"
,
"400001"
:
"出游状态不能使用该道具"
,
"400002"
:
"用户宠物道具不足"
,
"500001"
:
"宠物名字重复"
,
"500002"
:
"宠物名字不合法"
};
var
skinID
=
111
;
//皮肤id
//地图场景等级配置 {'场景名':对应的解锁等级, ...}
var
mapLockCFG
=
{
'中国'
:
1
,
'亚洲'
:
4
,
'欧洲'
:
7
}
var
mapPosCFG
=
{
'中国'
:
{
北京
:
[
539
,
193
],
石家庄
:
[
532
,
238
],
长白山
:
[
664
,
145
],
洛阳
:
[
511
,
275
],
上海
:
[
616
,
323
],
杭州
:
[
591
,
355
],
武汉
:
[
506
,
352
],
张家界
:
[
451
,
367
],
广州
:
[
482
,
490
],
三亚
:
[
454
,
535
],
乌鲁木齐
:
[
201
,
134
],
敦煌
:
[
287
,
197
],
青海湖
:
[
343
,
224
],
九寨沟
:
[
344
,
281
],
成都
:
[
355
,
330
],
拉萨
:
[
212
,
330
],
西双版纳
:
[
332
,
470
],
台湾
:
[
628
,
433
],
香港
:
[
532
,
504
],
澳门
:
[
482
,
515
]
},
'亚洲'
:
{
东京
:
[
725
,
200
],
首尔
:
[
610
,
181
],
文莱
:
[
593
,
367
],
长滩岛
:
[
653
,
350
],
曼谷
:
[
429
,
364
],
岘港
:
[
490
,
373
],
芽庄
:
[
476
,
419
],
吉隆坡
:
[
398
,
437
],
新加坡
:
[
455
,
468
],
巴厘岛
:
[
550
,
502
],
沙特
:
[
45
,
208
],
耶路撒冷
:
[
11
,
125
],
伊朗
:
[
128
,
165
],
迪拜
:
[
105
,
226
],
尼泊尔
:
[
336
,
258
],
新德里
:
[
243
,
261
],
孟买
:
[
209
,
319
],
万象
:
[
442
,
327
],
斯里兰卡
:
[
287
,
426
],
马尔代夫
:
[
225
,
451
]
},
'欧洲'
:
{}
}
//出游消耗的金币
var
tourCost
=
100
;
//集卡规则ID列表,[中国id, 亚洲id, 欧洲id]
var
collectRuleIdList
=
[
11
,
22
,
0
];
//签到活动id
var
signActivityId
=
1
;
//分享插件ID
var
sharePlugID
=
1217
;
//新用户插件ID
var
newUserPlugID
=
1214
;
var
mapPlugIDList
=
[
1218
,
1219
];
var
weUrl
=
'http://weserver.duibadev.com.cn'
;
var
recordUrl
=
'https://trade.m.duiba.com.cn'
;
function
resolve
(
a
)
{
var
b
=
eval
(
a
);
return
b
;
}
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
function
(
context
)
{
var
backingStore
=
context
.
backingStorePixelRatio
||
context
.
webkitBackingStorePixelRatio
||
context
.
mozBackingStorePixelRatio
||
context
.
msBackingStorePixelRatio
||
context
.
oBackingStorePixelRatio
||
context
.
backingStorePixelRatio
||
1
;
return
(
window
.
devicePixelRatio
||
1
)
/
backingStore
;
}
});
</script>
</body>
</html>
\ No newline at end of file
.history/egret/index_20190802171555.html
deleted
100644 → 0
View file @
d92ee2fd
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Egret
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"true"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<style>
html
,
body
{
-ms-touch-action
:
none
;
background
:
#888888
;
padding
:
0
;
border
:
0
;
margin
:
0
;
height
:
100%
;
}
</style>
</head>
<body>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"30"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"false"
data-show-log=
"false"
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
<img
id=
"shareImg"
/>
<div
id=
"sCloseBtn"
></div>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/game/game.min.js"
></script>
<script
src=
"libs/modules/promise/promise.js"
></script>
<script
src=
"libs/zepto.min.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
<!-- <script src="default.thm.js"></script> -->
<script
src=
"output.js"
></script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.2.0.js"
></script>
<script>
// 网鱼网咖图标额外奖励插件
window
[
'extraPlugId'
]
=
123
;
// 引导奖励插件
window
[
'guidePrizePlugId'
]
=
1309
;
var
development
=
true
;
var
gameId
=
1
;
var
CFG
=
{
"credits"
:
110
,
"creditsUnitName"
:
'金币'
,
"partnerUserId"
:
'ozEMOw82nHMvSYzXiKMNon-e47Pg'
,
"appId"
:
1
,
"currentTime"
:
1525770319000
,
"notLogin"
:
false
,
"goodsDomain"
:
'//goods.m.duiba.com.cn'
,
"homeDomain"
:
'//home.m.duiba.com.cn'
,
"embedDomain"
:
'//embedlog.duiba.com.cn'
,
"openLogin"
:
"false"
,
"loginProgram"
:
"aaaa"
,
"dcustom"
:
{
"cover"
:
"http://kd01-1253445850.image.myqcloud.com/scanimg/scan_34900810171ab09ef915267b361ba4b0.jpg?imageView2/2/w/170"
,
"subject"
:
"数学"
,
"grade"
:
"高一"
,
"id"
:
"e225c36aa550414d4091790b2f6d9922"
,
"version"
:
"其他"
},
// "dcustom": {"cover":"http%3A%2F%2Fkd01-1253445850.image.myqcloud.com%2Fscanimg%2Fscan_a5c6853687bdfb48ef0b26dbbcecf767.jpg%3FimageView2%2F2%2Fw%2F170","subject":"%E6%95%B0%E5%AD%A6","grade":"%E9%AB%98%E4%B8%80","id":"58ada634b79ffe943840f39397f2451a","version":"%E6%96%B0%E8%AF%BE%E6%A0%87%E7%89%88"},
"activityId"
:
1
,
"consumerId"
:
1539361
// "petHomeInfo": '{"awardPluginId":1028,"feedLimit":10,"foodName":"萝卜","foodNum":990,"full":true,"leftMinutes":1,"petId":0,"petLevel":0,"petOwner":true,"status":5}'
}
var
errorMessage
=
{
"100000"
:
"睡觉期间不能喂食"
,
"100001"
:
"不在喂食时间内,不能喂食"
,
"100002"
:
"食物不足"
,
"100003"
:
"当日喂食次数超限"
,
"100004"
:
"宠物养成活动状态异常"
,
"100005"
:
"饲养账户更新异常"
,
"100006"
:
"宠物喂食时间间隔内"
,
"100007"
:
"吃饱状态不能再喂食"
,
"100008"
:
"外出状态不能喂食"
,
"300001"
:
"宠物饥饿状态下不能出行"
,
"300002"
:
"宠物吃饱状态下不能出行"
,
"300003"
:
"已经出行,不能再出行"
,
"400001"
:
"出游状态不能使用该道具"
,
"400002"
:
"用户宠物道具不足"
,
"500001"
:
"宠物名字重复"
,
"500002"
:
"宠物名字不合法"
};
var
skinID
=
111
;
//皮肤id
//地图场景等级配置 {'场景名':对应的解锁等级, ...}
var
mapLockCFG
=
{
'中国'
:
1
,
'亚洲'
:
4
,
'欧洲'
:
7
}
var
mapPosCFG
=
{
'中国'
:
{
北京
:
[
539
,
193
],
石家庄
:
[
532
,
238
],
长白山
:
[
664
,
145
],
洛阳
:
[
511
,
275
],
上海
:
[
616
,
323
],
杭州
:
[
591
,
355
],
武汉
:
[
506
,
352
],
张家界
:
[
451
,
367
],
广州
:
[
482
,
490
],
三亚
:
[
454
,
535
],
乌鲁木齐
:
[
201
,
134
],
敦煌
:
[
287
,
197
],
青海湖
:
[
343
,
224
],
九寨沟
:
[
344
,
281
],
成都
:
[
355
,
330
],
拉萨
:
[
212
,
330
],
西双版纳
:
[
332
,
470
],
台湾
:
[
628
,
433
],
香港
:
[
532
,
504
],
澳门
:
[
482
,
515
]
},
'亚洲'
:
{
东京
:
[
725
,
200
],
首尔
:
[
610
,
181
],
文莱
:
[
593
,
367
],
长滩岛
:
[
653
,
350
],
曼谷
:
[
429
,
364
],
岘港
:
[
490
,
373
],
芽庄
:
[
476
,
419
],
吉隆坡
:
[
398
,
437
],
新加坡
:
[
455
,
468
],
巴厘岛
:
[
550
,
502
],
沙特
:
[
45
,
208
],
耶路撒冷
:
[
11
,
125
],
伊朗
:
[
128
,
165
],
迪拜
:
[
105
,
226
],
尼泊尔
:
[
336
,
258
],
新德里
:
[
243
,
261
],
孟买
:
[
209
,
319
],
万象
:
[
442
,
327
],
斯里兰卡
:
[
287
,
426
],
马尔代夫
:
[
225
,
451
]
},
'欧洲'
:
{}
}
//出游消耗的金币
var
tourCost
=
100
;
//集卡规则ID列表,[中国id, 亚洲id, 欧洲id]
var
collectRuleIdList
=
[
11
,
22
,
0
];
//签到活动id
var
signActivityId
=
1
;
//分享插件ID
var
sharePlugID
=
1217
;
//新用户插件ID
var
newUserPlugID
=
1214
;
var
mapPlugIDList
=
[
1218
,
1219
];
var
weUrl
=
'http://weserver.duibadev.com.cn'
;
var
recordUrl
=
'https://trade.m.duiba.com.cn'
;
function
resolve
(
a
)
{
var
b
=
eval
(
a
);
return
b
;
}
var
shareData
=
{
title
:
'飞船登陆汪星球!超多萌宠可爱来袭!'
,
//标题
desc
:
'谁家汪更可爱?'
,
//描述
link
:
"https://activity-2.m.duiba.com.cn/customShare/share?id=2921"
,
//链接
imgUrl
:
'https://yun.duiba.com.cn/db_games/activity/yjyc/share.jpg'
,
//图片
}
wx
.
config
({
debug
:
$wxdebug
,
appId
:
'$wxappid'
,
timestamp
:
'$wxtimestamp'
,
nonceStr
:
'$wxnonceStr'
,
signature
:
'$wxsignature'
,
jsApiList
:
[
'checkJsApi'
,
'onMenuShareTimeline'
,
'onMenuShareAppMessage'
]
});
function
invokeWX
(
shareData
)
{
wx
.
onMenuShareTimeline
({
title
:
shareData
.
title
,
//标题
desc
:
shareData
.
desc
,
//描述
link
:
shareData
.
link
,
//链接
imgUrl
:
shareData
.
imgUrl
,
//图片
success
:
function
()
{},
cancel
:
function
()
{}
});
wx
.
onMenuShareAppMessage
({
title
:
shareData
.
title
,
//标题
desc
:
shareData
.
desc
,
//描述
link
:
shareData
.
link
,
//链接
imgUrl
:
shareData
.
imgUrl
,
//图片
success
:
function
(
e
)
{},
cancel
:
function
()
{}
});
}
// window.location.href=shareData.link;
wx
.
ready
(
function
(){
invokeWX
(
shareData
);
});
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
function
(
context
)
{
var
backingStore
=
context
.
backingStorePixelRatio
||
context
.
webkitBackingStorePixelRatio
||
context
.
mozBackingStorePixelRatio
||
context
.
msBackingStorePixelRatio
||
context
.
oBackingStorePixelRatio
||
context
.
backingStorePixelRatio
||
1
;
return
(
window
.
devicePixelRatio
||
1
)
/
backingStore
;
}
});
</script>
</body>
</html>
\ No newline at end of file
.history/egret/index_20190802171949.html
deleted
100644 → 0
View file @
d92ee2fd
<!DOCTYPE HTML>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Egret
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<meta
name=
"full-screen"
content=
"true"
/>
<meta
name=
"screen-orientation"
content=
"portrait"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<style>
html
,
body
{
-ms-touch-action
:
none
;
background
:
#888888
;
padding
:
0
;
border
:
0
;
margin
:
0
;
height
:
100%
;
}
</style>
</head>
<body>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"30"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"false"
data-show-log=
"false"
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
<img
id=
"shareImg"
/>
<div
id=
"sCloseBtn"
></div>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/game/game.min.js"
></script>
<script
src=
"libs/modules/promise/promise.js"
></script>
<script
src=
"libs/zepto.min.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
<!-- <script src="default.thm.js"></script> -->
<script
src=
"output.js"
></script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.2.0.js"
></script>
<script>
// 网鱼网咖图标额外奖励插件
window
[
'extraPlugId'
]
=
123
;
// 引导奖励插件
window
[
'guidePrizePlugId'
]
=
1309
;
var
development
=
true
;
var
gameId
=
1
;
var
CFG
=
{
"credits"
:
110
,
"creditsUnitName"
:
'金币'
,
"partnerUserId"
:
'ozEMOw82nHMvSYzXiKMNon-e47Pg'
,
"appId"
:
1
,
"currentTime"
:
1525770319000
,
"notLogin"
:
false
,
"goodsDomain"
:
'//goods.m.duiba.com.cn'
,
"homeDomain"
:
'//home.m.duiba.com.cn'
,
"embedDomain"
:
'//embedlog.duiba.com.cn'
,
"openLogin"
:
"false"
,
"loginProgram"
:
"aaaa"
,
"dcustom"
:
{
"cover"
:
"http://kd01-1253445850.image.myqcloud.com/scanimg/scan_34900810171ab09ef915267b361ba4b0.jpg?imageView2/2/w/170"
,
"subject"
:
"数学"
,
"grade"
:
"高一"
,
"id"
:
"e225c36aa550414d4091790b2f6d9922"
,
"version"
:
"其他"
},
// "dcustom": {"cover":"http%3A%2F%2Fkd01-1253445850.image.myqcloud.com%2Fscanimg%2Fscan_a5c6853687bdfb48ef0b26dbbcecf767.jpg%3FimageView2%2F2%2Fw%2F170","subject":"%E6%95%B0%E5%AD%A6","grade":"%E9%AB%98%E4%B8%80","id":"58ada634b79ffe943840f39397f2451a","version":"%E6%96%B0%E8%AF%BE%E6%A0%87%E7%89%88"},
"activityId"
:
1
,
"consumerId"
:
1539361
// "petHomeInfo": '{"awardPluginId":1028,"feedLimit":10,"foodName":"萝卜","foodNum":990,"full":true,"leftMinutes":1,"petId":0,"petLevel":0,"petOwner":true,"status":5}'
}
var
errorMessage
=
{
"100000"
:
"睡觉期间不能喂食"
,
"100001"
:
"不在喂食时间内,不能喂食"
,
"100002"
:
"食物不足"
,
"100003"
:
"当日喂食次数超限"
,
"100004"
:
"宠物养成活动状态异常"
,
"100005"
:
"饲养账户更新异常"
,
"100006"
:
"宠物喂食时间间隔内"
,
"100007"
:
"吃饱状态不能再喂食"
,
"100008"
:
"外出状态不能喂食"
,
"300001"
:
"宠物饥饿状态下不能出行"
,
"300002"
:
"宠物吃饱状态下不能出行"
,
"300003"
:
"已经出行,不能再出行"
,
"400001"
:
"出游状态不能使用该道具"
,
"400002"
:
"用户宠物道具不足"
,
"500001"
:
"宠物名字重复"
,
"500002"
:
"宠物名字不合法"
};
var
skinID
=
111
;
//皮肤id
//地图场景等级配置 {'场景名':对应的解锁等级, ...}
var
mapLockCFG
=
{
'中国'
:
1
,
'亚洲'
:
4
,
'欧洲'
:
7
}
var
mapPosCFG
=
{
'中国'
:
{
北京
:
[
539
,
193
],
石家庄
:
[
532
,
238
],
长白山
:
[
664
,
145
],
洛阳
:
[
511
,
275
],
上海
:
[
616
,
323
],
杭州
:
[
591
,
355
],
武汉
:
[
506
,
352
],
张家界
:
[
451
,
367
],
广州
:
[
482
,
490
],
三亚
:
[
454
,
535
],
乌鲁木齐
:
[
201
,
134
],
敦煌
:
[
287
,
197
],
青海湖
:
[
343
,
224
],
九寨沟
:
[
344
,
281
],
成都
:
[
355
,
330
],
拉萨
:
[
212
,
330
],
西双版纳
:
[
332
,
470
],
台湾
:
[
628
,
433
],
香港
:
[
532
,
504
],
澳门
:
[
482
,
515
]
},
'亚洲'
:
{
东京
:
[
725
,
200
],
首尔
:
[
610
,
181
],
文莱
:
[
593
,
367
],
长滩岛
:
[
653
,
350
],
曼谷
:
[
429
,
364
],
岘港
:
[
490
,
373
],
芽庄
:
[
476
,
419
],
吉隆坡
:
[
398
,
437
],
新加坡
:
[
455
,
468
],
巴厘岛
:
[
550
,
502
],
沙特
:
[
45
,
208
],
耶路撒冷
:
[
11
,
125
],
伊朗
:
[
128
,
165
],
迪拜
:
[
105
,
226
],
尼泊尔
:
[
336
,
258
],
新德里
:
[
243
,
261
],
孟买
:
[
209
,
319
],
万象
:
[
442
,
327
],
斯里兰卡
:
[
287
,
426
],
马尔代夫
:
[
225
,
451
]
},
'欧洲'
:
{}
}
//出游消耗的金币
var
tourCost
=
100
;
//集卡规则ID列表,[中国id, 亚洲id, 欧洲id]
var
collectRuleIdList
=
[
11
,
22
,
0
];
//签到活动id
var
signActivityId
=
1
;
//分享插件ID
var
sharePlugID
=
1217
;
//新用户插件ID
var
newUserPlugID
=
1214
;
var
mapPlugIDList
=
[
1218
,
1219
];
var
weUrl
=
'http://weserver.duibadev.com.cn'
;
var
recordUrl
=
'https://trade.m.duiba.com.cn'
;
function
resolve
(
a
)
{
var
b
=
eval
(
a
);
return
b
;
}
var
shareData
=
{
title
:
'飞船登陆汪星球!超多萌宠可爱来袭!'
,
//标题
desc
:
'谁家汪更可爱?'
,
//描述
link
:
"https://activity-6.m.duiba.com.cn/customShare/share?id=2921"
,
//链接
imgUrl
:
'https://yun.duiba.com.cn/db_games/activity/yjyc/share.jpg'
,
//图片
}
wx
.
config
({
debug
:
$wxdebug
,
appId
:
'$wxappid'
,
timestamp
:
'$wxtimestamp'
,
nonceStr
:
'$wxnonceStr'
,
signature
:
'$wxsignature'
,
jsApiList
:
[
'checkJsApi'
,
'onMenuShareTimeline'
,
'onMenuShareAppMessage'
]
});
function
invokeWX
(
shareData
)
{
wx
.
onMenuShareTimeline
({
title
:
shareData
.
title
,
//标题
desc
:
shareData
.
desc
,
//描述
link
:
shareData
.
link
,
//链接
imgUrl
:
shareData
.
imgUrl
,
//图片
success
:
function
()
{},
cancel
:
function
()
{}
});
wx
.
onMenuShareAppMessage
({
title
:
shareData
.
title
,
//标题
desc
:
shareData
.
desc
,
//描述
link
:
shareData
.
link
,
//链接
imgUrl
:
shareData
.
imgUrl
,
//图片
success
:
function
(
e
)
{},
cancel
:
function
()
{}
});
}
wx
.
ready
(
function
(){
invokeWX
(
shareData
);
});
</script>
<script>
// window['resPath'] = 'https://yun.duiba.com.cn/db_games/activity/fishaqy/1535713239/'
/**
* {
* "renderMode":, //Engine rendering mode, "canvas" or "webgl"
* "audioType": 0 //Use the audio type, 0: default, 2: web audio, 3: audio
* "antialias": //Whether the anti-aliasing is enabled in WebGL mode, true: on, false: off, defaults to false
* "calculateCanvasScaleFactor": //a function return canvas scale factor
* }
**/
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
function
(
context
)
{
var
backingStore
=
context
.
backingStorePixelRatio
||
context
.
webkitBackingStorePixelRatio
||
context
.
mozBackingStorePixelRatio
||
context
.
msBackingStorePixelRatio
||
context
.
oBackingStorePixelRatio
||
context
.
backingStorePixelRatio
||
1
;
return
(
window
.
devicePixelRatio
||
1
)
/
backingStore
;
}
});
</script>
</body>
</html>
\ No newline at end of file
.history/egret/index_20190
802190323
.html
→
.history/egret/index_20190
911111204
.html
View file @
ac7195ab
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<body>
<body>
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
<div
style=
"margin: auto;width: 100%;height: 100%;"
class=
"egret-player"
data-entry-class=
"Main"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"
3
0"
data-content-width=
"750"
data-orientation=
"auto"
data-scale-mode=
"showAll"
data-frame-rate=
"
6
0"
data-content-width=
"750"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"false"
data-show-log=
"false"
data-content-height=
"1624"
data-multi-fingered=
"2"
data-show-fps=
"false"
data-show-log=
"false"
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
data-show-fps-style=
"x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9"
>
</div>
</div>
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
<div
id=
"sCloseBtn"
></div>
<div
id=
"sCloseBtn"
></div>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/egret/svga.egret.min.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
...
...
cli copy.txt
0 → 100644
View file @
ac7195ab
https://rdc.aliyun.com/req/1677481/asd
var regular="(\\S+)//(\\S+)/(\\S+)/(\\S+)/(\\S+)";
var re = new RegExp(regular,"g");
data=window.location.href.replace(re,"$4")
console.log(data)
data=window.location.href.replace(/(\S+)//(\S+)/(\S+)/(\S+)/(\S+)/,"$4")
console.log(data)
\ No newline at end of file
egret/index.html
View file @
ac7195ab
...
@@ -34,12 +34,12 @@
...
@@ -34,12 +34,12 @@
<div
id=
"sCloseBtn"
></div>
<div
id=
"sCloseBtn"
></div>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/egret/egret.web.js"
></script>
<script
src=
"libs/modules/egret/svga.egret.min.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/eui/eui.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/assetsmanager/assetsmanager.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/tween/tween.js"
></script>
<script
src=
"libs/modules/game/game.min.js"
></script>
<script
src=
"libs/modules/game/game.min.js"
></script>
<script
src=
"libs/modules/promise/promise.js"
></script>
<script
src=
"libs/modules/promise/promise.js"
></script>
<script
src=
"libs/modules/egret/svga.egret.min.js"
></script>
<script
src=
"libs/zepto.min.js"
></script>
<script
src=
"libs/zepto.min.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
<script
src=
"libs/physics.min.js"
></script>
...
...
egret/libs/modules/egret/svga.egret.min.js
0 → 100755
View file @
ac7195ab
This source diff could not be displayed because it is too large. You can
view the blob
instead.
egret/resource/default.res.json
View file @
ac7195ab
This diff is collapsed.
Click to expand it.
egret/resource/skins/StartSceneSkin.exml
View file @
ac7195ab
...
@@ -26,11 +26,11 @@
...
@@ -26,11 +26,11 @@
</tween:TweenItem>
</tween:TweenItem>
</tween:TweenGroup>
</tween:TweenGroup>
</w:Declarations>
</w:Declarations>
<e:Group
width=
"750"
height=
"1624"
x=
"0"
y=
"-217"
locked=
"true
"
>
<e:Group
width=
"750"
height=
"1624"
x=
"0"
verticalCenter=
"-8
"
>
<e:Image
id=
"mainbg"
source=
"startBg_jpg"
y=
"0"
x=
"0"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
id=
"mainbg"
source=
"startBg_jpg"
y=
"0"
x=
"0"
scaleX=
"1"
scaleY=
"1"
/>
</e:Group
>
<e:Group
id=
"petGroup_lv_0"
width=
"748"
height=
"1022"
x=
"0"
y=
"-3"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
scaleX=
"1"
scaleY=
"1"
>
<e:Group
id=
"petGroup_lv_0"
width=
"748"
height=
"1022"
x=
"0"
y=
"-220"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
>
<e:Image
source=
"start_pet_1_bg_png"
x=
"461"
y=
"703"
scaleX=
"1"
scaleY=
"1"
/
>
<
e:Image
source=
"start_pet_1_bg_png"
x=
"461"
y=
"703"
scaleX=
"1"
scaleY=
"1"
/
>
<
/e:Group
>
</e:Group>
</e:Group>
<e:Group
width=
"748"
height=
"176"
x=
"2"
y=
"-1"
anchorOffsetY=
"0"
anchorOffsetX=
"0"
locked=
"true"
>
<e:Group
width=
"748"
height=
"176"
x=
"2"
y=
"-1"
anchorOffsetY=
"0"
anchorOffsetX=
"0"
locked=
"true"
>
<e:Rect
width=
"662"
height=
"156"
x=
"41"
y=
"18"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
fillColor=
"0xffffff"
fillAlpha=
"0.7"
ellipseHeight=
"20"
ellipseWidth=
"20"
/>
<e:Rect
width=
"662"
height=
"156"
x=
"41"
y=
"18"
anchorOffsetX=
"0"
anchorOffsetY=
"0"
fillColor=
"0xffffff"
fillAlpha=
"0.7"
ellipseHeight=
"20"
ellipseWidth=
"20"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment