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
94dac08e
Commit
94dac08e
authored
Oct 21, 2019
by
huangwenjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
77893eeb
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
index.html
egret/index.html
+1
-1
publish.js
egret/publish.js
+6
-6
drawMsg.png
egret/resource/assets/outwin_panel/drawMsg.png
+0
-0
GameScene.ts
egret/src/gameScene/GameScene.ts
+1
-1
OutWinPanel.ts
egret/src/outwinPanel/OutWinPanel.ts
+1
-1
RevivePanel.ts
egret/src/revivePanel/RevivePanel.ts
+1
-1
No files found.
egret/index.html
View file @
94dac08e
...
...
@@ -97,7 +97,7 @@
window
[
'CMBLS'
].
socialShare
=
{};
window
[
'CMBLS'
].
TopBarUI
=
{};
window
[
'bulletNum'
]
=
[
2
,
2
,
2
]
window
[
'bulletNum'
]
=
[
5
,
7
,
10
]
// 分享的图片 base64
window
[
'sharePosterIMG'
]
=
'12312'
// 端外 活动首页
...
...
egret/publish.js
View file @
94dac08e
...
...
@@ -24,8 +24,8 @@ class TuiaAutoUpload {
var
_this
=
this
;
this
.
client
=
new
OSS
({
region
:
'oss-cn-hangzhou'
,
accessKeyId
:
'LTAI
dGi1IOap7fkF
'
,
accessKeySecret
:
'
SKrOOp6EVtDGEV47yn0t2h97gyNioQ
'
,
accessKeyId
:
'LTAI
qO2wblIxQvwc
'
,
accessKeySecret
:
'
4brsaSRbRpjxw3oDIxJi6bNMcndIR6
'
,
bucket
:
_this
.
type
===
'prod'
?
'duiba'
:
'daily-duiba'
});
this
.
bar
=
new
ProgressBar
(
chalk
.
yellow
(
` 文件上传中 [:bar] :current/
${
this
.
files
().
length
}
:percent :elapseds`
),
{
...
...
@@ -57,8 +57,8 @@ class TuiaAutoUpload {
var
filedir
=
path
.
join
(
filePath
,
filename
);
//根据文件路径获取文件信息,返回一个fs.Stats对象
var
stats
=
fs
.
statSync
(
filedir
);
var
isFile
=
stats
.
isFile
();
//是文件
var
isDir
=
stats
.
isDirectory
();
//是文件夹
var
isFile
=
stats
.
isFile
();
//是文件
var
isDir
=
stats
.
isDirectory
();
//是文件夹
if
(
isFile
)
{
var
sep
=
'/'
;
if
(
'win32'
==
process
.
platform
)
...
...
@@ -68,7 +68,7 @@ class TuiaAutoUpload {
_this._files.push(newDirArr.join('
/
'));
}
if (isDir) {
fileDisplay(filedir);//递归,如果是文件夹,就继续遍历该文件夹下面的文件
fileDisplay(filedir);
//递归,如果是文件夹,就继续遍历该文件夹下面的文件
}
});
...
...
@@ -146,4 +146,4 @@ const autoupload = new TuiaAutoUpload({
originDir: `/db_games/${config.type}/${config.name}/${version}/`
}, "prod")
autoupload.start()
autoupload.start()
\ No newline at end of file
egret/resource/assets/outwin_panel/drawMsg.png
View replaced file @
77893eeb
View file @
94dac08e
7.07 KB
|
W:
|
H:
5.16 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/src/gameScene/GameScene.ts
View file @
94dac08e
...
...
@@ -449,7 +449,7 @@ export default class GameScene extends Scene {
offAngle
=
40
;
}
let
endAngle
=
offAngle
+
Math
.
floor
(
100
*
Math
.
random
());
let
time
=
1000
;
let
time
=
window
[
'speedTime'
]
?
window
[
'speedTime'
]
:
1200
//
1000;
// if (this.isMPBank()) {
// time = 1000;
// } else {
...
...
egret/src/outwinPanel/OutWinPanel.ts
View file @
94dac08e
...
...
@@ -67,7 +67,7 @@ export default class OutWinPanel extends Panel {
NetManager
.
ins
.
clickLog
(
exposure
);
setTimeout
(()
=>
{
window
.
location
.
href
=
window
[
'MPBankGiftLink'
]
+
'&wechatid='
+
DataManager
.
ins
.
getInfoData
.
uid
+
'&shareid='
+
DataManager
.
ins
.
getInfoData
.
uid
;
window
.
location
.
href
=
window
[
'MPBankGiftLink'
]
+
'&wechatid='
+
DataManager
.
ins
.
getInfoData
.
uid
;
},
200
)
}
...
...
egret/src/revivePanel/RevivePanel.ts
View file @
94dac08e
This diff is collapsed.
Click to expand it.
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