Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dfzx_cocos_dqq_app
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
dfzx_cocos_dqq_app
Commits
21f4bc75
Commit
21f4bc75
authored
May 29, 2023
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
b529318a
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
7 deletions
+10
-7
dfzx_cocos_dqq_app.fire
assets/dfzx_cocos_dqq_app/scene/dfzx_cocos_dqq_app.fire
+2
-2
dfzx_cocos_dqq_app.js
assets/dfzx_cocos_dqq_app/scene/dfzx_cocos_dqq_app.js
+6
-3
defaultData_dfzx_cocos_dqq_app.js
...zx_cocos_dqq_app/script/defaultData_dfzx_cocos_dqq_app.js
+0
-0
defaultData_dfzx_cocos_dqq_app.js.meta
...cos_dqq_app/script/defaultData_dfzx_cocos_dqq_app.js.meta
+0
-0
util_dfzx_cocos_dqq_app.js
assets/dfzx_cocos_dqq_app/script/util_dfzx_cocos_dqq_app.js
+0
-0
util_dfzx_cocos_dqq_app.js.meta
...dfzx_cocos_dqq_app/script/util_dfzx_cocos_dqq_app.js.meta
+0
-0
cd.png
assets/dfzx_cocos_dqq_app/textures/cd.png
+0
-0
cd.png.meta
assets/dfzx_cocos_dqq_app/textures/cd.png.meta
+1
-1
project.json
project.json
+1
-1
No files found.
assets/dfzx_cocos_dqq_app/scene/dfzx_cocos_dqq_app.fire
View file @
21f4bc75
...
...
@@ -3782,7 +3782,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "
6795/9P25Eh50ibqg7SSPR
"
"_id": "
e9W+pFRbNOUIfe0xlD3FUQ
"
},
{
"__type__": "cc.Label",
...
...
@@ -3817,7 +3817,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "
27xRI5ub1KC4pQ2OWP6ccS
"
"_id": "
f3e/G5M2hK4KQ71+hXx608
"
},
{
"__type__": "cc.RichText",
...
...
assets/dfzx_cocos_dqq_app/scene/dfzx_cocos_dqq_app.js
View file @
21f4bc75
import
{
defaultData
}
from
'
../script/defaultData.js
'
;
import
{
defaultData
}
from
'
../script/defaultData
_dfzx_cocos_dqq_app
.js
'
;
import
{
addBtnListener
,
showTrebleFirework
,
...
...
@@ -13,7 +13,7 @@ import {
playAudioByUrlSync
,
RandomInt
,
onHomeworkFinish
,
}
from
"
../script/util
"
;
}
from
"
../script/util
_dfzx_cocos_dqq_app
"
;
cc
.
Class
({
...
...
@@ -345,6 +345,7 @@ cc.Class({
},
gameNextFlag
:
null
,
createBall
(
answer
)
{
let
ball
=
null
;
if
(
answer
.
answerType
==
'
img
'
)
{
...
...
@@ -396,7 +397,8 @@ cc.Class({
this
.
_status
.
currentRightNumber
++
;
const
currentQuestion
=
this
.
data
.
questionList
[
this
.
_status
.
currentQuestionIdx
];
this
.
updateRightNumber
();
if
(
this
.
_status
.
currentRightNumber
>=
currentQuestion
.
rigthNumber
)
{
if
(
this
.
_status
.
currentRightNumber
>=
currentQuestion
.
rigthNumber
&&
!
this
.
gameNextFlag
)
{
this
.
gameNextFlag
=
true
;
this
.
stopShowBalls
();
await
asyncDelay
(
0.5
);
await
this
.
showStar
();
...
...
@@ -409,6 +411,7 @@ cc.Class({
await
this
.
playQuestionAudio
();
this
.
startShowBalls
();
}
this
.
gameNextFlag
=
false
;
}
});
...
...
assets/dfzx_cocos_dqq_app/script/defaultData.js
→
assets/dfzx_cocos_dqq_app/script/defaultData
_dfzx_cocos_dqq_app
.js
View file @
21f4bc75
File moved
assets/dfzx_cocos_dqq_app/script/defaultData.js.meta
→
assets/dfzx_cocos_dqq_app/script/defaultData
_dfzx_cocos_dqq_app
.js.meta
View file @
21f4bc75
File moved
assets/dfzx_cocos_dqq_app/script/util.js
→
assets/dfzx_cocos_dqq_app/script/util
_dfzx_cocos_dqq_app
.js
View file @
21f4bc75
File moved
assets/dfzx_cocos_dqq_app/script/util.js.meta
→
assets/dfzx_cocos_dqq_app/script/util
_dfzx_cocos_dqq_app
.js.meta
View file @
21f4bc75
File moved
assets/dfzx_cocos_dqq_app/textures/
彩带
.png
→
assets/dfzx_cocos_dqq_app/textures/
cd
.png
View file @
21f4bc75
File moved
assets/dfzx_cocos_dqq_app/textures/
彩带
.png.meta
→
assets/dfzx_cocos_dqq_app/textures/
cd
.png.meta
View file @
21f4bc75
...
...
@@ -11,7 +11,7 @@
"height": 76,
"platformSettings": {},
"subMetas": {
"
彩带
": {
"
cd
": {
"ver": "1.0.4",
"uuid": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6",
"rawTextureUuid": "afcdd4b4-7d30-4229-b7bc-549324e9a8f5",
...
...
project.json
View file @
21f4bc75
...
...
@@ -3,6 +3,6 @@
"packages"
:
"packages"
,
"name"
:
"play"
,
"id"
:
"9af72fd2-44a6-4131-8ea3-3e1b3fa22231"
,
"version"
:
"2.4.
4
"
,
"version"
:
"2.4.
5
"
,
"isNew"
:
false
}
\ 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