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
f68ee2ab
Commit
f68ee2ab
authored
Oct 12, 2020
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: src/xiaoxiaole/XxlConfig.ts
parent
9f4aa579
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
14 deletions
+26
-14
output.js
project/src/canvas/game/output.js
+12
-6
output.js.map
project/src/canvas/game/output.js.map
+1
-1
output.js
project/src/canvas/game/released/output.js
+12
-6
XxlConfig.ts
project/src/canvas/game/src/xiaoxiaole/XxlConfig.ts
+1
-1
No files found.
project/src/canvas/game/output.js
View file @
f68ee2ab
...
@@ -15100,7 +15100,7 @@ exports.Star = Star;
...
@@ -15100,7 +15100,7 @@ exports.Star = Star;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
config
=
void
0
;
exports
.
config
=
void
0
;
exports
.
config
=
{
exports
.
config
=
{
time
:
12
,
time
:
12
0
,
first
:
1000
,
first
:
1000
,
second
:
2000
,
second
:
2000
,
third
:
3000
,
third
:
3000
,
...
@@ -15214,7 +15214,8 @@ var XxlScene = (function (_super) {
...
@@ -15214,7 +15214,8 @@ var XxlScene = (function (_super) {
_this
.
isGameStart
=
false
;
_this
.
isGameStart
=
false
;
_this
.
isGameEnd
=
false
;
_this
.
isGameEnd
=
false
;
_this
.
robot
=
null
;
_this
.
robot
=
null
;
_this
.
robotScore
=
0
;
_this
.
robotScore
=
0
.;
_this
.
rlevel
=
0
;
_this
.
hexIndices
=
[
_this
.
hexIndices
=
[
[
3
],
[
3
],
[
9
,
10
],
[
9
,
10
],
...
@@ -15677,10 +15678,12 @@ var XxlScene = (function (_super) {
...
@@ -15677,10 +15678,12 @@ var XxlScene = (function (_super) {
if
(
this
.
robotScore
==
userGetScore
)
{
if
(
this
.
robotScore
==
userGetScore
)
{
return
;
return
;
}
}
if
(
this
.
level
<
2
&&
userGetScore
>=
1000
&&
userGetScore
<
2000
)
{
if
(
this
.
rlevel
<
2
&&
userGetScore
>=
1000
&&
userGetScore
<
2000
)
{
this
.
rlevel
=
2
;
this
.
rlevelText
.
text
=
"第"
+
2
+
"关"
;
this
.
rlevelText
.
text
=
"第"
+
2
+
"关"
;
}
}
else
if
(
this
.
level
<
3
&&
userGetScore
>=
2000
&&
userGetScore
<
3000
)
{
else
if
(
this
.
rlevel
<
3
&&
userGetScore
>=
2000
&&
userGetScore
<
3000
)
{
this
.
rlevel
=
3
;
this
.
rlevelText
.
text
=
"第"
+
3
+
"关"
;
this
.
rlevelText
.
text
=
"第"
+
3
+
"关"
;
}
}
else
if
(
userGetScore
>=
3000
)
{
else
if
(
userGetScore
>=
3000
)
{
...
@@ -16002,11 +16005,14 @@ var XxlScene = (function (_super) {
...
@@ -16002,11 +16005,14 @@ var XxlScene = (function (_super) {
this
.
isGameEnd
=
false
;
this
.
isGameEnd
=
false
;
this
.
isGameStart
=
false
;
this
.
isGameStart
=
false
;
this
.
userScore
=
0
;
this
.
userScore
=
0
;
this
.
robotScore
=
0
;
this
.
rightUserContainer
.
visible
=
false
;
this
.
rightUserContainer
.
visible
=
false
;
this
.
lscore
.
text
=
"0"
;
this
.
lscore
.
text
=
"0"
;
this
.
rscore
.
text
=
"0"
;
this
.
rscore
.
text
=
"0"
;
this
.
llevelText
.
text
=
"第一关"
;
this
.
llevelText
.
text
=
"第1关"
;
this
.
rlevelText
.
text
=
"第一关"
;
this
.
rlevelText
.
text
=
"第1关"
;
this
.
level
=
0
;
this
.
rlevel
=
0
;
this
.
rect
.
x
=
this
.
rectX
;
this
.
rect
.
x
=
this
.
rectX
;
this
.
star1
.
dark
();
this
.
star1
.
dark
();
this
.
star2
.
dark
();
this
.
star2
.
dark
();
...
...
project/src/canvas/game/output.js.map
View file @
f68ee2ab
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/output.js
View file @
f68ee2ab
...
@@ -15102,7 +15102,7 @@ exports.Star = Star;
...
@@ -15102,7 +15102,7 @@ exports.Star = Star;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
exports
.
config
=
void
0
;
exports
.
config
=
void
0
;
exports
.
config
=
{
exports
.
config
=
{
time
:
12
,
time
:
12
0
,
first
:
1000
,
first
:
1000
,
second
:
2000
,
second
:
2000
,
third
:
3000
,
third
:
3000
,
...
@@ -15216,7 +15216,8 @@ var XxlScene = (function (_super) {
...
@@ -15216,7 +15216,8 @@ var XxlScene = (function (_super) {
_this
.
isGameStart
=
false
;
_this
.
isGameStart
=
false
;
_this
.
isGameEnd
=
false
;
_this
.
isGameEnd
=
false
;
_this
.
robot
=
null
;
_this
.
robot
=
null
;
_this
.
robotScore
=
0
;
_this
.
robotScore
=
0
.;
_this
.
rlevel
=
0
;
_this
.
hexIndices
=
[
_this
.
hexIndices
=
[
[
3
],
[
3
],
[
9
,
10
],
[
9
,
10
],
...
@@ -15679,10 +15680,12 @@ var XxlScene = (function (_super) {
...
@@ -15679,10 +15680,12 @@ var XxlScene = (function (_super) {
if
(
this
.
robotScore
==
userGetScore
)
{
if
(
this
.
robotScore
==
userGetScore
)
{
return
;
return
;
}
}
if
(
this
.
level
<
2
&&
userGetScore
>=
1000
&&
userGetScore
<
2000
)
{
if
(
this
.
rlevel
<
2
&&
userGetScore
>=
1000
&&
userGetScore
<
2000
)
{
this
.
rlevel
=
2
;
this
.
rlevelText
.
text
=
"第"
+
2
+
"关"
;
this
.
rlevelText
.
text
=
"第"
+
2
+
"关"
;
}
}
else
if
(
this
.
level
<
3
&&
userGetScore
>=
2000
&&
userGetScore
<
3000
)
{
else
if
(
this
.
rlevel
<
3
&&
userGetScore
>=
2000
&&
userGetScore
<
3000
)
{
this
.
rlevel
=
3
;
this
.
rlevelText
.
text
=
"第"
+
3
+
"关"
;
this
.
rlevelText
.
text
=
"第"
+
3
+
"关"
;
}
}
else
if
(
userGetScore
>=
3000
)
{
else
if
(
userGetScore
>=
3000
)
{
...
@@ -16004,11 +16007,14 @@ var XxlScene = (function (_super) {
...
@@ -16004,11 +16007,14 @@ var XxlScene = (function (_super) {
this
.
isGameEnd
=
false
;
this
.
isGameEnd
=
false
;
this
.
isGameStart
=
false
;
this
.
isGameStart
=
false
;
this
.
userScore
=
0
;
this
.
userScore
=
0
;
this
.
robotScore
=
0
;
this
.
rightUserContainer
.
visible
=
false
;
this
.
rightUserContainer
.
visible
=
false
;
this
.
lscore
.
text
=
"0"
;
this
.
lscore
.
text
=
"0"
;
this
.
rscore
.
text
=
"0"
;
this
.
rscore
.
text
=
"0"
;
this
.
llevelText
.
text
=
"第一关"
;
this
.
llevelText
.
text
=
"第1关"
;
this
.
rlevelText
.
text
=
"第一关"
;
this
.
rlevelText
.
text
=
"第1关"
;
this
.
level
=
0
;
this
.
rlevel
=
0
;
this
.
rect
.
x
=
this
.
rectX
;
this
.
rect
.
x
=
this
.
rectX
;
this
.
star1
.
dark
();
this
.
star1
.
dark
();
this
.
star2
.
dark
();
this
.
star2
.
dark
();
...
...
project/src/canvas/game/src/xiaoxiaole/XxlConfig.ts
View file @
f68ee2ab
export
const
config
=
{
export
const
config
=
{
//倒计时时间s
//倒计时时间s
time
:
12
,
time
:
12
0
,
//3关分数
//3关分数
first
:
1000
,
first
:
1000
,
second
:
2000
,
second
:
2000
,
...
...
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