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
9beaa432
Commit
9beaa432
authored
Jun 04, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
5ee4f142
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23848 additions
and
6617 deletions
+23848
-6617
level1.prefab
assets/Bundles/MainGame/Levels/level1.prefab
+184
-150
level11.prefab
assets/Bundles/MainGame/Levels/level11.prefab
+12831
-0
level11.prefab.meta
assets/Bundles/MainGame/Levels/level11.prefab.meta
+13
-0
level2.prefab
assets/Bundles/MainGame/Levels/level2.prefab
+3011
-2274
level3.prefab
assets/Bundles/MainGame/Levels/level3.prefab
+3504
-989
level4.prefab
assets/Bundles/MainGame/Levels/level4.prefab
+4266
-3184
gameStore.ts
assets/Scripts/store/gameStore.ts
+9
-4
index.html
build/web-mobile/index.html
+26
-12
builder.json
profiles/v2/packages/builder.json
+3
-3
engine.json
settings/v2/packages/engine.json
+1
-1
No files found.
assets/Bundles/MainGame/Levels/level1.prefab
View file @
9beaa432
This diff is collapsed.
Click to expand it.
assets/Bundles/MainGame/Levels/level11.prefab
0 → 100644
View file @
9beaa432
This diff is collapsed.
Click to expand it.
assets/Bundles/MainGame/Levels/level11.prefab.meta
0 → 100644
View file @
9beaa432
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "b2d3e656-d55a-414f-a7d6-ed3a0255ecfa",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "level11"
}
}
assets/Bundles/MainGame/Levels/level2.prefab
View file @
9beaa432
This diff is collapsed.
Click to expand it.
assets/Bundles/MainGame/Levels/level3.prefab
View file @
9beaa432
This diff is collapsed.
Click to expand it.
assets/Bundles/MainGame/Levels/level4.prefab
View file @
9beaa432
This diff is collapsed.
Click to expand it.
assets/Scripts/store/gameStore.ts
View file @
9beaa432
import
mobx
from
"mobx"
;
import
mobx
from
"mobx"
;
import
store
from
"db://assets/Scripts/store/store"
;
import
store
from
"db://assets/Scripts/store/store"
;
import
{
creditsCost
,
sendWebNet
,
WebNetName
}
from
"db://assets/Scripts/Utils/WebNet/WebNet"
;
import
{
creditsCost
,
sendWebNet
,
WebNetName
}
from
"db://assets/Scripts/Utils/WebNet/WebNet"
;
import
{
showPanel
,
showToast
}
from
"db://assets/core/Module/UIFast"
;
import
{
changeScene
,
hideAllPanel
,
showPanel
,
showToast
}
from
"db://assets/core/Module/UIFast"
;
import
{
SucPanel
}
from
"db://assets/Scripts/Panels/SucPanel"
;
import
{
SucPanel
}
from
"db://assets/Scripts/Panels/SucPanel"
;
import
{
OverPanel
}
from
"db://assets/Scripts/Panels/OverPanel"
;
import
{
OverPanel
}
from
"db://assets/Scripts/Panels/OverPanel"
;
import
{
HomeScene
}
from
"db://assets/Scripts/Scenes/HomeScene"
;
const
{
makeAutoObservable
}
=
mobx
;
const
{
makeAutoObservable
}
=
mobx
;
...
@@ -23,7 +24,7 @@ class GameStore {
...
@@ -23,7 +24,7 @@ class GameStore {
guideFlag
:
false
,
guideFlag
:
false
,
}
}
async
start
()
{
async
start
(
returnHome
=
false
)
{
const
{
freeTimes
,
gameCreditsEach
,
creditsNum
}
=
store
.
homeInfo
;
const
{
freeTimes
,
gameCreditsEach
,
creditsNum
}
=
store
.
homeInfo
;
...
@@ -32,7 +33,11 @@ class GameStore {
...
@@ -32,7 +33,11 @@ class GameStore {
if
(
freeTimes
<=
0
)
{
if
(
freeTimes
<=
0
)
{
if
(
creditsNum
<
gameCreditsEach
)
{
if
(
creditsNum
<
gameCreditsEach
)
{
showToast
(
"积分不足"
);
showToast
(
"积分不足,快去扫码产品获取更多积分吧!"
);
if
(
returnHome
){
hideAllPanel
();
changeScene
(
HomeScene
);
}
return
false
;
return
false
;
}
}
...
@@ -65,7 +70,7 @@ class GameStore {
...
@@ -65,7 +70,7 @@ class GameStore {
showToast
(
"青果不足"
);
showToast
(
"青果不足"
);
return
false
;
return
false
;
}
else
if
(
type
==
"credits"
&&
unparkCreditsNum
>
creditsNum
)
{
}
else
if
(
type
==
"credits"
&&
unparkCreditsNum
>
creditsNum
)
{
showToast
(
"积分不足"
);
showToast
(
"积分不足
,快去扫码产品获取更多积分吧!
"
);
return
false
;
return
false
;
}
}
...
...
build/web-mobile/index.html
View file @
9beaa432
...
@@ -98,17 +98,31 @@
...
@@ -98,17 +98,31 @@
</style>
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/assets/plugin/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/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/174902
2354453
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/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>-->
<script>
var
CFG
=
CFG
||
{};
// 免登中间页id
CFG
.
loginMidId
=
"Did1NjAwMDc"
;
// 线上正式
if
(
location
.
href
.
indexOf
(
"duibatest"
)
>
-
1
)
{
CFG
.
loginMidId
=
"Did1MTM2NTU"
;
// 测试
}
else
if
(
CFG
.
projectId
==
'p69bb35bf'
)
{
// TODO 线上测试id
CFG
.
loginMidId
=
"Did1NTk5OTk"
;
// 线上测试
}
// 免登中间页
CFG
.
loginMidUrl
=
"/customShare/share?id="
+
CFG
.
loginMidId
+
"&source=duiba&projectId="
+
CFG
.
projectId
+
"&redirectUrl="
;
</script>
</head>
</head>
<body
style=
"overflow: hidden;"
>
<body
style=
"overflow: hidden;"
>
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
style=
"overflow: hidden;"
>
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
style=
"overflow: hidden;"
>
...
@@ -118,20 +132,20 @@
...
@@ -118,20 +132,20 @@
</div>
</div>
<!-- Polyfills bundle. -->
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/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/174902
2354453
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/cocos-js/cc.js"
}}
</script>
</script>
<script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
2354453
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/174902
7264862
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
console
.
error
(
err
);
})
})
</script>
</script>
...
...
profiles/v2/packages/builder.json
View file @
9beaa432
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
"progress"
:
1
,
"progress"
:
1
,
"state"
:
"success"
,
"state"
:
"success"
,
"stage"
:
"build"
,
"stage"
:
"build"
,
"message"
:
"2025-6-4 1
5:33:40 build success in 1 min 9
s!"
,
"message"
:
"2025-6-4 1
6:56:48 build success in 2 min 23
s!"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:174902
2354453
\r
color: green
\r
"
,
"detailMessage"
:
"%c兑吧发布插件 >> 版本号:174902
7264862
\r
color: green
\r
"
,
"options"
:
{
"options"
:
{
"name"
:
"card"
,
"name"
:
"card"
,
"server"
:
""
,
"server"
:
""
,
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
"__version__"
:
"1.3.9"
,
"__version__"
:
"1.3.9"
,
"logDest"
:
"project://temp/builder/log/web-mobile2025-5-30 16-01.log"
"logDest"
:
"project://temp/builder/log/web-mobile2025-5-30 16-01.log"
},
},
"time"
:
"2025-6-4 1
5:32:31
"
,
"time"
:
"2025-6-4 1
6:54:24
"
,
"dirty"
:
false
"dirty"
:
false
}
}
}
}
...
...
settings/v2/packages/engine.json
View file @
9beaa432
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"__version__"
:
"1.0.12"
,
"__version__"
:
"1.0.12"
,
"modules"
:
{
"modules"
:
{
"graphics"
:
{
"graphics"
:
{
"pipeline"
:
"
custom
-pipeline"
"pipeline"
:
"
legacy
-pipeline"
},
},
"configs"
:
{
"configs"
:
{
"migrationsConfig"
:
{
"migrationsConfig"
:
{
...
...
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