Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Cocos-GoldenMiner
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
等吃饭
Cocos-GoldenMiner
Commits
1dd3cc0d
Commit
1dd3cc0d
authored
Apr 19, 2023
by
Friends233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix连续出钩
parent
64776f2c
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
29 deletions
+31
-29
Game.fire
assets/Scenes/Game.fire
+16
-16
GameScene.ts
assets/Script/GameScene.ts
+9
-7
index.js
build/web-mobile/assets/main/index.js
+1
-1
index.html
build/web-mobile/index.html
+3
-3
main.js
build/web-mobile/main.js
+2
-2
No files found.
assets/Scenes/Game.fire
View file @
1dd3cc0d
...
...
@@ -584,7 +584,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
e60/5zmCpJdaCo3Lh38Bja
"
"_id": "
3e/LjB4NdE1bMAO+lG07cy
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -614,7 +614,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
afppgo0YFIT465OSFyWm35
"
"_id": "
84b+cxc7NFPqhKY4NkeUSl
"
},
{
"__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
...
...
@@ -2352,7 +2352,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
daozOcvExOJ60ifbPZUTCe
"
"_id": "
84W4MxTDVMnLNwJhtmKSU3
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2382,7 +2382,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
c6XmUdb7tC/qF3xp92UDKx
"
"_id": "
69hQx2GfVLiaKq0J32gjrs
"
},
{
"__type__": "cc.Node",
...
...
@@ -2444,7 +2444,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
26Uu41ED1AVqLsp/KWd9/z
"
"_id": "
7a1hw+ISpDxKf4s/YnXrEK
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2474,7 +2474,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
43qgGjKnpF94ixnz3IAja9
"
"_id": "
adOKq/bwBHq7u6W9+o+Ste
"
},
{
"__type__": "cc.Node",
...
...
@@ -2536,7 +2536,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
6bgOy8Sh5AQZjmWK5CPYCC
"
"_id": "
e4FzGCAKhGcoiaCXfAW+Au
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2566,7 +2566,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
cdj87ZvLJKZotnyJmWTBBg
"
"_id": "
07eTO6AbdITK0or1FmWsFk
"
},
{
"__type__": "cc.Node",
...
...
@@ -2628,7 +2628,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
a2VJQ8w9xAe6zPmmBCrhBJ
"
"_id": "
90eerWGcxLY6ZTMf0nBrJZ
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2658,7 +2658,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
79BJMekDlHpJq8rdfuFhkD
"
"_id": "
c45aqcasNIE4ZwbOpSWSRb
"
},
{
"__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
...
...
@@ -4154,7 +4154,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
ccNyOO7R9G2JLAWQKJxqPl
"
"_id": "
39HYx6OtxLuosHJG5BuEkv
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4184,7 +4184,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
210KPLm65L/6SFVc0c4lZf
"
"_id": "
76YYCW7phLWJadG7scGnph
"
},
{
"__type__": "cc.Node",
...
...
@@ -4246,7 +4246,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
16s5Phn8RIhaV80BwHS6e
0"
"_id": "
05TSANvVxJgb1BJL1SZg3
0"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4276,7 +4276,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
e0ntEvAadCU7o8HXRShWxq
"
"_id": "
00k/6WogVImrmkZDffQ6E9
"
},
{
"__type__": "cc.Node",
...
...
@@ -4338,7 +4338,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3
eXEEodLdPh4P37Gkwv1CV
"
"_id": "3
56/LTCSJIR4RiALq95Pzx
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4368,7 +4368,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
5dP8Bz4+5Pbb88paW9pqtK
"
"_id": "
d36CBhSfBFk5Dj5um6mZNp
"
},
{
"__type__": "7c5ffhlHDpBpoDQ8wfKN7pu",
...
...
assets/Script/GameScene.ts
View file @
1dd3cc0d
...
...
@@ -149,13 +149,13 @@ export default class GameScene extends cc.Component {
/** 倒计时 */
cds
:
50
,
},
//
{
//
level: 1,
//
/** 目标数量 */
//
num: 5,
//
/** 倒计时 */
//
cds: 30,
//
},
{
level
:
1
,
/** 目标数量 */
num
:
5
,
/** 倒计时 */
cds
:
30
,
},
// {
// level: 1,
// /** 目标数量 */
...
...
@@ -367,6 +367,7 @@ export default class GameScene extends cc.Component {
this
.
setLable
(
'starIcon/starProc'
,
`
${
this
.
starNum
}
/
${
this
.
levelObjectives
}
`
)
// 达到目标
if
(
this
.
starNum
>=
this
.
levelObjectives
)
{
this
.
isStartGame
=
false
this
.
unschedule
(
this
.
startCd
)
exportEvent
.
fire
(
CUSTOM_EVENT
.
PASS_LEVEL
,
{
...
this
.
gameConfig
.
LevelInfo
[
this
.
actLevel
],
...
...
@@ -380,6 +381,7 @@ export default class GameScene extends cc.Component {
/** 下一关 */
nextLevel
()
{
const
nextLevel
=
this
.
actLevel
+
1
this
.
isStartGame
=
true
this
.
unschedule
(
this
.
startCd
)
if
(
nextLevel
>=
this
.
gameConfig
.
LevelInfo
.
length
)
{
// 已通关
this
.
gameOver
()
...
...
build/web-mobile/assets/main/index.js
View file @
1dd3cc0d
This diff is collapsed.
Click to expand it.
build/web-mobile/index.html
View file @
1dd3cc0d
...
...
@@ -40,7 +40,7 @@
<!-- <script src="//yun.duiba.com.cn/db_games/libs0924/svgaParser.minWeb.js" crossorigin="anonymous"></script>-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
03569645
/style-mobile.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
84134837
/style-mobile.css"
/>
<style>
...
...
@@ -90,9 +90,9 @@
</div>
</div>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
03569645
/src/settings.js"
charset=
"utf-8"
></script>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
84134837
/src/settings.js"
charset=
"utf-8"
></script>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
03569645
/main.js"
charset=
"utf-8"
></script>
<script
src=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
84134837
/main.js"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
(
function
()
{
...
...
build/web-mobile/main.js
View file @
1dd3cc0d
window
.
__remoteUrl__
=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
03569645
/"
;
window
.
__remoteUrl__
=
"https://yun.duiba.com.cn/db_games/ccc_game/template/16818
84134837
/"
;
window
.
__remoteAssets__
=
window
.
__remoteUrl__
+
"assets/"
;
window
.
__version__
=
16818
03569645
;
window
.
__version__
=
16818
84134837
;
window
.
__ENV__
=
"prod"
;
window
.
boot
=
function
()
{
...
...
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