Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobaominiDemo
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
taobaominiDemo
Commits
9be27b59
Commit
9be27b59
authored
Jun 29, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
699099cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
164 additions
and
190 deletions
+164
-190
output.js
client/pages/index/output.js
+164
-190
No files found.
client/pages/index/output.js
View file @
9be27b59
...
@@ -1600,7 +1600,6 @@ var MConst;
...
@@ -1600,7 +1600,6 @@ var MConst;
MConst
.
BallInitPosY
=
1206
*
0.25
;
MConst
.
BallInitPosY
=
1206
*
0.25
;
MConst
.
CreateBallInterval
=
1000
;
MConst
.
CreateBallInterval
=
1000
;
MConst
.
ReviveCardId
=
4
;
MConst
.
ReviveCardId
=
4
;
MConst
.
ConstantSubmitScoreNum
=
30000
;
MConst
.
DefaultBallWidth
=
224
;
MConst
.
DefaultBallWidth
=
224
;
MConst
.
DefaultRingWidth
=
72
*
0.744
;
MConst
.
DefaultRingWidth
=
72
*
0.744
;
MConst
.
DefaultStarSize
=
{
MConst
.
DefaultStarSize
=
{
...
@@ -1617,7 +1616,6 @@ var MConst;
...
@@ -1617,7 +1616,6 @@ var MConst;
MConst
.
hasOver
=
false
;
MConst
.
hasOver
=
false
;
MConst
.
o
=
null
;
MConst
.
o
=
null
;
MConst
.
groupId
=
null
;
MConst
.
groupId
=
null
;
MConst
.
startId
=
0
;
MConst
.
rule
=
"我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则"
;
MConst
.
rule
=
"我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则我是规则"
;
})(
MConst
=
exports
.
MConst
||
(
exports
.
MConst
=
{}));
})(
MConst
=
exports
.
MConst
||
(
exports
.
MConst
=
{}));
...
@@ -2852,7 +2850,7 @@ exports.ResJson = {
...
@@ -2852,7 +2850,7 @@ exports.ResJson = {
}
}
},
},
{
{
"keys"
:
"ball_0.png,ball_1.png,ball_2.png,ball_3.png,ball_4.png,ball_5.png,ball_num_0.png,ball_num_1.png,ball_num_2.png,ball_num_3.png,ball_num_4.png,ball_num_5.png,ball_num_6.png,ball_num_7.png,ball_num_8.png,ball_num_9.png,ball_num_black_0.png,ball_num_black_1.png,ball_num_black_2.png,ball_num_black_3.png,ball_num_black_4.png,ball_num_black_5.png,ball_num_black_6.png,ball_num_black_7.png,ball_num_black_8.png,ball_num_black_9.png,ball_num_black_k.png,ball_num_k.png,bullet.png,car.png,car_particle.png,drop_bullet_0.png,drop_bullet_1.png,drop_power_0.png,drop_power_1.png,drop_power_2.png,main_bg.jpg,main_bullet.png,main_countdown.png,main_power.png,mask.png,ring.png,score_num_0.png,score_num_1.png,score_num_2.png,score_num_3.png,score_num_4.png,score_num_5.png,score_num_6.png,score_num_7.png,score_num_8.png,score_num_9.png,star.png"
,
"keys"
:
"ball_0.png,ball_1.png,ball_2.png,ball_3.png,ball_4.png,ball_5.png,ball_num_0.png,ball_num_1.png,ball_num_2.png,ball_num_3.png,ball_num_4.png,ball_num_5.png,ball_num_6.png,ball_num_7.png,ball_num_8.png,ball_num_9.png,ball_num_black_0.png,ball_num_black_1.png,ball_num_black_2.png,ball_num_black_3.png,ball_num_black_4.png,ball_num_black_5.png,ball_num_black_6.png,ball_num_black_7.png,ball_num_black_8.png,ball_num_black_9.png,ball_num_black_k.png,ball_num_k.png,bullet.png,car.png,car_particle.png,drop_bullet_0.png,drop_bullet_1.png,drop_power_0.png,drop_power_1.png,drop_power_2.png,main_bg.jpg,main_bullet.png,main_countdown.png,main_
countdown2.png,main_
power.png,mask.png,ring.png,score_num_0.png,score_num_1.png,score_num_2.png,score_num_3.png,score_num_4.png,score_num_5.png,score_num_6.png,score_num_7.png,score_num_8.png,score_num_9.png,star.png"
,
"name"
:
"dxqPlayScene"
,
"name"
:
"dxqPlayScene"
,
"atlas"
:
{
"atlas"
:
{
"ball_0.png"
:
{
"ball_0.png"
:
{
...
@@ -3165,7 +3163,7 @@ exports.ResJson = {
...
@@ -3165,7 +3163,7 @@ exports.ResJson = {
},
},
"bullet.png"
:
{
"bullet.png"
:
{
"x"
:
754
,
"x"
:
754
,
"y"
:
39
,
"y"
:
63
,
"w"
:
11
,
"w"
:
11
,
"h"
:
43
,
"h"
:
43
,
"ox"
:
0
,
"ox"
:
0
,
...
@@ -3273,6 +3271,17 @@ exports.ResJson = {
...
@@ -3273,6 +3271,17 @@ exports.ResJson = {
"sh"
:
130
,
"sh"
:
130
,
"ro"
:
false
"ro"
:
false
},
},
"main_countdown2.png"
:
{
"x"
:
754
,
"y"
:
39
,
"w"
:
12
,
"h"
:
22
,
"ox"
:
0
,
"oy"
:
0
,
"sw"
:
12
,
"sh"
:
22
,
"ro"
:
false
},
"main_power.png"
:
{
"main_power.png"
:
{
"x"
:
893
,
"x"
:
893
,
"y"
:
781
,
"y"
:
781
,
...
@@ -4202,7 +4211,7 @@ exports.ResJson = {
...
@@ -4202,7 +4211,7 @@ exports.ResJson = {
}
}
}
}
],
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/1593
395168
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/1593
417124
/resource/"
};
};
...
@@ -6266,7 +6275,6 @@ var Ball = (function (_super) {
...
@@ -6266,7 +6275,6 @@ var Ball = (function (_super) {
}
}
var
_loop_3
=
function
(
i
)
{
var
_loop_3
=
function
(
i
)
{
var
ring
=
this_3
.
ringPool
.
spwan
(
"ring"
,
color
);
var
ring
=
this_3
.
ringPool
.
spwan
(
"ring"
,
color
);
console
.
log
(
ring
.
width
,
ring
.
height
);
ring
.
x
=
this_3
.
x
;
ring
.
x
=
this_3
.
x
;
ring
.
y
=
this_3
.
y
;
ring
.
y
=
this_3
.
y
;
ring
.
anchorTexture
.
set
(
0.5
,
0.5
);
ring
.
anchorTexture
.
set
(
0.5
,
0.5
);
...
@@ -6994,6 +7002,7 @@ var Tools_1 = __webpack_require__(/*! ../Tools */ "./src/Tools.ts");
...
@@ -6994,6 +7002,7 @@ var Tools_1 = __webpack_require__(/*! ../Tools */ "./src/Tools.ts");
var
Bullet_1
=
__webpack_require__
(
/*! ./Bullet */
"./src/game/Bullet.ts"
);
var
Bullet_1
=
__webpack_require__
(
/*! ./Bullet */
"./src/game/Bullet.ts"
);
var
Car_1
=
__webpack_require__
(
/*! ./Car */
"./src/game/Car.ts"
);
var
Car_1
=
__webpack_require__
(
/*! ./Car */
"./src/game/Car.ts"
);
var
Collider_1
=
__webpack_require__
(
/*! ./Collider */
"./src/game/Collider.ts"
);
var
Collider_1
=
__webpack_require__
(
/*! ./Collider */
"./src/game/Collider.ts"
);
var
loadDuangRes_1
=
__webpack_require__
(
/*! ./dxq/loadDuangRes */
"./src/game/dxq/loadDuangRes.ts"
);
var
GameObject_1
=
__webpack_require__
(
/*! ./GameObject */
"./src/game/GameObject.ts"
);
var
GameObject_1
=
__webpack_require__
(
/*! ./GameObject */
"./src/game/GameObject.ts"
);
var
PhycicsSystem_1
=
__webpack_require__
(
/*! ./PhycicsSystem */
"./src/game/PhycicsSystem.ts"
);
var
PhycicsSystem_1
=
__webpack_require__
(
/*! ./PhycicsSystem */
"./src/game/PhycicsSystem.ts"
);
var
Physics_1
=
__webpack_require__
(
/*! ./Physics */
"./src/game/Physics.ts"
);
var
Physics_1
=
__webpack_require__
(
/*! ./Physics */
"./src/game/Physics.ts"
);
...
@@ -7001,7 +7010,7 @@ var PlayerController_1 = __webpack_require__(/*! ./PlayerController */ "./src/ga
...
@@ -7001,7 +7010,7 @@ var PlayerController_1 = __webpack_require__(/*! ./PlayerController */ "./src/ga
var
SpBoomEffect_1
=
__webpack_require__
(
/*! ./SpBoomEffect */
"./src/game/SpBoomEffect.ts"
);
var
SpBoomEffect_1
=
__webpack_require__
(
/*! ./SpBoomEffect */
"./src/game/SpBoomEffect.ts"
);
var
DxqPlayScene
=
(
function
(
_super
)
{
var
DxqPlayScene
=
(
function
(
_super
)
{
__extends
(
DxqPlayScene
,
_super
);
__extends
(
DxqPlayScene
,
_super
);
function
DxqPlayScene
(
parent
,
data
)
{
function
DxqPlayScene
(
parent
)
{
var
_this
=
_super
.
call
(
this
)
||
this
;
var
_this
=
_super
.
call
(
this
)
||
this
;
_this
.
_pool
=
null
;
_this
.
_pool
=
null
;
_this
.
_dropBlinkMgr
=
new
DropBlinkMgr_1
.
default
();
_this
.
_dropBlinkMgr
=
new
DropBlinkMgr_1
.
default
();
...
@@ -7025,24 +7034,18 @@ var DxqPlayScene = (function (_super) {
...
@@ -7025,24 +7034,18 @@ var DxqPlayScene = (function (_super) {
_this
.
timer
=
MConfigs_1
.
MConfigs
.
countDown
*
1000
;
_this
.
timer
=
MConfigs_1
.
MConfigs
.
countDown
*
1000
;
_this
.
_pause
=
false
;
_this
.
_pause
=
false
;
_this
.
_updateData
=
{};
_this
.
_updateData
=
{};
_this
.
constantSubmitSeq
=
1
;
_this
.
needSubmitCount
=
0
;
_this
.
startId
=
0
;
_this
.
isSubmited
=
false
;
_this
.
isSubmiting
=
false
;
_this
.
isSubmiting
=
false
;
_this
.
mgrs
=
[];
_this
.
mgrs
=
[];
_this
.
_phycicsSystem
=
new
PhycicsSystem_1
.
default
();
_this
.
_phycicsSystem
=
new
PhycicsSystem_1
.
default
();
_this
.
_boomEffectMgr
=
new
SpBoomEffect_1
.
SpBoomEffectMgr
();
_this
.
_boomEffectMgr
=
new
SpBoomEffect_1
.
SpBoomEffectMgr
();
_this
.
_animationMgr
=
new
FrameAnimation_1
.
FrameAnimationMgr
();
_this
.
_animationMgr
=
new
FrameAnimation_1
.
FrameAnimationMgr
();
_this
.
_horizontalMoveMgr
=
new
Bullet_1
.
HorizontalMoveMgr
();
_this
.
_horizontalMoveMgr
=
new
Bullet_1
.
HorizontalMoveMgr
();
_this
.
_localScore
=
0
;
var
OFFSET_Y
=
(
1624
-
layers_1
.
layers
.
stageHeight
)
/
2
;
DataMgr_1
.
DataMgr
.
game
=
_this
;
DataMgr_1
.
DataMgr
.
game
=
_this
;
_this
.
initMgrs
();
_this
.
initMgrs
();
_this
.
pause
=
false
;
_this
.
pause
=
false
;
_this
.
startId
=
data
;
FYGE
.
GDispatcher
.
once
(
"gameDead"
,
_this
.
gameDead
,
_this
);
FYGE
.
GDispatcher
.
once
(
"gameDead"
,
_this
.
gameDead
,
_this
);
_this
.
loadRes
();
loadDuangRes_1
.
default
();
console
.
log
(
"qwwee"
);
GuideMgr_1
.
default
.
instance
.
container
=
parent
;
GuideMgr_1
.
default
.
instance
.
container
=
parent
;
parent
.
addChild
(
_this
.
node
);
parent
.
addChild
(
_this
.
node
);
_this
.
node
.
x
=
0
;
_this
.
node
.
x
=
0
;
...
@@ -7050,27 +7053,35 @@ var DxqPlayScene = (function (_super) {
...
@@ -7050,27 +7053,35 @@ var DxqPlayScene = (function (_super) {
_this
.
node
.
width
=
MConst_1
.
MConst
.
DesignResolution
.
width
;
_this
.
node
.
width
=
MConst_1
.
MConst
.
DesignResolution
.
width
;
_this
.
node
.
height
=
MConst_1
.
MConst
.
DesignResolution
.
height
;
_this
.
node
.
height
=
MConst_1
.
MConst
.
DesignResolution
.
height
;
var
bg
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_bg.jpg"
));
var
bg
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_bg.jpg"
));
_this
.
node
.
addChild
(
bg
);
var
cdbg
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_countdown.png"
));
cdbg
.
position
.
set
(
612
,
26
+
OFFSET_Y
);
_this
.
node
.
addChild
(
cdbg
);
var
cdbg2
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_countdown2.png"
));
cdbg2
.
position
.
set
(
685
,
61
+
OFFSET_Y
);
cdbg2
.
anchorX
=
6
;
cdbg2
.
anchorY
=
17
;
_this
.
node
.
addChild
(
cdbg2
);
_this
.
cdline
=
cdbg2
;
var
bulletIcon
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_bullet.png"
));
var
bulletIcon
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_bullet.png"
));
bulletIcon
.
x
=
0
;
bulletIcon
.
position
.
set
(
30
,
30
+
OFFSET_Y
)
;
_this
.
bulletScoreLabel
=
Tools_1
.
Tool
.
getText
(
"0"
,
30
,
"#ffffff"
,
FYGE
.
TEXT_ALIGN
.
LEFT
,
500
);
_this
.
bulletScoreLabel
=
Tools_1
.
Tool
.
getText
(
"0"
,
30
,
"#ffffff"
,
FYGE
.
TEXT_ALIGN
.
LEFT
,
500
);
_this
.
bulletScoreLabel
.
x
=
7
0
;
_this
.
bulletScoreLabel
.
x
=
10
0
;
_this
.
bulletScoreLabel
.
y
=
bulletIcon
.
height
/
2
-
10
;
_this
.
bulletScoreLabel
.
y
=
42
+
OFFSET_Y
;
var
powerIcon
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_power.png"
));
var
powerIcon
=
new
FYGE
.
Sprite
(
RES_1
.
RES
.
getRes
(
"main_power.png"
));
powerIcon
.
x
=
300
;
powerIcon
.
position
.
set
(
30
,
30
+
OFFSET_Y
+
72
)
;
_this
.
powerScoreLabel
=
Tools_1
.
Tool
.
getText
(
"0%"
,
30
,
"#ffffff"
,
FYGE
.
TEXT_ALIGN
.
LEFT
,
500
);
_this
.
powerScoreLabel
=
Tools_1
.
Tool
.
getText
(
"0%"
,
30
,
"#ffffff"
,
FYGE
.
TEXT_ALIGN
.
LEFT
,
500
);
_this
.
powerScoreLabel
.
x
=
37
0
;
_this
.
powerScoreLabel
.
x
=
10
0
;
_this
.
powerScoreLabel
.
y
=
powerIcon
.
height
/
2
-
10
;
_this
.
powerScoreLabel
.
y
=
114
+
OFFSET_Y
;
var
textures
=
{};
var
textures
=
{};
for
(
var
i
=
0
;
i
<
10
;
i
++
)
for
(
var
i
=
0
;
i
<
10
;
i
++
)
textures
[
i
]
=
RES_1
.
RES
.
getRes
(
"score_num_"
+
i
+
".png"
);
textures
[
i
]
=
RES_1
.
RES
.
getRes
(
"score_num_"
+
i
+
".png"
);
var
labelScore2
=
new
FYGE
.
BitmapText
(
textures
);
var
labelScore2
=
new
FYGE
.
BitmapText
(
textures
);
labelScore2
.
textAlign
=
FYGE
.
TEXT_ALIGN
.
LEFT
;
labelScore2
.
textAlign
=
FYGE
.
TEXT_ALIGN
.
LEFT
;
labelScore2
.
y
=
10
0
;
labelScore2
.
y
=
OFFSET_Y
+
5
0
;
_this
.
totalScoreLabel
=
labelScore2
;
_this
.
totalScoreLabel
=
labelScore2
;
_this
.
timeLabel
=
Tools_1
.
Tool
.
getText
(
"00:00"
,
30
,
"#ffffff"
,
FYGE
.
TEXT_ALIGN
.
RIGHT
,
300
);
_this
.
timeLabel
=
Tools_1
.
Tool
.
getText
(
"00:00"
,
30
,
"#ffffff"
,
FYGE
.
TEXT_ALIGN
.
LEFT
);
_this
.
timeLabel
.
x
=
layers_1
.
layers
.
stageOffsetX
+
layers_1
.
layers
.
stageWidth
-
400
;
_this
.
timeLabel
.
position
.
set
(
656
,
117
+
OFFSET_Y
);
_this
.
timeLabel
.
y
=
50
;
_this
.
node
.
addChild
(
bg
);
_this
.
node
.
addChild
(
bulletIcon
);
_this
.
node
.
addChild
(
bulletIcon
);
_this
.
node
.
addChild
(
_this
.
bulletScoreLabel
);
_this
.
node
.
addChild
(
_this
.
bulletScoreLabel
);
_this
.
node
.
addChild
(
powerIcon
);
_this
.
node
.
addChild
(
powerIcon
);
...
@@ -7110,7 +7121,10 @@ var DxqPlayScene = (function (_super) {
...
@@ -7110,7 +7121,10 @@ var DxqPlayScene = (function (_super) {
_this
.
createPools
();
_this
.
createPools
();
_this
.
createWall
();
_this
.
createWall
();
_this
.
timing
=
true
;
_this
.
timing
=
true
;
console
.
log
(
"asdqwee"
);
if
(
!
_this
.
pause
)
{
FYGE
.
Tween
.
get
(
_this
.
cdline
,
{
loop
:
!!
1
}).
to
({
rotation
:
360
},
500
);
_this
.
cdline
[
'hasTween'
]
=
1
;
}
return
_this
;
return
_this
;
}
}
DxqPlayScene
.
prototype
.
createPools
=
function
()
{
DxqPlayScene
.
prototype
.
createPools
=
function
()
{
...
@@ -7139,7 +7153,6 @@ var DxqPlayScene = (function (_super) {
...
@@ -7139,7 +7153,6 @@ var DxqPlayScene = (function (_super) {
return
this
.
__score
;
return
this
.
__score
;
},
},
set
:
function
(
v
)
{
set
:
function
(
v
)
{
this
.
localScore
+=
(
v
-
this
.
__score
);
this
.
__score
=
v
;
this
.
__score
=
v
;
},
},
enumerable
:
true
,
enumerable
:
true
,
...
@@ -7205,6 +7218,14 @@ var DxqPlayScene = (function (_super) {
...
@@ -7205,6 +7218,14 @@ var DxqPlayScene = (function (_super) {
var
mgr
=
_a
[
_i
];
var
mgr
=
_a
[
_i
];
mgr
.
pause
=
this
.
_pause
;
mgr
.
pause
=
this
.
_pause
;
}
}
this
.
cdline
&&
FYGE
.
Tween
.
removeTweens
(
this
.
cdline
);
if
(
this
.
pause
)
{
this
.
cdline
&&
(
this
.
cdline
[
'hasTween'
]
=
0
);
}
else
if
(
this
.
cdline
&&
!
this
.
cdline
[
'hasTween'
])
{
this
.
cdline
[
'hasTween'
]
=
1
;
FYGE
.
Tween
.
get
(
this
.
cdline
,
{
loop
:
!!
1
}).
to
({
rotation
:
360
},
500
);
}
},
},
enumerable
:
true
,
enumerable
:
true
,
configurable
:
true
configurable
:
true
...
@@ -7218,145 +7239,6 @@ var DxqPlayScene = (function (_super) {
...
@@ -7218,145 +7239,6 @@ var DxqPlayScene = (function (_super) {
MTimer_1
.
default
.
removeOnFrame
(
"Game"
);
MTimer_1
.
default
.
removeOnFrame
(
"Game"
);
MTimer_1
.
default
.
removeOnFrame
(
"Car"
);
MTimer_1
.
default
.
removeOnFrame
(
"Car"
);
};
};
Object
.
defineProperty
(
DxqPlayScene
.
prototype
,
"localScore"
,
{
get
:
function
()
{
return
this
.
_localScore
;
},
set
:
function
(
v
)
{
this
.
_localScore
=
v
;
if
(
this
.
_localScore
>=
MConst_1
.
MConst
.
ConstantSubmitScoreNum
)
{
var
count
=
Math
.
floor
(
this
.
_localScore
/
MConst_1
.
MConst
.
ConstantSubmitScoreNum
);
this
.
needSubmitCount
+=
count
;
this
.
_localScore
-=
MConst_1
.
MConst
.
ConstantSubmitScoreNum
*
count
;
if
(
!
this
.
isSubmiting
)
{
this
.
constantSubmit
();
}
}
},
enumerable
:
true
,
configurable
:
true
});
DxqPlayScene
.
prototype
.
constantSubmit
=
function
(
score
)
{
if
(
score
===
void
0
)
{
score
=
MConst_1
.
MConst
.
ConstantSubmitScoreNum
;
}
};
DxqPlayScene
.
prototype
.
finalSubmit
=
function
(
propsId
,
onSubmited
)
{
return
__awaiter
(
this
,
void
0
,
void
0
,
function
()
{
var
serverScore
;
return
__generator
(
this
,
function
(
_a
)
{
switch
(
_a
.
label
)
{
case
0
:
if
(
this
.
isSubmited
)
return
[
2
];
this
.
isSubmited
=
true
;
if
(
!
(
this
.
needSubmitCount
>
0
))
return
[
3
,
3
];
if
(
!!
this
.
isSubmiting
)
return
[
3
,
3
];
_a
.
label
=
1
;
case
1
:
if
(
!
(
this
.
needSubmitCount
>
0
))
return
[
3
,
3
];
return
[
4
,
this
.
constantSubmit
()];
case
2
:
_a
.
sent
();
return
[
3
,
1
];
case
3
:
serverScore
=
this
.
localScore
+
(
this
.
constantSubmitSeq
-
1
+
this
.
needSubmitCount
)
*
MConst_1
.
MConst
.
ConstantSubmitScoreNum
;
if
(
serverScore
!=
this
.
score
)
{
console
.
error
(
"[score error] server:"
+
serverScore
+
" local:"
+
this
.
score
);
}
else
{
console
.
log
(
"[score] server:"
+
serverScore
+
" local:"
+
this
.
score
);
}
if
(
!
(
this
.
localScore
>
0
))
return
[
3
,
5
];
this
.
needSubmitCount
++
;
return
[
4
,
this
.
constantSubmit
(
this
.
localScore
)];
case
4
:
_a
.
sent
();
console
.
log
(
"extra submit:"
+
this
.
localScore
);
_a
.
label
=
5
;
case
5
:
return
[
2
];
}
});
});
};
DxqPlayScene
.
prototype
.
loadRes
=
function
()
{
return
__awaiter
(
this
,
void
0
,
void
0
,
function
()
{
var
duangJson
;
return
__generator
(
this
,
function
(
_a
)
{
duangJson
=
{
"mc"
:
{
"duang"
:
{
"frameRate"
:
24
,
"events"
:
[],
"frames"
:
[
{
"res"
:
"3950AA49"
,
"x"
:
64
,
"y"
:
46
},
{
"res"
:
"86D16089"
,
"x"
:
27
,
"y"
:
29
},
{
"res"
:
"4B78217C"
,
"x"
:
13
,
"y"
:
21
},
{
"res"
:
"1B30AC5E"
,
"x"
:
9
,
"y"
:
19
},
{
"res"
:
"4C28F4CC"
,
"x"
:
177
,
"y"
:
47
}
]
}
},
"res"
:
{
"4B78217C"
:
{
"x"
:
3
,
"y"
:
60
,
"w"
:
171
,
"h"
:
46
},
"86D16089"
:
{
"x"
:
3
,
"y"
:
112
,
"w"
:
144
,
"h"
:
36
},
"4C28F4CC"
:
{
"x"
:
189
,
"y"
:
3
,
"w"
:
14
,
"h"
:
24
},
"3950AA49"
:
{
"x"
:
3
,
"y"
:
154
,
"w"
:
80
,
"h"
:
16
},
"1B30AC5E"
:
{
"x"
:
3
,
"y"
:
3
,
"w"
:
180
,
"h"
:
51
}
}
};
RES_1
.
RES
.
getResAsync
(
"http://yun.duiba.com.cn/aurora/assets/65378e37b388fddb8fe5124a8e9bc49ed1a716fb.png"
,
function
(
res
)
{
setTimeout
(
function
()
{
FrameAnimation_1
.
default
.
loadRes
(
res
,
duangJson
);
});
});
return
[
2
];
});
});
};
DxqPlayScene
.
prototype
.
initMgrs
=
function
()
{
DxqPlayScene
.
prototype
.
initMgrs
=
function
()
{
this
.
mgrs
=
[
this
.
mgrs
=
[
this
.
_dropBlinkMgr
,
this
.
_dropBlinkMgr
,
...
@@ -7489,6 +7371,7 @@ var DxqPlayScene = (function (_super) {
...
@@ -7489,6 +7371,7 @@ var DxqPlayScene = (function (_super) {
}
}
};
};
DxqPlayScene
.
prototype
.
outputEvent
=
function
()
{
DxqPlayScene
.
prototype
.
outputEvent
=
function
()
{
var
_this
=
this
;
var
updateData
=
{
var
updateData
=
{
score
:
this
.
score
,
score
:
this
.
score
,
bulletScore
:
this
.
bulletScore
,
bulletScore
:
this
.
bulletScore
,
...
@@ -7506,7 +7389,10 @@ var DxqPlayScene = (function (_super) {
...
@@ -7506,7 +7389,10 @@ var DxqPlayScene = (function (_super) {
this
.
powerScoreLabel
.
text
=
updateData
.
powerScore
+
"%"
;
this
.
powerScoreLabel
.
text
=
updateData
.
powerScore
+
"%"
;
this
.
bulletScoreLabel
.
text
=
"x"
+
updateData
.
bulletScore
;
this
.
bulletScoreLabel
.
text
=
"x"
+
updateData
.
bulletScore
;
this
.
totalScoreLabel
.
text
=
updateData
.
score
+
""
;
this
.
totalScoreLabel
.
text
=
updateData
.
score
+
""
;
console
.
log
(
"ball:"
+
this
.
layers
.
ball
.
children
.
length
,
"bullet:"
+
this
.
layers
.
bullet
.
children
.
length
,
"drop:"
+
this
.
layers
.
drop
.
children
.
length
,
"effect:"
+
this
.
layers
.
effect
.
children
.
length
,
"animation:"
+
this
.
layers
.
animation
.
children
.
length
);
console
.
log
(
'this.totalScoreLabel.text'
,
this
.
totalScoreLabel
.
text
);
setTimeout
(
function
()
{
_this
.
totalScoreLabel
.
x
=
750
/
2
-
_this
.
totalScoreLabel
.
width
/
2
;
});
}
}
};
};
DxqPlayScene
.
prototype
.
updateMaxBallNum
=
function
(
bulletScore
)
{
DxqPlayScene
.
prototype
.
updateMaxBallNum
=
function
(
bulletScore
)
{
...
@@ -8372,6 +8258,96 @@ var SpBoomEffectPoolGroup = (function (_super) {
...
@@ -8372,6 +8258,96 @@ var SpBoomEffectPoolGroup = (function (_super) {
exports
.
default
=
SpBoomEffectPoolGroup
;
exports
.
default
=
SpBoomEffectPoolGroup
;
/***/
}),
/***/
"./src/game/dxq/loadDuangRes.ts"
:
/*!**************************************!*\
!*** ./src/game/dxq/loadDuangRes.ts ***!
\**************************************/
/*! no static exports found */
/***/
(
function
(
module
,
exports
,
__webpack_require__
)
{
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
RES_1
=
__webpack_require__
(
/*! ../../../module/RES */
"./module/RES.ts"
);
var
FrameAnimation_1
=
__webpack_require__
(
/*! ../../component/FrameAnimation */
"./src/component/FrameAnimation.ts"
);
exports
.
default
=
(
function
()
{
var
duangJson
=
{
"mc"
:
{
"duang"
:
{
"frameRate"
:
24
,
"events"
:
[],
"frames"
:
[
{
"res"
:
"3950AA49"
,
"x"
:
64
,
"y"
:
46
},
{
"res"
:
"86D16089"
,
"x"
:
27
,
"y"
:
29
},
{
"res"
:
"4B78217C"
,
"x"
:
13
,
"y"
:
21
},
{
"res"
:
"1B30AC5E"
,
"x"
:
9
,
"y"
:
19
},
{
"res"
:
"4C28F4CC"
,
"x"
:
177
,
"y"
:
47
}
]
}
},
"res"
:
{
"4B78217C"
:
{
"x"
:
3
,
"y"
:
60
,
"w"
:
171
,
"h"
:
46
},
"86D16089"
:
{
"x"
:
3
,
"y"
:
112
,
"w"
:
144
,
"h"
:
36
},
"4C28F4CC"
:
{
"x"
:
189
,
"y"
:
3
,
"w"
:
14
,
"h"
:
24
},
"3950AA49"
:
{
"x"
:
3
,
"y"
:
154
,
"w"
:
80
,
"h"
:
16
},
"1B30AC5E"
:
{
"x"
:
3
,
"y"
:
3
,
"w"
:
180
,
"h"
:
51
}
}
};
RES_1
.
RES
.
getResAsync
(
"http://yun.duiba.com.cn/aurora/assets/65378e37b388fddb8fe5124a8e9bc49ed1a716fb.png"
,
function
(
res
)
{
setTimeout
(
function
()
{
FrameAnimation_1
.
default
.
loadRes
(
res
,
duangJson
);
});
});
});
/***/
}),
/***/
}),
/***/
"./src/panels/GameOverPanel.ts"
:
/***/
"./src/panels/GameOverPanel.ts"
:
...
@@ -10426,15 +10402,14 @@ var __extends = (this && this.__extends) || (function () {
...
@@ -10426,15 +10402,14 @@ var __extends = (this && this.__extends) || (function () {
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
Scene_1
=
__webpack_require__
(
/*! ../../module/views/Scene */
"./module/views/Scene.ts"
);
var
Scene_1
=
__webpack_require__
(
/*! ../../module/views/Scene */
"./module/views/Scene.ts"
);
var
DxqPlayScene_1
=
__webpack_require__
(
/*! ../game/DxqPlayScene */
"./src/game/DxqPlayScene.ts"
);
var
DxqPlayScene_1
=
__webpack_require__
(
/*! ../game/DxqPlayScene */
"./src/game/DxqPlayScene.ts"
);
var
MConst_1
=
__webpack_require__
(
/*! ../Global/MConst */
"./src/Global/MConst.ts"
);
var
MTimer_1
=
__webpack_require__
(
/*! ../Global/MTimer */
"./src/Global/MTimer.ts"
);
var
MTimer_1
=
__webpack_require__
(
/*! ../Global/MTimer */
"./src/Global/MTimer.ts"
);
var
GuideMgr_1
=
__webpack_require__
(
/*! ../Mgr/GuideMgr */
"./src/Mgr/GuideMgr.ts"
);
var
GuideMgr_1
=
__webpack_require__
(
/*! ../Mgr/GuideMgr */
"./src/Mgr/GuideMgr.ts"
);
var
layers_1
=
__webpack_require__
(
/*! ../../module/views/layers */
"./module/views/layers.ts"
);
var
ShootPlanet
=
(
function
(
_super
)
{
var
ShootPlanet
=
(
function
(
_super
)
{
__extends
(
ShootPlanet
,
_super
);
__extends
(
ShootPlanet
,
_super
);
function
ShootPlanet
()
{
function
ShootPlanet
()
{
var
_this
=
_super
!==
null
&&
_super
.
apply
(
this
,
arguments
)
||
this
;
var
_this
=
_super
!==
null
&&
_super
.
apply
(
this
,
arguments
)
||
this
;
_this
.
game
=
null
;
_this
.
game
=
null
;
_this
.
startId
=
null
;
return
_this
;
return
_this
;
}
}
Object
.
defineProperty
(
ShootPlanet
.
prototype
,
"groupNames"
,
{
Object
.
defineProperty
(
ShootPlanet
.
prototype
,
"groupNames"
,
{
...
@@ -10444,11 +10419,10 @@ var ShootPlanet = (function (_super) {
...
@@ -10444,11 +10419,10 @@ var ShootPlanet = (function (_super) {
});
});
ShootPlanet
.
prototype
.
initUi
=
function
()
{
ShootPlanet
.
prototype
.
initUi
=
function
()
{
var
_this
=
this
;
var
_this
=
this
;
this
.
startId
=
this
.
data
;
MConst_1
.
MConst
.
startId
=
this
.
data
;
this
.
customProperty
();
this
.
customProperty
();
this
.
width
=
750
;
this
.
width
=
750
;
this
.
height
=
1624
;
this
.
height
=
1624
;
this
.
y
=
-
(
1624
-
layers_1
.
layers
.
stageHeight
)
/
2
;
this
.
awake
();
this
.
awake
();
setTimeout
(
function
()
{
setTimeout
(
function
()
{
_this
.
onActive
();
_this
.
onActive
();
...
@@ -10460,7 +10434,7 @@ var ShootPlanet = (function (_super) {
...
@@ -10460,7 +10434,7 @@ var ShootPlanet = (function (_super) {
};
};
ShootPlanet
.
prototype
.
onActive
=
function
()
{
ShootPlanet
.
prototype
.
onActive
=
function
()
{
if
(
!
this
.
game
)
{
if
(
!
this
.
game
)
{
this
.
game
=
new
DxqPlayScene_1
.
default
(
this
,
this
.
startId
);
this
.
game
=
new
DxqPlayScene_1
.
default
(
this
);
}
}
if
(
GuideMgr_1
.
default
.
instance
.
guideFlag
==
true
)
{
if
(
GuideMgr_1
.
default
.
instance
.
guideFlag
==
true
)
{
var
car
=
this
.
game
.
_car
;
var
car
=
this
.
game
.
_car
;
...
@@ -10557,34 +10531,34 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
...
@@ -10557,34 +10531,34 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
}
}
};
};
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
InviteInfoPanel_1
=
__webpack_require__
(
/*! ./../panels/InviteInfoPanel */
"./src/panels/InviteInfoPanel.ts"
);
var
ctrls_1
=
__webpack_require__
(
/*! ../../module/ctrls */
"./module/ctrls/index.ts"
);
var
ctrls_1
=
__webpack_require__
(
/*! ../../module/ctrls */
"./module/ctrls/index.ts"
);
var
RES_1
=
__webpack_require__
(
/*! ../../module/RES */
"./module/RES.ts"
);
var
RES_1
=
__webpack_require__
(
/*! ../../module/RES */
"./module/RES.ts"
);
var
layers_1
=
__webpack_require__
(
/*! ../../module/views/layers */
"./module/views/layers.ts"
);
var
layers_1
=
__webpack_require__
(
/*! ../../module/views/layers */
"./module/views/layers.ts"
);
var
Scene_1
=
__webpack_require__
(
/*! ../../module/views/Scene */
"./module/views/Scene.ts"
);
var
Scene_1
=
__webpack_require__
(
/*! ../../module/views/Scene */
"./module/views/Scene.ts"
);
var
doGetExtraPrize_1
=
__webpack_require__
(
/*! ../ctrls/doGetExtraPrize */
"./src/ctrls/doGetExtraPrize.ts"
);
var
getCaixukunTime_1
=
__webpack_require__
(
/*! ../ctrls/getCaixukunTime */
"./src/ctrls/getCaixukunTime.ts"
);
var
getGameInfo_1
=
__webpack_require__
(
/*! ../ctrls/getGameInfo */
"./src/ctrls/getGameInfo.ts"
);
var
getGameInfo_1
=
__webpack_require__
(
/*! ../ctrls/getGameInfo */
"./src/ctrls/getGameInfo.ts"
);
var
getInviteInfo_1
=
__webpack_require__
(
/*! ../ctrls/getInviteInfo */
"./src/ctrls/getInviteInfo.ts"
);
var
getMyRankPrize_1
=
__webpack_require__
(
/*! ../ctrls/getMyRankPrize */
"./src/ctrls/getMyRankPrize.ts"
);
var
getRankList_1
=
__webpack_require__
(
/*! ../ctrls/getRankList */
"./src/ctrls/getRankList.ts"
);
var
getVipInfo_1
=
__webpack_require__
(
/*! ../ctrls/getVipInfo */
"./src/ctrls/getVipInfo.ts"
);
var
sendLog_1
=
__webpack_require__
(
/*! ../ctrls/sendLog */
"./src/ctrls/sendLog.ts"
);
var
startGame_1
=
__webpack_require__
(
/*! ../ctrls/startGame */
"./src/ctrls/startGame.ts"
);
var
startGame_1
=
__webpack_require__
(
/*! ../ctrls/startGame */
"./src/ctrls/startGame.ts"
);
var
global_1
=
__webpack_require__
(
/*! ../datas/global */
"./src/datas/global.ts"
);
var
global_1
=
__webpack_require__
(
/*! ../datas/global */
"./src/datas/global.ts"
);
var
LogType_1
=
__webpack_require__
(
/*! ../datas/LogType */
"./src/datas/LogType.ts"
);
var
rankFlag_1
=
__webpack_require__
(
/*! ../datas/rankFlag */
"./src/datas/rankFlag.ts"
);
var
NoPrizePanel_1
=
__webpack_require__
(
/*! ../panels/NoPrizePanel */
"./src/panels/NoPrizePanel.ts"
);
var
PrizePanel_1
=
__webpack_require__
(
/*! ../panels/PrizePanel */
"./src/panels/PrizePanel.ts"
);
var
rankPanel_1
=
__webpack_require__
(
/*! ../panels/rankPanel */
"./src/panels/rankPanel.ts"
);
var
rulePanel_1
=
__webpack_require__
(
/*! ../panels/rulePanel */
"./src/panels/rulePanel.ts"
);
var
rulePanel_1
=
__webpack_require__
(
/*! ../panels/rulePanel */
"./src/panels/rulePanel.ts"
);
var
Tools_1
=
__webpack_require__
(
/*! ../Tools */
"./src/Tools.ts"
);
var
ShootPlanet_1
=
__webpack_require__
(
/*! ./ShootPlanet */
"./src/scenes/ShootPlanet.ts"
);
var
RecordScene_1
=
__webpack_require__
(
/*! ./RecordScene */
"./src/scenes/RecordScene.ts"
);
var
TaskPanel_1
=
__webpack_require__
(
/*! ../panels/TaskPanel */
"./src/panels/TaskPanel.ts"
);
var
TaskPanel_1
=
__webpack_require__
(
/*! ../panels/TaskPanel */
"./src/panels/TaskPanel.ts"
);
var
rankPanel_1
=
__webpack_require__
(
/*! ../panels/rankPanel */
"./src/panels/rankPanel.ts"
);
var
TimePanel_1
=
__webpack_require__
(
/*! ../panels/TimePanel */
"./src/panels/TimePanel.ts"
);
var
getMyRankPrize_1
=
__webpack_require__
(
/*! ../ctrls/getMyRankPrize */
"./src/ctrls/getMyRankPrize.ts"
);
var
TipPanel_1
=
__webpack_require__
(
/*! ../panels/TipPanel */
"./src/panels/TipPanel.ts"
);
var
TipPanel_1
=
__webpack_require__
(
/*! ../panels/TipPanel */
"./src/panels/TipPanel.ts"
);
var
TaoBaoNet_1
=
__webpack_require__
(
/*! ../TaoBaoNet */
"./src/TaoBaoNet.ts"
);
var
TaoBaoNet_1
=
__webpack_require__
(
/*! ../TaoBaoNet */
"./src/TaoBaoNet.ts"
);
var
sendLog_1
=
__webpack_require__
(
/*! ../ctrls/sendLog */
"./src/ctrls/sendLog.ts"
);
var
Tools_1
=
__webpack_require__
(
/*! ../Tools */
"./src/Tools.ts"
);
var
LogType_1
=
__webpack_require__
(
/*! ../datas/LogType */
"./src/datas/LogType.ts"
);
var
InviteInfoPanel_1
=
__webpack_require__
(
/*! ./../panels/InviteInfoPanel */
"./src/panels/InviteInfoPanel.ts"
);
var
getInviteInfo_1
=
__webpack_require__
(
/*! ../ctrls/getInviteInfo */
"./src/ctrls/getInviteInfo.ts"
);
var
RecordScene_1
=
__webpack_require__
(
/*! ./RecordScene */
"./src/scenes/RecordScene.ts"
);
var
TimePanel_1
=
__webpack_require__
(
/*! ../panels/TimePanel */
"./src/panels/TimePanel.ts"
);
var
ShootPlanet_1
=
__webpack_require__
(
/*! ./ShootPlanet */
"./src/scenes/ShootPlanet.ts"
);
var
getRankList_1
=
__webpack_require__
(
/*! ../ctrls/getRankList */
"./src/ctrls/getRankList.ts"
);
var
PrizePanel_1
=
__webpack_require__
(
/*! ../panels/PrizePanel */
"./src/panels/PrizePanel.ts"
);
var
NoPrizePanel_1
=
__webpack_require__
(
/*! ../panels/NoPrizePanel */
"./src/panels/NoPrizePanel.ts"
);
var
doGetExtraPrize_1
=
__webpack_require__
(
/*! ../ctrls/doGetExtraPrize */
"./src/ctrls/doGetExtraPrize.ts"
);
var
getVipInfo_1
=
__webpack_require__
(
/*! ../ctrls/getVipInfo */
"./src/ctrls/getVipInfo.ts"
);
var
rankFlag_1
=
__webpack_require__
(
/*! ../datas/rankFlag */
"./src/datas/rankFlag.ts"
);
var
getCaixukunTime_1
=
__webpack_require__
(
/*! ../ctrls/getCaixukunTime */
"./src/ctrls/getCaixukunTime.ts"
);
exports
.
svgaPool
=
{};
exports
.
svgaPool
=
{};
var
StartScene
=
(
function
(
_super
)
{
var
StartScene
=
(
function
(
_super
)
{
__extends
(
StartScene
,
_super
);
__extends
(
StartScene
,
_super
);
...
...
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