Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
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
SparkProjects
TNGD_CaveCruiser
Commits
25531c7b
Commit
25531c7b
authored
Oct 18, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
b97ee127
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
35 deletions
+40
-35
HomeScene.ts
assets/Scripts/Scenes/HomeScene.ts
+2
-1
GuideGame.ts
assets/Scripts/Scenes/MainGame/GuideGame.ts
+8
-4
index.html
build/dbTest/index.html
+10
-10
index.html
build/tngdTest/index.html
+10
-10
packages.json
profiles/v2/editor/packages.json
+1
-1
builder.json
profiles/v2/packages/builder.json
+5
-5
scene.json
profiles/v2/packages/scene.json
+4
-4
No files found.
assets/Scripts/Scenes/HomeScene.ts
View file @
25531c7b
...
...
@@ -52,7 +52,8 @@ export class HomeScene extends Scene {
const
{
alreadyGuideSteps
,
allGuideSteps
}
=
store
.
homeInfo
;
if
(
alreadyGuideSteps
<
allGuideSteps
)
{
// 改成不记录步数
if
(
alreadyGuideSteps
<
1
)
{
changeScene
(
GuideGame
);
}
else
{
const
success
=
await
GameMgr
.
ins
.
start
();
...
...
assets/Scripts/Scenes/MainGame/GuideGame.ts
View file @
25531c7b
...
...
@@ -146,7 +146,7 @@ export class GuideGame extends Scene {
return
;
}
await
sendWebNet
(
WebNetName
.
stepNewGuide
);
//
await sendWebNet(WebNetName.stepNewGuide);
const
success
=
await
GameMgr
.
ins
.
start
();
if
(
!
success
)
{
changeScene
(
HomeScene
);
...
...
@@ -175,6 +175,10 @@ export class GuideGame extends Scene {
this
.
phyUpdate
=
false
;
this
.
guideNode
.
show
(
4
);
// 死了标记新手引导完成
sendWebNet
(
WebNetName
.
stepNewGuide
);
}
scoreRadioFunc
=
()
=>
{
...
...
@@ -198,7 +202,7 @@ export class GuideGame extends Scene {
this
.
phyUpdate
=
true
;
this
.
guideNode
.
hide
();
if
(
this
.
data
?.
from
!==
"HomeScene"
)
{
sendWebNet
(
WebNetName
.
stepNewGuide
);
//
sendWebNet(WebNetName.stepNewGuide);
}
// this.scheduleOnce(() => {
...
...
@@ -335,7 +339,7 @@ export class GuideGame extends Scene {
if
(
this
.
guideNode
.
guideIndex
==
1
)
{
this
.
guideNode
.
hide
();
if
(
this
.
data
?.
from
!==
"HomeScene"
)
{
sendWebNet
(
WebNetName
.
stepNewGuide
);
//
sendWebNet(WebNetName.stepNewGuide);
}
this
.
scheduleOnce
(()
=>
{
this
.
phyUpdate
=
false
;
...
...
@@ -344,7 +348,7 @@ export class GuideGame extends Scene {
this
.
guideNode
.
hide
();
this
.
phyUpdate
=
true
;
if
(
this
.
data
?.
from
!==
"HomeScene"
)
{
sendWebNet
(
WebNetName
.
stepNewGuide
);
//
sendWebNet(WebNetName.stepNewGuide);
}
});
},
0.65
);
...
...
build/dbTest/index.html
View file @
25531c7b
...
...
@@ -98,14 +98,14 @@
</style>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/custom.css" />-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>-->
...
...
@@ -118,20 +118,20 @@
</div>
<!-- Polyfills bundle. -->
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!--<script src="https://yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
{
"imports"
:{
"cc"
:
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/cocos-js/cc.js"
}}
</script>
<script>
System
.
import
(
'//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
8524418651
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/Cave_Cruiser/172
9223512545
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
build/tngdTest/index.html
View file @
25531c7b
...
...
@@ -98,14 +98,14 @@
</style>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/custom.css" />-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>-->
...
...
@@ -118,20 +118,20 @@
</div>
<!-- Polyfills bundle. -->
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!--<script src="https://gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
{
"imports"
:{
"cc"
:
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/cocos-js/cc.js"
}}
</script>
<script>
System
.
import
(
'//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
8542600542
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//gamification-cdn-sbx.tngdigital.com.my/TNGD_GAMES/Cave_Cruiser/172
9223678321
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
profiles/v2/editor/packages.json
View file @
25531c7b
...
...
@@ -9,7 +9,7 @@
"8"
:
{
"3
\\
extension"
:
{
"name"
:
"extension"
,
"time"
:
172
8542585086
"time"
:
172
9223348183
}
}
}
...
...
profiles/v2/packages/builder.json
View file @
25531c7b
...
...
@@ -70,8 +70,8 @@
"progress"
:
1
,
"state"
:
"success"
,
"stage"
:
"build"
,
"message"
:
"2024-10-1
0 09:40:53 build success in 35
s!"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:172
8524418651
\r
color: green
\r
"
,
"message"
:
"2024-10-1
8 11:54:37 build success in 2 min 44
s!"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:172
9223512545
\r
color: green
\r
"
,
"options"
:
{
"name"
:
"cocos-template-3d"
,
"server"
:
""
,
...
...
@@ -140,7 +140,7 @@
"nativeCodeBundleMode"
:
"both"
,
"wasmCompressionMode"
:
false
},
"time"
:
"2024-10-1
0 09:40:18
"
,
"time"
:
"2024-10-1
8 11:51:52
"
,
"dirty"
:
false
},
"1727146301455"
:
{
...
...
@@ -149,7 +149,7 @@
"progress"
:
1
,
"state"
:
"success"
,
"stage"
:
"build"
,
"message"
:
"2024-10-1
0 14:44:22 build success in 1 min 2
s!"
,
"message"
:
"2024-10-1
8 11:55:49 build success in 1 min 11
s!"
,
"detailMessage"
:
"Asset DB is resume!
\r
"
,
"options"
:
{
"name"
:
"cocos-template-3d"
,
...
...
@@ -219,7 +219,7 @@
"buildMode"
:
"normal"
,
"logDest"
:
"project://temp/builder/log/web-mobile1-15-2024 18-54.log"
},
"time"
:
"2024-10-1
0 14:43:20
"
,
"time"
:
"2024-10-1
8 11:54:38
"
,
"dirty"
:
false
}
}
...
...
profiles/v2/packages/scene.json
View file @
25531c7b
...
...
@@ -1267,8 +1267,8 @@
},
"7b5de2a0-8504-46ba-9019-37a3548ce8e1"
:
{
"position"
:
{
"x"
:
273.8624275202809
,
"y"
:
619.8493342728343
,
"x"
:
-1104.990210897534
,
"y"
:
-736.2123514438598
,
"z"
:
5000
},
"rotation"
:
{
...
...
@@ -1283,8 +1283,8 @@
"z"
:
0
},
"contentRect"
:
{
"x"
:
273.8624275202809
,
"y"
:
619.8493342728344
,
"x"
:
-1104.990210897534
,
"y"
:
-736.2123514438598
,
"width"
:
0
,
"height"
:
0
},
...
...
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