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
65a665ba
Commit
65a665ba
authored
Sep 13, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
b3f4910c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
HomeScene.ts
assets/Scripts/Scenes/HomeScene.ts
+0
-4
Start.scene
assets/Start/Start.scene
+2
-2
Start.ts
assets/Start/Start.ts
+2
-0
No files found.
assets/Scripts/Scenes/HomeScene.ts
View file @
65a665ba
...
@@ -37,10 +37,6 @@ export class HomeScene extends Scene {
...
@@ -37,10 +37,6 @@ export class HomeScene extends Scene {
async
start
()
{
async
start
()
{
AudioMgr
.
ins
.
play
(
"audio/飞球背景音乐"
,
true
);
await
store
.
updateIndex
();
await
store
.
updateIndex
();
UIMgr
.
ins
.
preloadScene
(
MainGame
);
UIMgr
.
ins
.
preloadScene
(
MainGame
);
...
...
assets/Start/Start.scene
View file @
65a665ba
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
"_prefab": null,
"_prefab": null,
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 375,
"x": 375
.00000000000006
,
"y": 812,
"y": 812,
"z": 0
"z": 0
},
},
...
@@ -961,7 +961,7 @@
...
@@ -961,7 +961,7 @@
"__prefab": null,
"__prefab": null,
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 749.999999999999
8
,
"width": 749.999999999999
9
,
"height": 1624
"height": 1624
},
},
"_anchorPoint": {
"_anchorPoint": {
...
...
assets/Start/Start.ts
View file @
65a665ba
...
@@ -119,6 +119,8 @@ export class Start extends Component {
...
@@ -119,6 +119,8 @@ export class Start extends Component {
await
changeScene
(
HomeScene
);
await
changeScene
(
HomeScene
);
AudioMgr
.
ins
.
play
(
"audio/飞球背景音乐"
,
true
);
}
}
preload
=
(
pkg
)
=>
{
preload
=
(
pkg
)
=>
{
...
...
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