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
f7f4e6f5
Commit
f7f4e6f5
authored
Sep 23, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: start 初始化
parent
5d592527
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
LWD_3.js
assets/LWD_3/scene/LWD_3.js
+4
-7
No files found.
assets/LWD_3/scene/LWD_3.js
View file @
f7f4e6f5
...
@@ -64,15 +64,12 @@ var game = cc.Class({
...
@@ -64,15 +64,12 @@ var game = cc.Class({
// 生命周期 onLoad
// 生命周期 onLoad
onLoad
()
{
onLoad
()
{
},
start
()
{
//初始化游戏
//初始化游戏
this
.
initGame
()
this
.
initGame
()
// //监听尺寸变化
// if (window.addEventListener) {
// window.addEventListener('resize', this.scaleEventCallBack, false)
// } else if (window.attachEvent) {
// window.attachEvent('resize', this.scaleEventCallBack, false)
// }
},
},
//屏幕缩放
//屏幕缩放
...
...
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