Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LWD_3
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
LWD_3
Commits
8bccde24
Commit
8bccde24
authored
Jul 01, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
b7e7522d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
.DS_Store
.DS_Store
+0
-0
LWD_3.meta
assets/LWD_3.meta
+15
-1
LWD_3.js
assets/LWD_3/scene/LWD_3.js
+1
-0
No files found.
.DS_Store
View file @
8bccde24
No preview for this file type
assets/LWD_3.meta
View file @
8bccde24
{"ver":"1.1.2","uuid":"6942433e-4084-45fe-8f8b-6e874d95c3ba","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
{
\ No newline at end of file
"ver": "1.1.2",
"uuid": "6942433e-4084-45fe-8f8b-6e874d95c3ba",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/LWD_3/scene/LWD_3.js
View file @
8bccde24
...
@@ -111,6 +111,7 @@ var game = cc.Class({
...
@@ -111,6 +111,7 @@ var game = cc.Class({
addItem
:
function
()
{
addItem
:
function
()
{
let
itemArr
=
LWD_3
.
data_mgr
.
getQuestionOneList
(
LWD_3
.
data_mgr
.
quesId
);
let
itemArr
=
LWD_3
.
data_mgr
.
getQuestionOneList
(
LWD_3
.
data_mgr
.
quesId
);
console
.
log
(
'
in addItem id: LWD_3
'
);
itemArr
.
sort
(
function
()
{
return
Math
.
random
()
>
0.5
?
-
1
:
1
;
})
itemArr
.
sort
(
function
()
{
return
Math
.
random
()
>
0.5
?
-
1
:
1
;
})
LWD_3
.
data_mgr
.
nowNum
=
0
;
LWD_3
.
data_mgr
.
nowNum
=
0
;
...
...
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