Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
wildfirecode13
new_taobao
Commits
3170eebe
Commit
3170eebe
authored
Oct 12, 2020
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: scripts/copyJs.js
parent
c84a6d20
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
217 additions
and
25 deletions
+217
-25
output.js
project/src/canvas/game/output.js
+96
-3
output.js.map
project/src/canvas/game/output.js.map
+1
-1
output.js
project/src/canvas/game/released/output.js
+96
-3
copyJs.js
project/src/canvas/game/scripts/copyJs.js
+2
-2
XxlConfig.ts
project/src/canvas/game/src/xiaoxiaole/XxlConfig.ts
+2
-2
XxlScene.ts
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
+20
-14
No files found.
project/src/canvas/game/output.js
View file @
3170eebe
This diff is collapsed.
Click to expand it.
project/src/canvas/game/output.js.map
View file @
3170eebe
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/output.js
View file @
3170eebe
This diff is collapsed.
Click to expand it.
project/src/canvas/game/scripts/copyJs.js
View file @
3170eebe
...
...
@@ -6,8 +6,8 @@ var fs = require("fs");
// fs.readFileSync("./output.js")
// )
// var endPath = 'D:/duibaGame/测试项目0527/taobaominiTest/client/pages/index1/';
//
var endPath = "C:/Users/Duiba/Desktop/work/雅顿/new/new_taobao/taobao_mini/client/pages/pagecanvas/"
var
endPath
=
'/Applications/DUIBA-TAOBAO/YD/new_taobao/taobao_mini/client/pages/pagecanvas/'
var
endPath
=
"C:/Users/Duiba/Desktop/work/雅顿/new/new_taobao/taobao_mini/client/pages/pagecanvas/"
//
var endPath = '/Applications/DUIBA-TAOBAO/YD/new_taobao/taobao_mini/client/pages/pagecanvas/'
var
version
=
Math
.
round
(
new
Date
().
getTime
()
/
1000
);
...
...
project/src/canvas/game/src/xiaoxiaole/XxlConfig.ts
View file @
3170eebe
export
const
config
=
{
//倒计时时间s
time
:
12
,
time
:
12
0
,
//3关分数
first
:
1000
,
second
:
2000
,
third
:
3000
,
//5种每个球的分数
score
:
[
10
00
,
10
,
10
,
10
,
10
],
score
:
[
10
,
10
,
10
,
10
,
10
],
//游戏难度3,4,5
difficulty
:
3
,
//球的资源
...
...
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
View file @
3170eebe
...
...
@@ -1141,6 +1141,8 @@ export class XxlScene extends Scene {
this
.
rightUserContainer
.
visible
=
false
this
.
lscore
.
text
=
"0"
this
.
rscore
.
text
=
"0"
this
.
llevelText
.
text
=
"第一关"
this
.
rlevelText
.
text
=
"第一关"
//进度条归0
this
.
rect
.
x
=
this
.
rectX
this
.
star1
.
dark
()
...
...
@@ -1150,6 +1152,7 @@ export class XxlScene extends Scene {
this
.
timeNum
=
config
.
time
this
.
time
.
text
=
this
.
timeNum
+
""
if
(
config
.
time
>=
100
)
{
this
.
time
.
textWidth
=
80
}
else
if
(
config
.
time
>=
10
)
{
...
...
@@ -1157,6 +1160,7 @@ export class XxlScene extends Scene {
}
else
{
this
.
time
.
textWidth
=
50
}
this
.
time
.
x
=
Ins
.
stageW
/
2
-
this
.
time
.
textWidth
/
2
-
15
const
userInfoRes
=
await
sendTbNet
(
TbNetName
.
getUserInfo
,
{})
this
.
userInfo
=
userInfoRes
.
data
as
UserInfo
...
...
@@ -1166,6 +1170,8 @@ export class XxlScene extends Scene {
}
else
{
this
.
robot
=
new
Robot
(
!
this
.
userInfo
.
win
)
showPanel
(
MatchingPanel
,
this
.
userInfo
)
this
.
ravatar
.
texture
=
FYGE
.
Sprite
.
fromUrl
(
this
.
userInfo
.
fakeUserImgUrl
).
texture
this
.
rnickname
.
text
=
this
.
userInfo
.
fakeUserName
}
}
...
...
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