Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg18_tianci
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
dg18_tianci
Commits
64dd22c8
Commit
64dd22c8
authored
Jul 31, 2024
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
54933023
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
dg18_tianci.ts
assets/dg18_tianci/scene/dg18_tianci.ts
+1
-0
defaultData_dg18_tianci.ts
assets/dg18_tianci/script/defaultData_dg18_tianci.ts
+1
-1
No files found.
assets/dg18_tianci/scene/dg18_tianci.ts
View file @
64dd22c8
...
...
@@ -142,6 +142,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
node
=
pg
.
view
.
clone
(
item_color
);
node
.
x
=
ar
.
pos
.
x
;
node
.
y
=
ar
.
pos
.
y
;
node
.
scale
=
1
/
img
.
scale
;
node
.
data
=
ar
;
node
.
opacity
=
0
;
node
.
removeComponent
(
cc
.
Sprite
);
...
...
assets/dg18_tianci/script/defaultData_dg18_tianci.ts
View file @
64dd22c8
export
const
defaultData
=
{
"
npcTitle
"
:
"
标题
"
,
"
npcAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/83266fbc34663cc2b94970dbef44265b_l.mp3
"
,
"
npcAudioName
"
:
"
ruler.mp3
"
,
"
npcAudioEnd
"
:
"
http://staging-teach.cdn.ireadabc.com/83266fbc34663cc2b94970dbef44265b_l.mp3
"
,
"
npcAudioEndName
"
:
"
ruler.mp3
"
,
"
questions
"
:[{
"
options
"
:[],
"
hotZoneFontObj
"
:{
"
size
"
:
50
,
"
name
"
:
"
BRLNSR_1
"
,
"
color
"
:
"
#8f3758
"
},
"
bgItem
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/c27035c38dff21b06c1a380593fca788.jpg
"
,
"
rect
"
:{
"
x
"
:
0
,
"
y
"
:
17.281588447653405
,
"
width
"
:
1092
,
"
height
"
:
857.4368231046932
}},
"
hotZoneItemArr
"
:[{
"
index
"
:
0
,
"
text
"
:
"
aaa bbb
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.853125
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.853125
,
"
rect
"
:{
"
x
"
:
160
,
"
y
"
:
669.72
,
"
width
"
:
200
,
"
height
"
:
148
}},{
"
index
"
:
1
,
"
text
"
:
"
cccc ddddd
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.853125
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.853125
,
"
rect
"
:{
"
x
"
:
789
,
"
y
"
:
333.72
,
"
width
"
:
200
,
"
height
"
:
200
}}]},{
"
options
"
:[],
"
hotZoneFontObj
"
:{
"
size
"
:
50
,
"
name
"
:
"
BRLNSR_1
"
,
"
color
"
:
"
#8f3758
"
},
"
bgItem
"
:{
"
url
"
:
"
http://staging-teach.cdn.ireadabc.com/64235a8728c5f0168624ae4167f14c43.webp
"
,
"
rect
"
:{
"
x
"
:
0
,
"
y
"
:
79.01639344262293
,
"
width
"
:
1092
,
"
height
"
:
733.9672131147541
}},
"
hotZoneItemArr
"
:[{
"
index
"
:
0
,
"
text
"
:
"
C
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/ba0b9463cd86d1f6eff20147ef99e66f.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.853125
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.853125
,
"
rect
"
:{
"
x
"
:
244
,
"
y
"
:
530.98
,
"
width
"
:
200
,
"
height
"
:
200
}},{
"
index
"
:
1
,
"
text
"
:
"
A
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/f5484db3e00a63a12f5197410ca95f0f.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.853125
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.853125
,
"
rect
"
:{
"
x
"
:
213
,
"
y
"
:
271.98
,
"
width
"
:
200
,
"
height
"
:
200
}},{
"
index
"
:
2
,
"
text
"
:
"
B
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/c0acdb70d3f5f1483e44bae2faa1b25a.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.853125
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.853125
,
"
rect
"
:{
"
x
"
:
456
,
"
y
"
:
417.98
,
"
width
"
:
200
,
"
height
"
:
200
}}]}],
"
bgItem
"
:
""
,
"
hotZoneItemArr
"
:[]}
{
"
npcTitle
"
:
"
"
,
"
npcAudio
"
:
"
https://teach.cdn.ireadabc.com/597831c02cf1e183e46cc6b27035f098_l.mp3
"
,
"
npcAudioName
"
:
"
开始.mp3
"
,
"
npcAudioEnd
"
:
"
https://teach.cdn.ireadabc.com/6916c515e50bd665c5338240a075c699_l.mp3
"
,
"
npcAudioEndName
"
:
"
结束.mp3
"
,
"
questions
"
:[{
"
options
"
:[],
"
hotZoneFontObj
"
:{
"
size
"
:
50
,
"
name
"
:
"
BRLNSR_1
"
,
"
color
"
:
"
#8f3758
"
},
"
bgItem
"
:{
"
url
"
:
"
https://teach.cdn.ireadabc.com/0be723b6de7f4e2ec8eb27d7bdb2e89b.png
"
,
"
rect
"
:{
"
x
"
:
0
,
"
y
"
:
233.98226588415412
,
"
width
"
:
1096
,
"
height
"
:
203.03546823169174
}},
"
hotZoneItemArr
"
:[{
"
index
"
:
0
,
"
text
"
:
"
hug
"
,
"
audio_url
"
:
"
https://teach.cdn.ireadabc.com/ef11fd85685fe0e01b689a0f6a726657.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.85625
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.85625
,
"
rect
"
:{
"
x
"
:
331.61
,
"
y
"
:
88.89
,
"
width
"
:
200.55
,
"
height
"
:
200.55
}},{
"
index
"
:
1
,
"
text
"
:
"
pet
"
,
"
audio_url
"
:
"
https://teach.cdn.ireadabc.com/726535320b981024d8f53fce7801e19b.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.85625
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.85625
,
"
rect
"
:{
"
x
"
:
873.32
,
"
y
"
:
80.89
,
"
width
"
:
200.55
,
"
height
"
:
200.55
}},{
"
index
"
:
2
,
"
text
"
:
"
bady
"
,
"
audio_url
"
:
"
https://teach.cdn.ireadabc.com/0d8f14ab006d7320750cbd2b56fcbf6d.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.85625
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.85625
,
"
rect
"
:{
"
x
"
:
54.12
,
"
y
"
:
78.89
,
"
width
"
:
200.55
,
"
height
"
:
200.55
}},{
"
index
"
:
3
,
"
text
"
:
"
birthday
"
,
"
audio_url
"
:
"
https://teach.cdn.ireadabc.com/387d597f4ae40b81d2528a331a995462.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
BRLNSR_1
"
,
"
fontColor
"
:
"
#8f3758
"
,
"
fontScale
"
:
0.85625
,
"
imgScale
"
:
1
,
"
mapScale
"
:
0.85625
,
"
rect
"
:{
"
x
"
:
607.85
,
"
y
"
:
76.87
,
"
width
"
:
200.55
,
"
height
"
:
200.55
}}]}],
"
bgItem
"
:
""
,
"
hotZoneItemArr
"
:[]}
// {
// "npcTitle": "", "npcAudio": "", "npcAudioName": "开始音频.mp3", "npcAudioEnd": "http://teach.cdn.ireadabc.com/5c53861a4a8c9bfb7a86453bdcbb23f1_l.mp3", "npcAudioEndName": "结束音频.mp3", "questions": [{
...
...
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