Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Z_04_syys
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
Z_04_syys
Commits
2a45d76e
Commit
2a45d76e
authored
Sep 10, 2020
by
huoshizhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 微调摄像机位置
parent
798d8c5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
29 deletions
+2
-29
syys.fire
play/assets/z_04_syys/scene/syys.fire
+1
-28
syys.js
play/assets/z_04_syys/scene/syys.js
+1
-1
No files found.
play/assets/z_04_syys/scene/syys.fire
View file @
2a45d76e
...
...
@@ -91,9 +91,6 @@
},
{
"__id__": 54
},
{
"__id__": 55
}
],
"_prefab": null,
...
...
@@ -183,7 +180,7 @@
"array": [
0,
0,
53
0.8735725198609
,
53
9.5268938142515
,
0,
0,
0,
...
...
@@ -2619,29 +2616,5 @@
"__uuid__": "82b173cf-75c4-4b54-8143-01df312ee386"
},
"_id": "82D+21XqhIS5nRBwU+J7qY"
},
{
"__type__": "cc.ScrollView",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"horizontal": false,
"vertical": true,
"inertia": false,
"brake": 0.5,
"elastic": false,
"bounceDuration": 1,
"scrollEvents": [],
"cancelInnerEvents": true,
"_N$content": {
"__id__": 8
},
"content": {
"__id__": 8
},
"_id": "97h1Y7GSdAqocxJTBXnWic"
}
]
\ No newline at end of file
play/assets/z_04_syys/scene/syys.js
View file @
2a45d76e
...
...
@@ -204,7 +204,7 @@ cc.Class({
if
(
idx
<
2
)
{
return
;
}
cameraYList
.
push
(
idx
*
20
0
);
cameraYList
.
push
(
(
idx
-
1
)
*
200
+
5
0
);
});
const
camera
=
cc
.
find
(
'
Canvas/Main Camera
'
);
asyncTweenTo
(
camera
,
3
,
{
y
:
cameraYList
[
idx
]
});
...
...
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