Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
PS_001
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
PS_001
Commits
b08f4b52
Commit
b08f4b52
authored
Jan 17, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test:
parent
1cb9dd6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
PS_001_scene1.ts
assets/PS_001/ani/script/PS_001_scene1.ts
+3
-3
PS_001.ts
assets/PS_001/scene/PS_001.ts
+1
-0
No files found.
assets/PS_001/ani/script/PS_001_scene1.ts
View file @
b08f4b52
...
@@ -251,7 +251,7 @@ export default class PS_001_scene1 extends cc.Component {
...
@@ -251,7 +251,7 @@ export default class PS_001_scene1 extends cc.Component {
this
.
rightrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
question
'
,
0
)
this
.
rightrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
question
'
,
0
)
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
).
delay
(
2
).
call
(()
=>
{
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
).
delay
(
2
).
call
(()
=>
{
console
.
log
(
'
进入
'
)
console
.
log
(
'
进入
'
)
this
.
parent
.
toNext
(
7
)
this
.
parent
.
toNext
(
1
)
this
.
node
.
destroy
()
this
.
node
.
destroy
()
}).
start
())
}).
start
())
...
@@ -275,8 +275,8 @@ export default class PS_001_scene1 extends cc.Component {
...
@@ -275,8 +275,8 @@ export default class PS_001_scene1 extends cc.Component {
this
.
parent
=
parent
this
.
parent
=
parent
this
.
initUI
();
this
.
initUI
();
this
.
camera
.
setPosition
(
-
30.6
,
140.7
)
this
.
camera
.
setPosition
(
-
30.6
,
140.7
)
this
.
camera
.
getComponent
(
cc
.
Camera
).
zoomRatio
=
1.
2
5
this
.
camera
.
getComponent
(
cc
.
Camera
).
zoomRatio
=
1.5
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
.
getComponent
(
cc
.
Camera
)).
to
(
1
,
{
zoomRatio
:
1
}).
call
(
this
.
func2
,
this
).
start
())
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
.
getComponent
(
cc
.
Camera
)).
to
(
1
,
{
zoomRatio
:
1
.25
}).
call
(
this
.
func2
,
this
).
start
())
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
).
to
(
1
,
{
x
:
0
,
y
:
0
}).
start
())
this
.
tweenary
.
push
(
cc
.
tween
(
this
.
camera
).
to
(
1
,
{
x
:
0
,
y
:
0
}).
start
())
PS_001_dialogueManager
.
getIns
().
start
(
1
,
5
)
PS_001_dialogueManager
.
getIns
().
start
(
1
,
5
)
PS_001_handManager
.
getIns
().
start
(
1
,
this
,
5
)
PS_001_handManager
.
getIns
().
start
(
1
,
this
,
5
)
...
...
assets/PS_001/scene/PS_001.ts
View file @
b08f4b52
...
@@ -56,6 +56,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -56,6 +56,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
PS_001_Ctrl
.
getIns
().
time
=
1
;
PS_001_Ctrl
.
getIns
().
time
=
1
;
PS_001_Ctrl
.
getIns
().
goscene
(
conf
[
step
].
id
);
PS_001_Ctrl
.
getIns
().
goscene
(
conf
[
step
].
id
);
}
else
{
}
else
{
PS_001_Ctrl
.
getIns
().
time
=
1
;
PS_001_Ctrl
.
getIns
().
toNext
(
0
);
PS_001_Ctrl
.
getIns
().
toNext
(
0
);
}
}
});
});
...
...
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