Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
崔立强
db-game-template
Commits
31315b6d
Commit
31315b6d
authored
Feb 20, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bf7a0a2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
index.html
egret/index.html
+1
-0
gameconsts.ts
egret/src/playScene/gameconsts.ts
+1
-1
No files found.
egret/index.html
View file @
31315b6d
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/security.js"
></script>
<script
src=
"libs/downloadApp.js"
></script>
<script
src=
"libs/downloadApp.js"
></script>
<script>
<script>
window
[
'INIT_BALL_NUMS'
]
=
1
;
window
[
'numsP'
]
=
.
01
;
window
[
'numsP'
]
=
.
01
;
// window['debugPhysics']=true;
// window['debugPhysics']=true;
window
[
'renderMode'
]
=
'webgl'
;
window
[
'renderMode'
]
=
'webgl'
;
...
...
egret/src/playScene/gameconsts.ts
View file @
31315b6d
export
const
BALL_D
=
34
;
export
const
BALL_D
=
34
;
export
const
LEFT_GROUND
=
95
;
export
const
LEFT_GROUND
=
95
;
export
const
RIGHT_GROUND
=
660
;
export
const
RIGHT_GROUND
=
660
;
export
const
LADDER_START
=
350
;
export
const
LADDER_START
=
350
-
100
;
export
const
LADDER_END
=
1150
;
export
const
LADDER_END
=
1150
;
export
const
LADDER_NUMS
=
10
;
export
const
LADDER_NUMS
=
10
;
...
...
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