Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car
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
car
Commits
b5c825da
Commit
b5c825da
authored
Jun 04, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
8ff2941f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
836 additions
and
464 deletions
+836
-464
HomeScene.scene
assets/Bundles/HomeScene/HomeScene.scene
+346
-346
level1.prefab
assets/Bundles/MainGame/Levels/level1.prefab
+89
-49
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+384
-55
MainGame.ts
assets/Scripts/Scenes/MainGame/MainGame.ts
+3
-0
index.html
build/web-mobile/index.html
+12
-12
builder.json
profiles/v2/packages/builder.json
+2
-2
No files found.
assets/Bundles/HomeScene/HomeScene.scene
View file @
b5c825da
This diff is collapsed.
Click to expand it.
assets/Bundles/MainGame/Levels/level1.prefab
View file @
b5c825da
...
@@ -25,16 +25,16 @@
...
@@ -25,16 +25,16 @@
"__id__": 17
"__id__": 17
},
},
{
{
"__id__": 3
2
"__id__": 3
4
},
},
{
{
"__id__": 4
7
"__id__": 4
9
}
}
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": {
"_prefab": {
"__id__": 6
2
"__id__": 6
6
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
...
@@ -273,10 +273,10 @@
...
@@ -273,10 +273,10 @@
},
},
"targetOverrides": [
"targetOverrides": [
{
{
"__id__": 2
7
"__id__": 2
9
},
},
{
{
"__id__": 3
0
"__id__": 3
2
}
}
]
]
},
},
...
@@ -303,6 +303,9 @@
...
@@ -303,6 +303,9 @@
},
},
{
{
"__id__": 25
"__id__": 25
},
{
"__id__": 27
}
}
],
],
"removedComponents": []
"removedComponents": []
...
@@ -385,6 +388,23 @@
...
@@ -385,6 +388,23 @@
"6cFLC99U1Dl405ygHuNfbi"
"6cFLC99U1Dl405ygHuNfbi"
]
]
},
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_active"
],
"value": true
},
{
"__type__": "cc.TargetInfo",
"localID": [
"ebXDWV+WtBwbX0k+wUYtEb",
"a8lysz3G9WsJw3sNfEgO5Z"
]
},
{
{
"__type__": "cc.TargetOverrideInfo",
"__type__": "cc.TargetOverrideInfo",
"source": null,
"source": null,
...
@@ -393,10 +413,10 @@
...
@@ -393,10 +413,10 @@
"bodyMesh"
"bodyMesh"
],
],
"target": {
"target": {
"__id__":
28
"__id__":
30
},
},
"targetInfo": {
"targetInfo": {
"__id__":
29
"__id__":
31
}
}
},
},
{
{
...
@@ -417,10 +437,10 @@
...
@@ -417,10 +437,10 @@
"top"
"top"
],
],
"target": {
"target": {
"__id__":
28
"__id__":
30
},
},
"targetInfo": {
"targetInfo": {
"__id__": 3
1
"__id__": 3
3
}
}
},
},
{
{
...
@@ -436,14 +456,14 @@
...
@@ -436,14 +456,14 @@
"__id__": 1
"__id__": 1
},
},
"_prefab": {
"_prefab": {
"__id__": 3
3
"__id__": 3
5
},
},
"__editorExtras__": {}
"__editorExtras__": {}
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 3
2
"__id__": 3
4
},
},
"asset": {
"asset": {
"__uuid__": "e9d96308-84db-4157-8abd-43bd86b1b985",
"__uuid__": "e9d96308-84db-4157-8abd-43bd86b1b985",
...
@@ -451,14 +471,14 @@
...
@@ -451,14 +471,14 @@
},
},
"fileId": "6b9c9AH31BepEFqW2vpkx7",
"fileId": "6b9c9AH31BepEFqW2vpkx7",
"instance": {
"instance": {
"__id__": 3
4
"__id__": 3
6
},
},
"targetOverrides": [
"targetOverrides": [
{
{
"__id__": 4
2
"__id__": 4
4
},
},
{
{
"__id__": 4
5
"__id__": 4
7
}
}
]
]
},
},
...
@@ -472,19 +492,19 @@
...
@@ -472,19 +492,19 @@
"mountedComponents": [],
"mountedComponents": [],
"propertyOverrides": [
"propertyOverrides": [
{
{
"__id__": 3
5
"__id__": 3
7
},
},
{
{
"__id__": 3
7
"__id__": 3
9
},
},
{
{
"__id__":
38
"__id__":
40
},
},
{
{
"__id__":
39
"__id__":
41
},
},
{
{
"__id__": 4
0
"__id__": 4
2
}
}
],
],
"removedComponents": []
"removedComponents": []
...
@@ -492,7 +512,7 @@
...
@@ -492,7 +512,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 3
6
"__id__": 3
8
},
},
"propertyPath": [
"propertyPath": [
"_name"
"_name"
...
@@ -508,7 +528,7 @@
...
@@ -508,7 +528,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 3
6
"__id__": 3
8
},
},
"propertyPath": [
"propertyPath": [
"_lpos"
"_lpos"
...
@@ -523,7 +543,7 @@
...
@@ -523,7 +543,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 3
6
"__id__": 3
8
},
},
"propertyPath": [
"propertyPath": [
"_lrot"
"_lrot"
...
@@ -539,7 +559,7 @@
...
@@ -539,7 +559,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 3
6
"__id__": 3
8
},
},
"propertyPath": [
"propertyPath": [
"_euler"
"_euler"
...
@@ -554,7 +574,7 @@
...
@@ -554,7 +574,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 4
1
"__id__": 4
3
},
},
"propertyPath": [
"propertyPath": [
"_carColor"
"_carColor"
...
@@ -575,10 +595,10 @@
...
@@ -575,10 +595,10 @@
"bodyMesh"
"bodyMesh"
],
],
"target": {
"target": {
"__id__": 4
3
"__id__": 4
5
},
},
"targetInfo": {
"targetInfo": {
"__id__": 4
4
"__id__": 4
6
}
}
},
},
{
{
...
@@ -599,10 +619,10 @@
...
@@ -599,10 +619,10 @@
"top"
"top"
],
],
"target": {
"target": {
"__id__": 4
3
"__id__": 4
5
},
},
"targetInfo": {
"targetInfo": {
"__id__": 4
6
"__id__": 4
8
}
}
},
},
{
{
...
@@ -618,14 +638,14 @@
...
@@ -618,14 +638,14 @@
"__id__": 1
"__id__": 1
},
},
"_prefab": {
"_prefab": {
"__id__":
48
"__id__":
50
},
},
"__editorExtras__": {}
"__editorExtras__": {}
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
"root": {
"root": {
"__id__": 4
7
"__id__": 4
9
},
},
"asset": {
"asset": {
"__uuid__": "725a11fb-b865-4f16-b582-9bf848fd6a91",
"__uuid__": "725a11fb-b865-4f16-b582-9bf848fd6a91",
...
@@ -633,14 +653,14 @@
...
@@ -633,14 +653,14 @@
},
},
"fileId": "9cEQF8XeNI/5Zo+nRAEmT8",
"fileId": "9cEQF8XeNI/5Zo+nRAEmT8",
"instance": {
"instance": {
"__id__":
49
"__id__":
51
},
},
"targetOverrides": [
"targetOverrides": [
{
{
"__id__":
57
"__id__":
61
},
},
{
{
"__id__": 6
0
"__id__": 6
4
}
}
]
]
},
},
...
@@ -654,19 +674,22 @@
...
@@ -654,19 +674,22 @@
"mountedComponents": [],
"mountedComponents": [],
"propertyOverrides": [
"propertyOverrides": [
{
{
"__id__": 5
0
"__id__": 5
2
},
},
{
{
"__id__": 5
2
"__id__": 5
4
},
},
{
{
"__id__": 5
3
"__id__": 5
5
},
},
{
{
"__id__": 5
4
"__id__": 5
6
},
},
{
{
"__id__": 55
"__id__": 57
},
{
"__id__": 59
}
}
],
],
"removedComponents": []
"removedComponents": []
...
@@ -674,7 +697,7 @@
...
@@ -674,7 +697,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 5
1
"__id__": 5
3
},
},
"propertyPath": [
"propertyPath": [
"_name"
"_name"
...
@@ -690,7 +713,7 @@
...
@@ -690,7 +713,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 5
1
"__id__": 5
3
},
},
"propertyPath": [
"propertyPath": [
"_lpos"
"_lpos"
...
@@ -705,7 +728,7 @@
...
@@ -705,7 +728,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 5
1
"__id__": 5
3
},
},
"propertyPath": [
"propertyPath": [
"_lrot"
"_lrot"
...
@@ -721,7 +744,7 @@
...
@@ -721,7 +744,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 5
1
"__id__": 5
3
},
},
"propertyPath": [
"propertyPath": [
"_euler"
"_euler"
...
@@ -736,7 +759,7 @@
...
@@ -736,7 +759,7 @@
{
{
"__type__": "CCPropertyOverrideInfo",
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"targetInfo": {
"__id__": 5
6
"__id__": 5
8
},
},
"propertyPath": [
"propertyPath": [
"_carColor"
"_carColor"
...
@@ -749,6 +772,23 @@
...
@@ -749,6 +772,23 @@
"ea5VG/a7tMzbfIL5Lsqq/h"
"ea5VG/a7tMzbfIL5Lsqq/h"
]
]
},
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 60
},
"propertyPath": [
"_active"
],
"value": true
},
{
"__type__": "cc.TargetInfo",
"localID": [
"a0PbpTnnNDILTYZM63O0VD",
"8bH+7u/clUOLXvHPG4yo1Y"
]
},
{
{
"__type__": "cc.TargetOverrideInfo",
"__type__": "cc.TargetOverrideInfo",
"source": null,
"source": null,
...
@@ -757,10 +797,10 @@
...
@@ -757,10 +797,10 @@
"bodyMesh"
"bodyMesh"
],
],
"target": {
"target": {
"__id__":
58
"__id__":
62
},
},
"targetInfo": {
"targetInfo": {
"__id__":
59
"__id__":
63
}
}
},
},
{
{
...
@@ -781,10 +821,10 @@
...
@@ -781,10 +821,10 @@
"top"
"top"
],
],
"target": {
"target": {
"__id__":
58
"__id__":
62
},
},
"targetInfo": {
"targetInfo": {
"__id__": 6
1
"__id__": 6
5
}
}
},
},
{
{
...
@@ -806,10 +846,10 @@
...
@@ -806,10 +846,10 @@
"targetOverrides": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
"nestedPrefabInstanceRoots": [
{
{
"__id__": 4
7
"__id__": 4
9
},
},
{
{
"__id__": 3
2
"__id__": 3
4
},
},
{
{
"__id__": 17
"__id__": 17
...
...
assets/Bundles/MainGame/MainGame.scene
View file @
b5c825da
This diff is collapsed.
Click to expand it.
assets/Scripts/Scenes/MainGame/MainGame.ts
View file @
b5c825da
...
@@ -164,6 +164,9 @@ export class MainGame extends Scene {
...
@@ -164,6 +164,9 @@ export class MainGame extends Scene {
CarColorsGlobalInstance
.
instance
.
roleSysterm
.
clearAll
();
CarColorsGlobalInstance
.
instance
.
roleSysterm
.
clearAll
();
CarColorsGlobalInstance
.
instance
.
carSysterm
.
clearAll
();
CarColorsGlobalInstance
.
instance
.
carSysterm
.
clearAll
();
find
(
"Scene/Roles"
).
removeAllChildren
();
find
(
"Scene/Levels"
).
removeAllChildren
();
const
level
=
await
new
Promise
<
Prefab
>
((
resolve
)
=>
{
const
level
=
await
new
Promise
<
Prefab
>
((
resolve
)
=>
{
assetManager
.
getBundle
(
"MainGame"
)
assetManager
.
getBundle
(
"MainGame"
)
.
load
(
`Levels/level
${
gameStore
.
startInfo
.
level
}
`
,
Prefab
,
(
err
,
prefab
:
Prefab
)
=>
{
.
load
(
`Levels/level
${
gameStore
.
startInfo
.
level
}
`
,
Prefab
,
(
err
,
prefab
:
Prefab
)
=>
{
...
...
build/web-mobile/index.html
View file @
b5c825da
...
@@ -98,14 +98,14 @@
...
@@ -98,14 +98,14 @@
</style>
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/assets/plugin/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/assets/plugin/rem.min.js"
></script>
<script
src=
"//res.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
<script
src=
"//res.wx.qq.com/open/js/jweixin-1.6.0.js"
></script>
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/custom.css" />-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script src="//yun-duiba-credits-test.duibatest.com.cn/TNGD_GAMES/libs/eruda.min.js"></script>-->
<!-- <script>eruda.init()</script>-->
<!-- <script>eruda.init()</script>-->
...
@@ -132,20 +132,20 @@
...
@@ -132,20 +132,20 @@
</div>
</div>
<!-- Polyfills bundle. -->
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
<script
type=
"systemjs-importmap"
charset=
"utf-8"
>
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/cocos-js/cc.js"
}}
</script>
</script>
<script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
29384839
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/17490
30676622
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
console
.
error
(
err
);
})
})
</script>
</script>
...
...
profiles/v2/packages/builder.json
View file @
b5c825da
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
"progress"
:
1
,
"progress"
:
1
,
"state"
:
"success"
,
"state"
:
"success"
,
"stage"
:
"build"
,
"stage"
:
"build"
,
"message"
:
"2025-6-4 17:
30:53 build success in 1 min
8 s!"
,
"message"
:
"2025-6-4 17:
52:14 build success in 5
8 s!"
,
"detailMessage"
:
"Asset DB is resume!
\r
"
,
"detailMessage"
:
"Asset DB is resume!
\r
"
,
"options"
:
{
"options"
:
{
"name"
:
"card"
,
"name"
:
"card"
,
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
"enable"
:
true
"enable"
:
true
}
}
},
},
"time"
:
"2025-6-4 17:
29:44
"
,
"time"
:
"2025-6-4 17:
51:16
"
,
"dirty"
:
false
"dirty"
:
false
}
}
}
}
...
...
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