Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_08_2
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
OP_08_2
Commits
a6c3f750
Commit
a6c3f750
authored
Jul 22, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: letter size
parent
93cafd4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
.DS_Store
.DS_Store
+0
-0
OP_08_2.js
assets/OP_08_2/scene/OP_08_2.js
+4
-1
No files found.
.DS_Store
View file @
a6c3f750
No preview for this file type
assets/OP_08_2/scene/OP_08_2.js
View file @
a6c3f750
...
...
@@ -90,7 +90,8 @@ cc.Class({
},
getDefaultData
()
{
return
defaultData
;
return
{
"
letterArr
"
:[{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7a13721ba1faa68488788e77a721b1b2.mp3
"
},{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/e921ad70f924abb88a03fd142874cb08.mp3
"
,
"
is_right
"
:
true
},{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/803f2a000f295c535ae9ebc564676f90.mp3
"
,
"
is_right
"
:
true
},{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/2cf225a42f50bb63ff9941c538478f9b.mp3
"
},{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/3e11bb2c5d31c8d021b2baa72d16382b.mp3
"
,
"
is_right
"
:
true
},{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/a38fe82f6f96340123fe11aa41de6884.mp3
"
},{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/e59d9ed071f04713ff900c1d7514794a.mp3
"
},{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/25af5f206d57b6afd71183d18eb86aa9.mp3
"
,
"
is_right
"
:
true
}],
"
letterAnim
"
:{
"
skeJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/d5b39486fd1693f1e8975fc16b76e572.json
"
,
"
name
"
:
"
kk_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/b94062e38d52275a47cfc91789d5279f.json
"
,
"
name
"
:
"
kk_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/c97cbbde92c354be3c82001e4f516353.png
"
,
"
name
"
:
"
kk_tex.png
"
}},
"
letter
"
:
"
K
"
,
"
begin_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/71d1282e6bee2945d976e9e404e6c01e.mp3
"
,
"
tip_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/723a197d794b54dad6c9cb49ebbeaf4a.mp3
"
,
"
end_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/b4fb57d8813c6d5fad7de1f568e1a131.mp3
"
,
"
skeJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/6e805852f83f9a099e6df186575b6308.json
"
,
"
name
"
:
"
kangaroo_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/50bc97b1079d1e4ae47ae39b5cc423e5.json
"
,
"
name
"
:
"
kangaroo_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/ee7ebd73987535f5460b32a3f702c203.png
"
,
"
name
"
:
"
kangaroo_tex.png
"
}}
// return defaultData;
},
preloadItem
()
{
...
...
@@ -216,6 +217,7 @@ cc.Class({
this
.
isInitEnd
=
true
;
// this.initListener();
},
...
...
@@ -533,6 +535,7 @@ cc.Class({
this
.
getAnimLetter
((
animNode
)
=>
{
letter
=
animNode
;
letter
.
scale
=
1.55
;
letter
.
parent
=
item
;
letter
.
active
=
false
;
item
.
letter
=
letter
;
...
...
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