Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dfzx_ac2
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_ac2
Commits
dbdd5bee
Commit
dbdd5bee
authored
Mar 22, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test on platform
parent
ed18f197
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
Scene.js
play/assets/tmpGame/script/Scene.js
+19
-19
No files found.
play/assets/tmpGame/script/Scene.js
View file @
dbdd5bee
...
...
@@ -85,25 +85,25 @@ cc.Class({
this
.
data
=
data
||
this
.
getDefaultData
();
this
.
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
))
this
.
preloadItem
(
_
=>
{
this
.
gameLogic
=
new
GameLogic
(
this
.
data
,
{
designSize
:
this
.
_designSize
,
frameSize
:
this
.
_frameSize
,
mapScaleMin
:
this
.
_mapScaleMin
,
mapScaleMax
:
this
.
_mapScaleMax
,
cocosScale
:
this
.
_cocosScale
,
imageResList
:
this
.
_imageResList
,
audioResList
:
this
.
_audioResList
,
animaResList
:
this
.
_animaResList
,
prefabs
:
{
bubble
:
this
.
bubble
,
star
:
this
.
star
,
score
:
this
.
score
},
properties
:
{
option
:
this
.
option
,
empty
:
this
.
empty
}
})
//
this.gameLogic = new GameLogic(this.data, {
//
designSize: this._designSize,
//
frameSize: this._frameSize,
//
mapScaleMin: this._mapScaleMin,
//
mapScaleMax: this._mapScaleMax,
//
cocosScale: this._cocosScale,
//
imageResList: this._imageResList,
//
audioResList: this._audioResList,
//
animaResList: this._animaResList,
//
prefabs: {
//
bubble: this.bubble,
//
star: this.star,
//
score: this.score
//
},
//
properties: {
//
option: this.option,
//
empty: this.empty
//
}
//
})
})
})
},
...
...
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