Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SSAPP2502
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
SSAPP2502
Commits
839d7efc
Commit
839d7efc
authored
Aug 25, 2025
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(SSAPP2502): 优化糖果节点布局逻辑并更新默认数据
parent
b85c0295
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
107 additions
and
145 deletions
+107
-145
SSAPP2502.ts
assets/SSAPP2502/scene/SSAPP2502.ts
+51
-114
defaultData.ts
assets/SSAPP2502/script/defaultData.ts
+56
-31
No files found.
assets/SSAPP2502/scene/SSAPP2502.ts
View file @
839d7efc
This diff is collapsed.
Click to expand it.
assets/SSAPP2502/script/defaultData.ts
View file @
839d7efc
...
...
@@ -8,42 +8,67 @@
* @description 默认游戏数据对象,包含游戏的基本配置和问题数据
* @type {Object}
*/
export
const
defaultData
=
{
"
score
"
:
0
,
"
title
"
:
""
,
"
questionText
"
:
""
,
"
questionType
"
:
"
read
"
,
"
questionTextAudio
"
:
""
,
"
bgAudio
"
:
""
,
"
questions
"
:
[
export
const
defaultData
=
{
"
score
"
:
0
,
"
title
"
:
""
,
"
questionText
"
:
""
,
"
questionType
"
:
"
read
"
,
"
questionTextAudio
"
:
""
,
"
bgAudio
"
:
""
,
"
questions
"
:
[
{
"
type
"
:
"
img
"
,
"
audio
"
:
"
http
://staging-teach.cdn.ireadabc.com/ae2538a7ef5de1b4836a882d625271af
_l.mp3
"
,
"
text
"
:
"
left
"
,
"
image
"
:
"
http
://staging-teach.cdn.ireadabc.com/41b95f47d23e0712f825eec9e718caed
.png
"
,
"
audio
"
:
"
http
s://staging-teach.cdn.ireadabc.com/a6a5c388c636bc6d063946e91b4bd21a
_l.mp3
"
,
"
text
"
:
"
egg
"
,
"
image
"
:
"
http
s://staging-teach.cdn.ireadabc.com/7b315ba7227294d63933cd659d5372fb
.png
"
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
"
heal_money.mp3
"
},
{
"
duration
"
:
""
,
"
audioName
"
:
"
egg.mp3
"
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/4f3bb8f8fa048f40c1bb5d6d2f6d9a33_l.mp3
"
,
"
text
"
:
"
down
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/fbe3d792ce2a72310e5298e1d75d0d71.png
"
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
"
shoot.MP3
"
"
audio
"
:
"
https://staging-teach.cdn.ireadabc.com/c08af4f22c71ad8b3d8786a837787ac9_l.mp3
"
,
"
text
"
:
"
hat
"
,
"
image
"
:
"
https://staging-teach.cdn.ireadabc.com/9621563afaae7ac0ed01e431a11fa961.png
"
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
hat.mp3
"
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
"
https://staging-teach.cdn.ireadabc.com/e634280a803a6c9d0b0b51b41f017254_l.mp3
"
,
"
text
"
:
"
lion
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
lion.mp3
"
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/a6fb6452f0e383808cd056939ed81917_l.mp3
"
,
"
text
"
:
"
circle
"
,
"
image
"
:
"
http://staging-teach.cdn.ireadabc.com/d0652838333e892b5e495fbdd8746fa0.png
"
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
"
levelup.MP3
"
},
{
"
audio
"
:
"
https://staging-teach.cdn.ireadabc.com/c0926db86deeb3edc9642cb14a516b36_l.mp3
"
,
"
text
"
:
"
horse
"
,
"
image
"
:
"
https://staging-teach.cdn.ireadabc.com/40384ac2d06139da212c1f0abf9217c4.png
"
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
zebra.mp3
"
},
{
"
type
"
:
"
img
"
,
"
audio
"
:
"
https://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736_l.mp3
"
,
"
text
"
:
"
monkey
"
,
"
image
"
:
"
https://staging-teach.cdn.ireadabc.com/340eb5c942ddfbf3fbebace4d14d4472.png
"
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
monkey.mp3
"
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
"
http://staging-teach.cdn.ireadabc.com/e8d058205a1bc894c55a9dc46d60717f_l.mp3
"
,
"
text
"
:
"
shoot
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
"
yasuo.mp3
"
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
apple
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
""
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
international
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
""
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
deep
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
30
,
"
audioName
"
:
""
},
{
"
type
"
:
"
txt
"
,
"
audio
"
:
""
,
"
text
"
:
"
fun
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
10
,
"
audioName
"
:
""
"
audio
"
:
"
https://staging-teach.cdn.ireadabc.com/dea81adc2abe8e7849df33bc952900bc_l.mp3
"
,
"
text
"
:
"
rabbit
"
,
"
image
"
:
""
,
"
time
"
:
null
,
"
duration
"
:
""
,
"
audioName
"
:
"
rabbit.mp3
"
}
]
}
\ No newline at end of file
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