Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn19_read
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
sn19_read
Commits
3cbc3878
Commit
3cbc3878
authored
Nov 15, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理bug
parent
c54a1d89
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
195 additions
and
116 deletions
+195
-116
sn19_read.fire
assets/sn19_read/scene/sn19_read.fire
+190
-116
sn19_read.ts
assets/sn19_read/scene/sn19_read.ts
+5
-0
No files found.
assets/sn19_read/scene/sn19_read.fire
View file @
3cbc3878
This diff is collapsed.
Click to expand it.
assets/sn19_read/scene/sn19_read.ts
View file @
3cbc3878
...
...
@@ -210,14 +210,18 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 展示点击效果
async
showRecordWait
()
{
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/bg
'
).
active
=
false
;
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/ani
'
).
active
=
true
;
}
async
showRecordWaitEnd
()
{
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/bg
'
).
active
=
true
;
pg
.
view
.
find
(
this
.
btn_record
,
'
bg/ani
'
).
active
=
false
;
}
showRecordHide
()
{
this
.
showRecordWaitEnd
();
this
.
readyNext
=
false
;
this
.
readyTime
=
999999
;
this
.
img_npc
.
active
=
false
;
this
.
showLastNext
=
3
;
// 3秒显示时间
let
img_voice
=
pg
.
view
.
find
(
this
.
btn_record
,
"
img_voice
"
);
...
...
@@ -397,6 +401,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
readyNext
=
false
;
this
.
readyTime
=
999999
;
this
.
showNpcAudioPlayEnd
();
this
.
CurrentData
.
npcPlay
=
false
this
.
showNpcAudioPlay
().
then
(()
=>
{
this
.
showNpcAudioPlayEnd
();
this
.
readyNext
=
true
;
...
...
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