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
530f42a8
Commit
530f42a8
authored
Jan 17, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
b08f4b52
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
41 additions
and
38 deletions
+41
-38
PS_001_handManager.ts
assets/PS_001/ani/script/PS_001_handManager.ts
+2
-2
PS_001_scene2.ts
assets/PS_001/ani/script/PS_001_scene2.ts
+1
-1
PS_001_scene3.ts
assets/PS_001/ani/script/PS_001_scene3.ts
+15
-13
PS_001_scene4.ts
assets/PS_001/ani/script/PS_001_scene4.ts
+13
-12
PS_001_scene5.ts
assets/PS_001/ani/script/PS_001_scene5.ts
+10
-9
PS_001.ts
assets/PS_001/scene/PS_001.ts
+0
-1
No files found.
assets/PS_001/ani/script/PS_001_handManager.ts
View file @
530f42a8
...
@@ -13,8 +13,8 @@ export default class PS_001_handManager {
...
@@ -13,8 +13,8 @@ export default class PS_001_handManager {
{
time
:
13
,
id
:
21217
,
pos
:[
459.961
,
80.577
],
scene
:
3
},
{
time
:
13
,
id
:
21217
,
pos
:[
459.961
,
80.577
],
scene
:
3
},
{
time
:
18
,
id
:
21224
,
pos
:[
1411.885
,
-
571.467
],
scene
:
4
},
{
time
:
18
,
id
:
21224
,
pos
:[
1411.885
,
-
571.467
],
scene
:
4
},
{
time
:
18
,
id
:
21222
,
pos
:[
522.703
,
-
42.144
],
scene
:
5
},
{
time
:
18
,
id
:
21222
,
pos
:[
522.703
,
-
42.144
],
scene
:
5
},
{
time
:
10
,
id
:
21218
,
pos
:[
-
3
78.158
,
-
19
5.452
],
scene
:
6
},
{
time
:
10
,
id
:
21218
,
pos
:[
-
3
08.158
,
-
24
5.452
],
scene
:
6
},
{
time
:
16
,
id
:
21225
,
pos
:[
199.701
,
-
18
6.954
],
scene
:
6
},
{
time
:
16
,
id
:
21225
,
pos
:[
249.701
,
-
25
6.954
],
scene
:
6
},
{
time
:
18
,
id
:
21220
,
pos
:[
548.116
,
-
118.971
],
scene
:
7
},
{
time
:
18
,
id
:
21220
,
pos
:[
548.116
,
-
118.971
],
scene
:
7
},
{
time
:
24
,
id
:
21219
,
pos
:[
-
150
,
-
150
],
scene
:
8
},
{
time
:
24
,
id
:
21219
,
pos
:[
-
150
,
-
150
],
scene
:
8
},
{
time
:
33
,
id
:
21226
,
pos
:[
-
150
,
-
150
],
scene
:
8
},
{
time
:
33
,
id
:
21226
,
pos
:[
-
150
,
-
150
],
scene
:
8
},
...
...
assets/PS_001/ani/script/PS_001_scene2.ts
View file @
530f42a8
...
@@ -76,7 +76,7 @@ export default class PS_001_scene2 extends cc.Component {
...
@@ -76,7 +76,7 @@ export default class PS_001_scene2 extends cc.Component {
this
.
camera
.
setPosition
(
0
,
0
)
this
.
camera
.
setPosition
(
0
,
0
)
PS_001_dialogueManager
.
getIns
().
start
(
2
,
9
)
PS_001_dialogueManager
.
getIns
().
start
(
2
,
9
)
PS_001_handManager
.
getIns
().
start
(
2
,
this
,
9
)
PS_001_handManager
.
getIns
().
start
(
2
,
this
,
9
)
this
.
camera
.
getComponent
(
cc
.
Camera
).
zoomRatio
=
1
this
.
camera
.
getComponent
(
cc
.
Camera
).
zoomRatio
=
1
.25
this
.
leftrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
laugh
'
,
0
)
this
.
leftrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
laugh
'
,
0
)
this
.
rightrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
laugh
'
,
0
)
this
.
rightrabbit
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
laugh
'
,
0
)
cc
.
tween
({}).
delay
(
3
).
call
(()
=>
{
cc
.
tween
({}).
delay
(
3
).
call
(()
=>
{
...
...
assets/PS_001/ani/script/PS_001_scene3.ts
View file @
530f42a8
...
@@ -73,18 +73,20 @@ export default class PS_001_scene3 extends cc.Component {
...
@@ -73,18 +73,20 @@ export default class PS_001_scene3 extends cc.Component {
go13
(
cameraNode
:
cc
.
Node
,
parent
:
PS_001_Ctrl
)
{
//4
go13
(
cameraNode
:
cc
.
Node
,
parent
:
PS_001_Ctrl
)
{
//4
cc
.
audioEngine
.
playMusic
(
this
.
sound
[
0
],
false
)
cc
.
audioEngine
.
playMusic
(
this
.
sound
[
0
],
false
)
this
.
camera
=
cameraNode
this
.
camera
=
cameraNode
this
.
parent
=
parent
this
.
parent
=
parent
PS_001_dialogueManager
.
getIns
().
start
(
3
,
13
)
this
.
parent
.
toNext
(
3
)
PS_001_handManager
.
getIns
().
start
(
3
,
this
,
13
)
// PS_001_dialogueManager.getIns().start(3,13)
this
.
bird
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
born
'
,
1
)
// PS_001_handManager.getIns().start(3, this,13)
this
.
bird
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
timeScale
=
1
// this.bird.getComponent(dragonBones.ArmatureDisplay).playAnimation('born', 1)
this
.
camera
.
setPosition
(
284.3151076269148
,
50.129144912959916
)
// this.bird.getComponent(dragonBones.ArmatureDisplay).timeScale=1
this
.
camera
.
getComponent
(
cc
.
Camera
).
zoomRatio
=
1.4156944166666654
// this.camera.setPosition(284.3151076269148,50.129144912959916)
cc
.
tween
(
this
.
camera
.
getComponent
(
cc
.
Camera
)).
to
(
1
,
{
zoomRatio
:
1.5
}).
start
()
// // this.camera.getComponent(cc.Camera).zoomRatio = 1.4156944166666654
cc
.
tween
(
this
.
camera
).
to
(
1
,
{
x
:
342.301
,
y
:
60.432
}).
start
()
// this.camera.getComponent(cc.Camera).zoomRatio = 1.25
cc
.
tween
({}).
delay
(
3
).
call
(()
=>
{
// cc.tween(this.camera.getComponent(cc.Camera)).to(1, { zoomRatio: 1.65 }).start()
this
.
parent
.
toNext
(
3
)
// cc.tween(this.camera).to(1, { x:342.301, y: 60.432 }).start()
this
.
node
.
destroy
()
// cc.tween({}).delay(3).call(()=>{
}).
start
()
// this.parent.toNext(3)
// this.node.destroy()
// }).start()
}
}
}
}
assets/PS_001/ani/script/PS_001_scene4.ts
View file @
530f42a8
...
@@ -70,17 +70,18 @@ export default class PS_001_scene4 extends cc.Component {
...
@@ -70,17 +70,18 @@ export default class PS_001_scene4 extends cc.Component {
sound
:
cc
.
AudioClip
[]
=
[]
sound
:
cc
.
AudioClip
[]
=
[]
go18
(
cameraNode
:
cc
.
Node
,
parent
:
PS_001_Ctrl
){
go18
(
cameraNode
:
cc
.
Node
,
parent
:
PS_001_Ctrl
){
// cc.audioEngine.playMusic(this.sound[0],false)
this
.
parent
.
toNext
(
4
)
PS_001_dialogueManager
.
getIns
().
start
(
4
,
18
)
// // cc.audioEngine.playMusic(this.sound[0],false)
PS_001_handManager
.
getIns
().
start
(
4
,
this
,
18
)
// PS_001_dialogueManager.getIns().start(4,18)
this
.
camera
=
cameraNode
// PS_001_handManager.getIns().start(4, this,18)
this
.
parent
=
parent
// this.camera=cameraNode
this
.
chicken
.
playAnimation
(
'
born
'
,
1
)
// this.parent=parent
this
.
camera
.
setPosition
(
1376.016
,
-
596.526
)
// this.chicken.playAnimation('born', 1)
this
.
camera
.
getComponent
(
cc
.
Camera
).
zoomRatio
=
2
// this.camera.setPosition(1376.016,-596.526)
cc
.
tween
({}).
delay
(
3
).
call
(()
=>
{
// this.camera.getComponent(cc.Camera).zoomRatio=2
this
.
parent
.
toNext
(
4
)
// cc.tween({}).delay(3).call(()=>{
this
.
node
.
destroy
()
// this.parent.toNext(4)
}).
start
()
// this.node.destroy()
// }).start()
}
}
}
}
assets/PS_001/ani/script/PS_001_scene5.ts
View file @
530f42a8
...
@@ -81,15 +81,16 @@ export default class PS_001_scene5 extends cc.Component {
...
@@ -81,15 +81,16 @@ export default class PS_001_scene5 extends cc.Component {
}
}
@
property
([
cc
.
AudioClip
])
@
property
([
cc
.
AudioClip
])
sound
:
cc
.
AudioClip
[]
=
[]
sound
:
cc
.
AudioClip
[]
=
[]
go18
(
cameraNode
:
cc
.
Node
,
parent
:
PS_001_Ctrl
){
go18
(
cameraNode
:
cc
.
Node
,
parent
:
PS_001_Ctrl
)
{
cc
.
audioEngine
.
playMusic
(
this
.
sound
[
0
],
false
)
PS_001_dialogueManager
.
getIns
().
start
(
5
,
18
)
PS_001_handManager
.
getIns
().
start
(
5
,
this
,
18
)
this
.
camera
=
cameraNode
this
.
parent
=
parent
this
.
camera
.
setPosition
(
506.817
,
-
173.767
)
this
.
camera
.
getComponent
(
cc
.
Camera
).
zoomRatio
=
2
this
.
func4
()
this
.
func4
()
// cc.audioEngine.playMusic(this.sound[0],false)
// PS_001_dialogueManager.getIns().start(5,18)
// PS_001_handManager.getIns().start(5, this,18)
// this.camera=cameraNode
// this.parent=parent
// this.camera.setPosition(506.817, -173.767)
// this.camera.getComponent(cc.Camera).zoomRatio=2
// this.func4()
}
}
}
}
assets/PS_001/scene/PS_001.ts
View file @
530f42a8
...
@@ -56,7 +56,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -56,7 +56,6 @@ 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