Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
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
MingSnake_241120
Commits
89e2d8fa
Commit
89e2d8fa
authored
Dec 25, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
55203e36
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
1537 additions
and
899 deletions
+1537
-899
GameResultPanel.prefab
assets/Bundles/GameResultPanel/GameResultPanel.prefab
+242
-77
HomeScene.scene
assets/Bundles/HomeScene/HomeScene.scene
+31
-28
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+1009
-727
pregress.prefab
assets/Bundles/MainGame/prefab/progress/pregress.prefab
+4
-2
MyBagItem.prefab
assets/Bundles/MyBagPanel/MyBagItem.prefab
+15
-9
MyBagPanel.prefab
assets/Bundles/MyBagPanel/MyBagPanel.prefab
+6
-6
RankScene.scene
assets/Bundles/RankScene/RankScene.scene
+45
-25
SingleRankItem.prefab
assets/Bundles/RankScene/prefab/SingleRankItem.prefab
+8
-9
BlessingBagPage.ts
assets/Scripts/Scenes/BlessingBagPage.ts
+6
-0
Player.ts
assets/Scripts/Scenes/MainGame/Player.ts
+4
-0
背景音乐.mp3
assets/resources/audio/背景音乐.mp3
+0
-0
index.html
build/web-mobile/index.html
+12
-12
index.do.json
preview-template/mock/coin/index.do.json
+59
-0
index.do.mjs
preview-template/mock/coin/index.do.mjs
+92
-0
index.do.json
preview-template/mock/home/index.do.json
+1
-1
builder.json
profiles/v2/packages/builder.json
+3
-3
No files found.
assets/Bundles/GameResultPanel/GameResultPanel.prefab
View file @
89e2d8fa
This diff is collapsed.
Click to expand it.
assets/Bundles/HomeScene/HomeScene.scene
View file @
89e2d8fa
...
@@ -481,7 +481,7 @@
...
@@ -481,7 +481,7 @@
"y": -180,
"y": -180,
"z": -12.000012657215834
"z": -12.000012657215834
},
},
"_id": "
fc3KNhQ/dEr6oK1dl0jKDc
"
"_id": "
3f/wTYNORB4KrEziyR3v50
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -503,7 +503,7 @@
...
@@ -503,7 +503,7 @@
"x": 0,
"x": 0,
"y": 1
"y": 1
},
},
"_id": "7
52RFkbHpKYZ9bJVnhnYoO
"
"_id": "7
05Dbxi/pEQZbDMu4sqbMz
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -539,7 +539,7 @@
...
@@ -539,7 +539,7 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
c5VOsCIJdO05oOQJ8tKBGN
"
"_id": "
55tgtYGhdDiLiKUIf7DPNT
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -587,7 +587,7 @@
...
@@ -587,7 +587,7 @@
"y": -180,
"y": -180,
"z": -11.00000220913452
"z": -11.00000220913452
},
},
"_id": "
10SEUR1aNGB6stb357DsGJ
"
"_id": "
ceVR5jvyRJ763IOzxqRNWU
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -609,7 +609,7 @@
...
@@ -609,7 +609,7 @@
"x": 0,
"x": 0,
"y": 1
"y": 1
},
},
"_id": "
f2ngscivRPBqPETr0RgJi1
"
"_id": "
3aD627ifxO0bTW1tFZ1K/g
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -645,7 +645,7 @@
...
@@ -645,7 +645,7 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
a043vxnbdOap5SKn8yVgh
a"
"_id": "
faCzpPQDVA84CeubOqBtL
a"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -693,7 +693,7 @@
...
@@ -693,7 +693,7 @@
"y": -180,
"y": -180,
"z": -64.00000614258742
"z": -64.00000614258742
},
},
"_id": "
97laqkxVFPfp4RH4XVHVtN
"
"_id": "
3aBqXGT8ZGza0jNexSbaDl
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -715,7 +715,7 @@
...
@@ -715,7 +715,7 @@
"x": 0,
"x": 0,
"y": 1
"y": 1
},
},
"_id": "
2bO/6RavVLuJZJZk6sJX8
P"
"_id": "
0bx96xiR5HoLg7AY6SFMl
P"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -751,7 +751,7 @@
...
@@ -751,7 +751,7 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
b18ScQdalMXKVre4pl3g73
"
"_id": "
5dvQGk7GJNxY0uxi7cKB1d
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -799,7 +799,7 @@
...
@@ -799,7 +799,7 @@
"y": 180,
"y": 180,
"z": 25.99999385741257
"z": 25.99999385741257
},
},
"_id": "9
aGiLcI5xKbpCYAdnTCkJI
"
"_id": "9
2M39nqldFXaUHc4wLEZxL
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -821,7 +821,7 @@
...
@@ -821,7 +821,7 @@
"x": 0,
"x": 0,
"y": 1
"y": 1
},
},
"_id": "
7aa4qWrSlNVpdjOvyQp13p
"
"_id": "
a0ePXItdRGcY/bJlmaEPY7
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -857,7 +857,7 @@
...
@@ -857,7 +857,7 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
2acqQJf2pEkpehpL1OpXxa
"
"_id": "
c0Z54leFxM06ocG2tuUqFq
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -934,7 +934,7 @@
...
@@ -934,7 +934,7 @@
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -6
60.751
,
"x": -6
89
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -4079,7 +4079,7 @@
...
@@ -4079,7 +4079,7 @@
"__prefab": null,
"__prefab": null,
"_alignFlags": 8,
"_alignFlags": 8,
"_target": null,
"_target": null,
"_left": 1
51.24900000000002
,
"_left": 1
23
,
"_right": 0,
"_right": 0,
"_top": 0,
"_top": 0,
"_bottom": 0,
"_bottom": 0,
...
@@ -4201,7 +4201,7 @@
...
@@ -4201,7 +4201,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -34.68900000000008,
"x": -34.68900000000008,
"y":
273.559
,
"y":
305.66999999999996
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -4383,7 +4383,7 @@
...
@@ -4383,7 +4383,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -133.077,
"x": -133.077,
"y":
273.559
,
"y":
305.66999999999996
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -4547,7 +4547,7 @@
...
@@ -4547,7 +4547,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -234.68900000000008,
"x": -234.68900000000008,
"y":
273.559
,
"y":
305.66999999999996
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -4711,7 +4711,7 @@
...
@@ -4711,7 +4711,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -334.6890000000001,
"x": -334.6890000000001,
"y":
273.559
,
"y":
305.66999999999996
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -6387,7 +6387,7 @@
...
@@ -6387,7 +6387,7 @@
"__id__": 168
"__id__": 168
}
}
],
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
"_components": [
{
{
"__id__": 176
"__id__": 176
...
@@ -6397,7 +6397,7 @@
...
@@ -6397,7 +6397,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -336.40200000000004,
"x": -336.40200000000004,
"y": 2
08.418
,
"y": 2
45.10699999999997
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -6612,7 +6612,7 @@
...
@@ -6612,7 +6612,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": -
15.120000000000001
,
"y": -
25.12
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -6683,14 +6683,17 @@
...
@@ -6683,14 +6683,17 @@
"_string": "",
"_string": "",
"_horizontalAlign": 1,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 2
0
,
"_actualFontSize": 2
2
,
"_fontSize": 2
0
,
"_fontSize": 2
2
,
"_fontFamily": "Arial",
"_fontFamily": "Arial",
"_lineHeight": 24,
"_lineHeight": 24,
"_overflow": 3,
"_overflow": 3,
"_enableWrapText": true,
"_enableWrapText": true,
"_font": null,
"_font": {
"_isSystemFontUsed": true,
"__uuid__": "51c12289-a516-4991-8323-ac98cee8b520",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_spacingX": 0,
"_isItalic": false,
"_isItalic": false,
"_isBold": false,
"_isBold": false,
...
@@ -6765,7 +6768,7 @@
...
@@ -6765,7 +6768,7 @@
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 216,
"width": 216,
"height":
30.240000000000002
"height":
50.24
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -6833,8 +6836,8 @@
...
@@ -6833,8 +6836,8 @@
"_startAxis": 0,
"_startAxis": 0,
"_paddingLeft": 10,
"_paddingLeft": 10,
"_paddingRight": 10,
"_paddingRight": 10,
"_paddingTop": 0,
"_paddingTop":
1
0,
"_paddingBottom": 0,
"_paddingBottom":
1
0,
"_spacingX": 0,
"_spacingX": 0,
"_spacingY": 0,
"_spacingY": 0,
"_verticalDirection": 1,
"_verticalDirection": 1,
...
...
assets/Bundles/MainGame/MainGame.scene
View file @
89e2d8fa
This diff is collapsed.
Click to expand it.
assets/Bundles/MainGame/prefab/progress/pregress.prefab
View file @
89e2d8fa
...
@@ -397,7 +397,7 @@
...
@@ -397,7 +397,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y":
40
,
"y":
26
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -644,7 +644,9 @@
...
@@ -644,7 +644,9 @@
"skin2": {
"skin2": {
"__uuid__": "a078d1dd-aa4a-49b7-86ea-b49619643a92@f9941",
"__uuid__": "a078d1dd-aa4a-49b7-86ea-b49619643a92@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
...
assets/Bundles/MyBagPanel/MyBagItem.prefab
View file @
89e2d8fa
...
@@ -422,7 +422,7 @@
...
@@ -422,7 +422,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -260,
"x": -260,
"y":
32.4
,
"y":
19.836000000000013
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -560,7 +560,7 @@
...
@@ -560,7 +560,7 @@
"_target": null,
"_target": null,
"_left": 150,
"_left": 150,
"_right": 0,
"_right": 0,
"_top":
35
,
"_top":
47.563999999999986
,
"_bottom": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
@@ -619,8 +619,8 @@
...
@@ -619,8 +619,8 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -2
59.99992968749996
,
"x": -2
60
,
"y": -
7.6
,
"y": -
20.163999999999987
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -756,9 +756,9 @@
...
@@ -756,9 +756,9 @@
},
},
"_alignFlags": 9,
"_alignFlags": 9,
"_target": null,
"_target": null,
"_left": 150
.00007031250004
,
"_left": 150,
"_right": 0,
"_right": 0,
"_top":
75
,
"_top":
87.564
,
"_bottom": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
@@ -1851,7 +1851,9 @@
...
@@ -1851,7 +1851,9 @@
"skin2": {
"skin2": {
"__uuid__": "c8667bee-c2a0-4159-8474-2d620f8c0b00@f9941",
"__uuid__": "c8667bee-c2a0-4159-8474-2d620f8c0b00@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "SkinNode",
"__type__": "SkinNode",
...
@@ -1880,7 +1882,9 @@
...
@@ -1880,7 +1882,9 @@
"skin2": {
"skin2": {
"__uuid__": "3802228e-9e2f-4e1a-98a3-c0146817751a@f9941",
"__uuid__": "3802228e-9e2f-4e1a-98a3-c0146817751a@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "SkinNode",
"__type__": "SkinNode",
...
@@ -1909,7 +1913,9 @@
...
@@ -1909,7 +1913,9 @@
"skin2": {
"skin2": {
"__uuid__": "cf4dd7df-2848-489e-bf94-67a8c19faef6@f9941",
"__uuid__": "cf4dd7df-2848-489e-bf94-67a8c19faef6@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "cc.PrefabInfo",
"__type__": "cc.PrefabInfo",
...
...
assets/Bundles/MyBagPanel/MyBagPanel.prefab
View file @
89e2d8fa
...
@@ -604,7 +604,7 @@
...
@@ -604,7 +604,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": 1
8
5,
"y": 1
7
5,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -1597,7 +1597,7 @@
...
@@ -1597,7 +1597,7 @@
"_target": null,
"_target": null,
"_left": 0,
"_left": 0,
"_right": 0,
"_right": 0,
"_top":
9
0,
"_top":
10
0,
"_bottom": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
@@ -1661,7 +1661,7 @@
...
@@ -1661,7 +1661,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": -
77.5
,
"y": -
80
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -1714,7 +1714,7 @@
...
@@ -1714,7 +1714,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y":
0
,
"y":
12.5
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -2069,7 +2069,7 @@
...
@@ -2069,7 +2069,7 @@
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 820,
"width": 820,
"height": 4
25
"height": 4
00
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2099,7 +2099,7 @@
...
@@ -2099,7 +2099,7 @@
"_left": 0,
"_left": 0,
"_right": 0,
"_right": 0,
"_top": 0,
"_top": 0,
"_bottom":
1
0,
"_bottom":
2
0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
...
assets/Bundles/RankScene/RankScene.scene
View file @
89e2d8fa
...
@@ -22,7 +22,9 @@
...
@@ -22,7 +22,9 @@
],
],
"_active": true,
"_active": true,
"_components": [],
"_components": [],
"_prefab": null,
"_prefab": {
"__id__": 212
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
...
@@ -52,7 +54,7 @@
...
@@ -52,7 +54,7 @@
},
},
"autoReleaseAssets": false,
"autoReleaseAssets": false,
"_globals": {
"_globals": {
"__id__": 21
2
"__id__": 21
3
},
},
"_id": "77109a78-3867-4561-a004-2d33e0cd5788"
"_id": "77109a78-3867-4561-a004-2d33e0cd5788"
},
},
...
@@ -194,7 +196,7 @@
...
@@ -194,7 +196,7 @@
"_priority": 1073741824,
"_priority": 1073741824,
"_fov": 45,
"_fov": 45,
"_fovAxis": 0,
"_fovAxis": 0,
"_orthoHeight": 7
39.6666666666667
,
"_orthoHeight": 7
77.872463768116
,
"_near": 1,
"_near": 1,
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
...
@@ -1599,7 +1601,7 @@
...
@@ -1599,7 +1601,7 @@
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -
137.94499999999994
,
"x": -
78.56899999999996
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -1643,7 +1645,7 @@
...
@@ -1643,7 +1645,7 @@
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x": 0,
"x": 0
.5
,
"y": 0.5
"y": 0.5
},
},
"_id": "b6eunHutBK6rHDCwFIu54d"
"_id": "b6eunHutBK6rHDCwFIu54d"
...
@@ -1660,7 +1662,7 @@
...
@@ -1660,7 +1662,7 @@
"__prefab": null,
"__prefab": null,
"_alignFlags": 9,
"_alignFlags": 9,
"_target": null,
"_target": null,
"_left": 1
65.55500000000006
,
"_left": 1
34.93100000000004
,
"_right": 0,
"_right": 0,
"_top": -1.6999999999999993,
"_top": -1.6999999999999993,
"_bottom": 0,
"_bottom": 0,
...
@@ -1764,7 +1766,7 @@
...
@@ -1764,7 +1766,7 @@
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 1
87.2088593749999
7,
"x": 1
91.9780000000000
7,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -1825,7 +1827,7 @@
...
@@ -1825,7 +1827,7 @@
"__prefab": null,
"__prefab": null,
"_alignFlags": 8,
"_alignFlags": 8,
"_target": null,
"_target": null,
"_left": 48
2.36657421875
,
"_left": 48
7.13571484375007
,
"_right": 0,
"_right": 0,
"_top": 0,
"_top": 0,
"_bottom": 0,
"_bottom": 0,
...
@@ -2602,7 +2604,7 @@
...
@@ -2602,7 +2604,7 @@
"__id__": 106
"__id__": 106
}
}
],
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 113
"__id__": 113
...
@@ -4414,7 +4416,7 @@
...
@@ -4414,7 +4416,7 @@
"__id__": 153
"__id__": 153
}
}
],
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 160
"__id__": 160
...
@@ -6464,7 +6466,7 @@
...
@@ -6464,7 +6466,7 @@
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 4
21.05999999999995
,
"x": 4
56.06600000000003
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -7260,7 +7262,7 @@
...
@@ -7260,7 +7262,7 @@
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 11
3.10500000000002
,
"x": 11
0
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -7911,7 +7913,9 @@
...
@@ -7911,7 +7913,9 @@
"skin2": {
"skin2": {
"__uuid__": "a06f0440-b9f0-4547-be68-c885e9c5c369@f9941",
"__uuid__": "a06f0440-b9f0-4547-be68-c885e9c5c369@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "SkinNode",
"__type__": "SkinNode",
...
@@ -7940,7 +7944,9 @@
...
@@ -7940,7 +7944,9 @@
"skin2": {
"skin2": {
"__uuid__": "f05a8b19-fd48-4508-be50-cefd3d1d55fa@f9941",
"__uuid__": "f05a8b19-fd48-4508-be50-cefd3d1d55fa@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "SkinNode",
"__type__": "SkinNode",
...
@@ -7969,7 +7975,9 @@
...
@@ -7969,7 +7975,9 @@
"skin2": {
"skin2": {
"__uuid__": "724fb5c3-e8dc-4e09-a796-1cd1d10390c6@f9941",
"__uuid__": "724fb5c3-e8dc-4e09-a796-1cd1d10390c6@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "SkinNode",
"__type__": "SkinNode",
...
@@ -7998,7 +8006,9 @@
...
@@ -7998,7 +8006,9 @@
"skin2": {
"skin2": {
"__uuid__": "8de59af5-7191-4ef6-b4bb-00e68d2c7148@f9941",
"__uuid__": "8de59af5-7191-4ef6-b4bb-00e68d2c7148@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
},
{
{
"__type__": "SkinNode",
"__type__": "SkinNode",
...
@@ -8027,33 +8037,43 @@
...
@@ -8027,33 +8037,43 @@
"skin2": {
"skin2": {
"__uuid__": "6b7cc49f-51b8-4c28-b67b-8e27f137c336@f9941",
"__uuid__": "6b7cc49f-51b8-4c28-b67b-8e27f137c336@f9941",
"__expectedType__": "cc.SpriteFrame"
"__expectedType__": "cc.SpriteFrame"
}
},
"node1": null,
"node2": null
},
{
"__type__": "cc.PrefabInfo",
"root": null,
"asset": null,
"fileId": "77109a78-3867-4561-a004-2d33e0cd5788",
"instance": null,
"targetOverrides": null
},
},
{
{
"__type__": "cc.SceneGlobals",
"__type__": "cc.SceneGlobals",
"ambient": {
"ambient": {
"__id__": 21
3
"__id__": 21
4
},
},
"shadows": {
"shadows": {
"__id__": 21
4
"__id__": 21
5
},
},
"_skybox": {
"_skybox": {
"__id__": 21
5
"__id__": 21
6
},
},
"fog": {
"fog": {
"__id__": 21
6
"__id__": 21
7
},
},
"octree": {
"octree": {
"__id__": 21
7
"__id__": 21
8
},
},
"skin": {
"skin": {
"__id__": 21
8
"__id__": 21
9
},
},
"lightProbeInfo": {
"lightProbeInfo": {
"__id__": 2
19
"__id__": 2
20
},
},
"postSettings": {
"postSettings": {
"__id__": 22
0
"__id__": 22
1
},
},
"bakedWithStationaryMainLight": false,
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
"bakedWithHighpLightmap": false
...
...
assets/Bundles/RankScene/prefab/SingleRankItem.prefab
View file @
89e2d8fa
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y":
0
,
"y":
266.48100000000005
,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -23
5.5
,
"x": -23
9.12
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
},
},
"_alignFlags": 10,
"_alignFlags": 10,
"_target": null,
"_target": null,
"_left":
33.3081054687
5,
"_left":
29.68810546874999
5,
"_right": 0,
"_right": 0,
"_top": 0,
"_top": 0,
"_bottom": 0,
"_bottom": 0,
...
@@ -290,7 +290,7 @@
...
@@ -290,7 +290,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -
134.94499999999994
,
"x": -
79
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -336,7 +336,7 @@
...
@@ -336,7 +336,7 @@
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
"x": 0,
"x": 0
.5
,
"y": 0.5
"y": 0.5
},
},
"_id": ""
"_id": ""
...
@@ -359,7 +359,7 @@
...
@@ -359,7 +359,7 @@
},
},
"_alignFlags": 9,
"_alignFlags": 9,
"_target": null,
"_target": null,
"_left": 1
65.55500000000006
,
"_left": 1
89.80810546875
,
"_right": 0,
"_right": 0,
"_top": -1.6999999999999993,
"_top": -1.6999999999999993,
"_bottom": 0,
"_bottom": 0,
...
@@ -488,7 +488,7 @@
...
@@ -488,7 +488,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 19
0.20885937499997
,
"x": 19
2.4179999999999
,
"y": 0,
"y": 0,
"z": 0
"z": 0
},
},
...
@@ -557,7 +557,7 @@
...
@@ -557,7 +557,7 @@
},
},
"_alignFlags": 8,
"_alignFlags": 8,
"_target": null,
"_target": null,
"_left": 4
59.01696484375
,
"_left": 4
61.2261054687499
,
"_right": 0,
"_right": 0,
"_top": 0,
"_top": 0,
"_bottom": 0,
"_bottom": 0,
...
@@ -697,7 +697,6 @@
...
@@ -697,7 +697,6 @@
"__id__": 0
"__id__": 0
},
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null
"targetOverrides": null
}
}
]
]
\ No newline at end of file
assets/Scripts/Scenes/BlessingBagPage.ts
View file @
89e2d8fa
...
@@ -325,6 +325,12 @@ export class BlessingBagPage extends Scene {
...
@@ -325,6 +325,12 @@ export class BlessingBagPage extends Scene {
// @ts-ignore
// @ts-ignore
wx
.
miniProgram
.
navigateTo
({
wx
.
miniProgram
.
navigateTo
({
url
:
`
${
jumpUrl
}
?taskId=
${
getUrlParams
(
"taskToken"
)}
`
,
url
:
`
${
jumpUrl
}
?taskId=
${
getUrlParams
(
"taskToken"
)}
`
,
success
:
()
=>
{
console
.
log
(
"跳转成功"
);
},
fail
:
(
e
)
=>
{
console
.
error
(
"跳转失败"
,
e
);
}
});
});
}
}
}
}
...
...
assets/Scripts/Scenes/MainGame/Player.ts
View file @
89e2d8fa
...
@@ -9,6 +9,7 @@ import { ECard, EPropType, Events } from "./Common/Enums";
...
@@ -9,6 +9,7 @@ import { ECard, EPropType, Events } from "./Common/Enums";
import
gameStore
from
"../../store/gameStore"
;
import
gameStore
from
"../../store/gameStore"
;
import
{
Target
}
from
"./Components/Target"
;
import
{
Target
}
from
"./Components/Target"
;
import
{
Global
}
from
"./Global"
;
import
{
Global
}
from
"./Global"
;
import
store
from
"../../store/store"
;
const
{
ccclass
,
property
}
=
_decorator
;
const
{
ccclass
,
property
}
=
_decorator
;
...
@@ -24,6 +25,7 @@ export class Player extends Snake {
...
@@ -24,6 +25,7 @@ export class Player extends Snake {
@
property
(
Camera
)
@
property
(
Camera
)
camera
:
Camera
=
null
;
camera
:
Camera
=
null
;
@
property
(
Label
)
nickTxt
:
Label
=
null
;
@
property
(
Label
)
@
property
(
Label
)
addLengthLabel
:
Label
=
null
addLengthLabel
:
Label
=
null
...
@@ -219,6 +221,7 @@ export class Player extends Snake {
...
@@ -219,6 +221,7 @@ export class Player extends Snake {
onLoad
()
{
onLoad
()
{
super
.
onLoad
();
super
.
onLoad
();
this
.
nickTxt
.
string
=
store
.
homeInfo
.
nickname
||
"微信用户"
;
this
.
tag
=
Snake
.
getTag
();
this
.
tag
=
Snake
.
getTag
();
input
.
on
(
Input
.
EventType
.
KEY_DOWN
,
this
.
onKeyDown
,
this
);
input
.
on
(
Input
.
EventType
.
KEY_DOWN
,
this
.
onKeyDown
,
this
);
input
.
on
(
Input
.
EventType
.
KEY_UP
,
this
.
onKeyUp
,
this
);
input
.
on
(
Input
.
EventType
.
KEY_UP
,
this
.
onKeyUp
,
this
);
...
@@ -299,6 +302,7 @@ export class Player extends Snake {
...
@@ -299,6 +302,7 @@ export class Player extends Snake {
onUpdate
(
dt
:
number
)
{
onUpdate
(
dt
:
number
)
{
this
.
head
.
angle
=
(
360
-
this
.
joystick
.
angle
)
%
360
;
this
.
head
.
angle
=
(
360
-
this
.
joystick
.
angle
)
%
360
;
super
.
onUpdate
(
dt
);
super
.
onUpdate
(
dt
);
this
.
nickTxt
.
node
.
setPosition
(
this
.
head
.
getPosition
().
add3f
(
0
,
54
,
0
));
}
}
...
...
assets/resources/audio/背景音乐.mp3
View file @
89e2d8fa
No preview for this file type
build/web-mobile/index.html
View file @
89e2d8fa
...
@@ -98,14 +98,14 @@
...
@@ -98,14 +98,14 @@
</style>
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/src/assets/plugin/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/src/assets/plugin/declare-process.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/src/assets/plugin/SVGA.Lite.v2.1.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/src/assets/plugin/jszip.min.v3.10.1.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/assets/plugin/rem.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/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/1735
095502215
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/style.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/custom.css" />-->
<!-- <link rel="stylesheet" type="text/css" href="//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/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>-->
...
@@ -118,20 +118,20 @@
...
@@ -118,20 +118,20 @@
</div>
</div>
<!-- Polyfills bundle. -->
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<!-- Import map -->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/src/import-map.json" type="systemjs-importmap" charset="utf-8"></script>-->
<!--<script src="https://yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/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/1735
095502215
/cocos-js/cc.js"
}}
{
"imports"
:{
"cc"
:
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/cocos-js/cc.js"
}}
</script>
</script>
<script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
095502215
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1735
106470043
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
console
.
error
(
err
);
})
})
</script>
</script>
...
...
preview-template/mock/coin/index.do.json
0 → 100644
View file @
89e2d8fa
{
"code"
:
null
,
"encode"
:
false
,
"data"
:
{
"actEndTime"
:
1735638689560
,
"actStartTime"
:
1733565086149
,
"avatar"
:
null
,
"bagPopVO"
:
{
"bagNum"
:
42900739.4793739
,
"bagImg"
:
"sunt esse ea Duis"
,
"bagName"
:
"sint"
},
"bagPopVO"
:
null
,
"benefitDesc"
:
"规则权益文案"
,
"continueSignDays"
:
0
,
"creditsNum"
:
1011347
,
"currentTime"
:
1733984931891
,
"firstEntryFlag"
:
true
,
"luckBenefitDesc"
:
"权益福袋权益"
,
"newGetSpId"
:
null
,
"newGetSpImage"
:
null
,
"newGetSpName"
:
null
,
"nickname"
:
null
,
"rankInfos"
:
[
{
"avatar"
:
null
,
"index"
:
1
,
"nickname"
:
null
},
{
"avatar"
:
null
,
"index"
:
2
,
"nickname"
:
null
},
{
"avatar"
:
null
,
"index"
:
3
,
"nickname"
:
null
}
],
"rankPopList"
:
[
{
"avatar"
:
null
,
"index"
:
1
,
"nickname"
:
null
,
"openDate"
:
1733984931891
,
"prizeName"
:
"sunt esse ea Duis"
,
"count"
:
5
,
"prizeImage"
:
"//yun.dui88.com/images/201907/tua0um9jjp.jpg"
}
],
"rankPopList"
:
[],
"signPopFlag"
:
false
,
"bagLightFlag"
:
true
},
"message"
:
null
,
"success"
:
true
,
"timeStamp"
:
1733984932128
}
\ No newline at end of file
preview-template/mock/coin/index.do.mjs
0 → 100644
View file @
89e2d8fa
// export enum ESpType {
// bag_silver = "sp_bag_silver", // 银福袋
// revival_card = "sp_revival_card", // 复活卡
// shield_card = "sp_shield_card", // 护盾卡
// agility_card = "sp_agility_card", // 移速卡
// experience_card = "sp_experience_card", // 双倍卡
// add_length = "sp_add_length", // 加长卡
// decoration_1 = "sp_decoration_1", // 蛇皮肤
// }
import
*
as
fs
from
"fs"
;
import
CryptoJS
from
"crypto-js"
;
import
"crypto-js/aes.js"
;
import
"crypto-js/pad-zeropadding.js"
;
const
{
AES
,
enc
,
mode
,
pad
}
=
CryptoJS
;
const
getOptions
=
(
iv
)
=>
{
return
{
iv
:
enc
.
Utf8
.
parse
(
iv
),
mode
:
mode
.
CBC
,
padding
:
pad
.
ZeroPadding
,
};
};
/** 加密 */
const
AESEncrypt
=
(
str
,
key
,
iv
)
=>
{
const
options
=
getOptions
(
iv
);
return
AES
.
encrypt
(
str
,
enc
.
Utf8
.
parse
(
key
),
options
).
toString
();
};
const
startInfo
=
{
dividePop
:
{
// 瓜分弹窗
boolShowPop
:
true
,
creditsNum
:
2
,
rankOrder
:
2
,
rankMultiply
:
2
,
},
settlementPop
:
{
// 结算弹窗
boolShowPop
:
true
,
oldRankMultiply
:
2
,
newRankMultiply
:
3
,
rankList
:
[
{
nickName
:
"小明"
,
rankScore
:
1
,
boolMe
:
true
,
},
{
nickName
:
"小明"
,
rankScore
:
1
,
boolMe
:
true
,
}
]
},
firstGameFlag
:
true
,
// 本局是否第一局,为true则有一,二,无尽模式三个阶段的区别
accumulateLuckNum
:
3
,
// 当局累计获得福袋数量
initScore
:
50
,
// 当局初始分数值
limitLuckNum
:
5
,
// 当日上限可获得福袋数
downArea
:
[
3
,
2
,
1
],
// 掉落分布,集合,比如每日上限6个,这里配置返回1、2、3
currentAcquireNum
:
5
,
// 当局剩余可获得福袋数,不包含accumulateLuckNum,当局累计获得福袋数量
currentStage
:
3
,
// 当前应该进入的阶段(1-一阶段 2-二阶段 3-无尽模式)
spCardList
:
[
// 道具卡集合
{
spId
:
"sp_bag_silver"
,
num
:
1
},
{
spId
:
"sp_revival_card"
,
num
:
2
},
{
spId
:
"sp_shield_card"
,
num
:
13
},
{
spId
:
"sp_agility_card"
,
num
:
9
},
{
spId
:
"sp_experience_card"
,
num
:
5
},
{
spId
:
"sp_add_length"
,
num
:
6
},
{
spId
:
"sp_decoration_1"
,
num
:
1
},
],
// sp_decoration_default装扮默认皮肤,sp_skin_snake_year装扮蛇皮肤
currentDressUp
:
"sp_decoration_default"
,
// currentDressUp: "sp_skin_snake_year",
startId
:
12312
,
// 游戏记录ID
slideScore
:
100
,
// 校验滑块的分数值
};
const
encrypt
=
AESEncrypt
(
JSON
.
stringify
(
startInfo
),
"6FDCE02EBB43C3A8"
,
"cDOiBC1n2QrkAY2P"
);
const
json
=
{
success
:
true
,
code
:
""
,
message
:
""
,
data
:
encrypt
};
fs
.
writeFileSync
(
"./index.do.json"
,
JSON
.
stringify
(
json
,
null
,
4
));
\ No newline at end of file
preview-template/mock/home/index.do.json
View file @
89e2d8fa
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"newGetSpId"
:
null
,
"newGetSpId"
:
null
,
"newGetSpImage"
:
null
,
"newGetSpImage"
:
null
,
"newGetSpName"
:
null
,
"newGetSpName"
:
null
,
"nickname"
:
null
,
"nickname"
:
"123123123123"
,
"rankInfos"
:
[
"rankInfos"
:
[
{
{
"avatar"
:
null
,
"avatar"
:
null
,
...
...
profiles/v2/packages/builder.json
View file @
89e2d8fa
...
@@ -45,8 +45,8 @@
...
@@ -45,8 +45,8 @@
"progress"
:
1
,
"progress"
:
1
,
"state"
:
"success"
,
"state"
:
"success"
,
"stage"
:
"build"
,
"stage"
:
"build"
,
"message"
:
"2024-12-25 1
0:59:36 build success in 1 min 14
s!"
,
"message"
:
"2024-12-25 1
4:01:58 build success in 49
s!"
,
"detailMessage"
:
"
refresh db internal success
\r
"
,
"detailMessage"
:
"
builder:build-project-total (48928ms)
\r
"
,
"options"
:
{
"options"
:
{
"name"
:
"cocos-template-3d"
,
"name"
:
"cocos-template-3d"
,
"server"
:
""
,
"server"
:
""
,
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
"__version__"
:
"1.3.8"
,
"__version__"
:
"1.3.8"
,
"logDest"
:
"project://temp/builder/log/web-mobile2024-11-6 15-39.log"
"logDest"
:
"project://temp/builder/log/web-mobile2024-11-6 15-39.log"
},
},
"time"
:
"2024-12-25 1
0:58:21
"
,
"time"
:
"2024-12-25 1
4:01:09
"
,
"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