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
8f3af8bf
Commit
8f3af8bf
authored
Nov 09, 2024
by
吴江涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不让我推了手动改回去吧
parent
5b571d74
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
39 deletions
+27
-39
GuideScene.scene
assets/Bundles/GuideScene/GuideScene.scene
+4
-4
HomeScene.scene
assets/Bundles/HomeScene/HomeScene.scene
+13
-13
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+4
-4
Start.scene
assets/Start/Start.scene
+4
-4
Start.ts
assets/Start/Start.ts
+0
-11
index.ejs
build-templates/web-mobile/index.ejs
+0
-1
index.ejs
preview-template/index.ejs
+1
-1
reference-image.json
profiles/v2/packages/reference-image.json
+1
-1
No files found.
assets/Bundles/GuideScene/GuideScene.scene
View file @
8f3af8bf
...
@@ -205,14 +205,14 @@
...
@@ -205,14 +205,14 @@
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
11
,
"r":
0
,
"g":
5
,
"g":
0
,
"b":
79
,
"b":
0
,
"a": 255
"a": 255
},
},
"_depth": 1,
"_depth": 1,
"_stencil": 0,
"_stencil": 0,
"_clearFlags":
7
,
"_clearFlags":
6
,
"_rect": {
"_rect": {
"__type__": "cc.Rect",
"__type__": "cc.Rect",
"x": 0,
"x": 0,
...
...
assets/Bundles/HomeScene/HomeScene.scene
View file @
8f3af8bf
...
@@ -187,14 +187,14 @@
...
@@ -187,14 +187,14 @@
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
12
,
"r":
0
,
"g":
7
,
"g":
0
,
"b":
105
,
"b":
0
,
"a": 255
"a": 255
},
},
"_depth": 1,
"_depth": 1,
"_stencil": 0,
"_stencil": 0,
"_clearFlags":
7
,
"_clearFlags":
6
,
"_rect": {
"_rect": {
"__type__": "cc.Rect",
"__type__": "cc.Rect",
"x": 0,
"x": 0,
...
@@ -1825,7 +1825,7 @@
...
@@ -1825,7 +1825,7 @@
"y": -180,
"y": -180,
"z": -19.35996391123362
"z": -19.35996391123362
},
},
"_id": "
35WyWsczVKRI2V/y/XeIgz
"
"_id": "
ben2VFBBZEo4in8SIsKJv/
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -1847,7 +1847,7 @@
...
@@ -1847,7 +1847,7 @@
"x": 0,
"x": 0,
"y": 1
"y": 1
},
},
"_id": "d
5S4O235RIVqd8MW6vgRv6
"
"_id": "d
2mrT17fdNe6tbp/OORdrQ
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -1883,7 +1883,7 @@
...
@@ -1883,7 +1883,7 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
8fh0D89UZHLYaRFDd/Mr3l
"
"_id": "
eaOnv7lOxIG4O51NzpJuj8
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -1931,7 +1931,7 @@
...
@@ -1931,7 +1931,7 @@
"y": 180,
"y": 180,
"z": 0
"z": 0
},
},
"_id": "
0dCk6NeB9FyLeiJUfpi5eX
"
"_id": "
c6qW1UstBMaJkW8UHwtvVr
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -1953,7 +1953,7 @@
...
@@ -1953,7 +1953,7 @@
"x": 0,
"x": 0,
"y": 1
"y": 1
},
},
"_id": "
d6G/GhUvFGyoAqlNFvblJM
"
"_id": "
1cDbWCHKxD7YpCm+RpQL12
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -1989,7 +1989,7 @@
...
@@ -1989,7 +1989,7 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
802DqhXCFC4ZiYk92q9dQy
"
"_id": "
240+2tKf9AnqUeU3Gs7bVO
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
@@ -2037,7 +2037,7 @@
...
@@ -2037,7 +2037,7 @@
"y": 180,
"y": 180,
"z": 0
"z": 0
},
},
"_id": "
19cE5w1ZZE1bnTFyub7Vu1
"
"_id": "
06x6cAoDtNApS4yYk+P8RL
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
@@ -2059,7 +2059,7 @@
...
@@ -2059,7 +2059,7 @@
"x": 0,
"x": 0,
"y": 1
"y": 1
},
},
"_id": "
c7V9dyxd5Is50mEU8FnEhk
"
"_id": "
ddXG+ZuR1ESJw013PgYV5a
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -2095,7 +2095,7 @@
...
@@ -2095,7 +2095,7 @@
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_useGrayscale": false,
"_atlas": null,
"_atlas": null,
"_id": "
49E4V5xWZG4528jFRoUvNb
"
"_id": "
6eldcUx9xNNLZsFYAuZyIU
"
},
},
{
{
"__type__": "cc.UITransform",
"__type__": "cc.UITransform",
...
...
assets/Bundles/MainGame/MainGame.scene
View file @
8f3af8bf
...
@@ -192,14 +192,14 @@
...
@@ -192,14 +192,14 @@
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
11
,
"r":
0
,
"g":
5
,
"g":
0
,
"b":
79
,
"b":
0
,
"a": 255
"a": 255
},
},
"_depth": 1,
"_depth": 1,
"_stencil": 0,
"_stencil": 0,
"_clearFlags":
7
,
"_clearFlags":
6
,
"_rect": {
"_rect": {
"__type__": "cc.Rect",
"__type__": "cc.Rect",
"x": 0,
"x": 0,
...
...
assets/Start/Start.scene
View file @
8f3af8bf
...
@@ -186,14 +186,14 @@
...
@@ -186,14 +186,14 @@
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
11
,
"r":
0
,
"g":
5
,
"g":
0
,
"b":
79
,
"b":
0
,
"a": 255
"a": 255
},
},
"_depth": 1,
"_depth": 1,
"_stencil": 0,
"_stencil": 0,
"_clearFlags":
7
,
"_clearFlags":
6
,
"_rect": {
"_rect": {
"__type__": "cc.Rect",
"__type__": "cc.Rect",
"x": 0,
"x": 0,
...
...
assets/Start/Start.ts
View file @
8f3af8bf
...
@@ -34,17 +34,6 @@ export class Start extends Component {
...
@@ -34,17 +34,6 @@ export class Start extends Component {
// game.frameRate = _FPS;
// game.frameRate = _FPS;
let
winsize
=
screen
.
windowSize
;
let
ratio
=
winsize
.
width
/
winsize
.
height
;
// let drs = view.getDesignResolutionSize();
// let drsRatio = drs.width/drs.height;
if
(
ratio
>
0.7
)
{
view
.
setResolutionPolicy
(
ResolutionPolicy
.
FIXED_HEIGHT
);
}
else
{
console
.
log
(
"进来了"
);
view
.
setResolutionPolicy
(
ResolutionPolicy
.
FIXED_WIDTH
);
}
// 预览调试时,显示性能统计面板
// 预览调试时,显示性能统计面板
if
(
PREVIEW
)
{
if
(
PREVIEW
)
{
// profiler.showStats();
// profiler.showStats();
...
...
build-templates/web-mobile/index.ejs
View file @
8f3af8bf
...
@@ -49,7 +49,6 @@
...
@@ -49,7 +49,6 @@
-ms-user-select
:
none
;
-ms-user-select
:
none
;
-khtml-user-select
:
none
;
-khtml-user-select
:
none
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
background-color
:
#0b054f
;
}
}
/* Remove spin of input type number */
/* Remove spin of input type number */
...
...
preview-template/index.ejs
View file @
8f3af8bf
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://appx/web-view.min.js"
></script>
</head>
</head>
<body
style=
"overflow: hidden;
background-color: #0b054f;
"
>
<body
style=
"overflow: hidden;"
>
<
%
-
include
(
cocosToolBar
,
{
config:
config
})
%
>
<
%
-
include
(
cocosToolBar
,
{
config:
config
})
%
>
<div
id=
"content"
class=
"content"
style=
"overflow: hidden;"
>
<div
id=
"content"
class=
"content"
style=
"overflow: hidden;"
>
<div
class=
"contentWrap"
>
<div
class=
"contentWrap"
>
...
...
profiles/v2/packages/reference-image.json
View file @
8f3af8bf
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"config"
:
{
"config"
:
{
"images"
:
[],
"images"
:
[],
"sceneUUID"
:
{},
"sceneUUID"
:
{},
"scene"
:
"
9e293cde-e27b-4902-808b-e884f3e9da32
"
"scene"
:
"
53947ca7-3484-4b53-800d-509405063d68
"
},
},
"show"
:
false
"show"
:
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