Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DuibaGameTemplate
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
钱根
DuibaGameTemplate
Commits
90bc30e8
Commit
90bc30e8
authored
Jan 28, 2022
by
Master Q
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第一版修改
parent
cae287e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.html
index.html
+1
-1
ConveyorBelt.ts
src/scenes/LevonoGameScene/ConveyorBelt.ts
+1
-1
GameEle.ts
src/scenes/LevonoGameScene/GameEle.ts
+1
-1
No files found.
index.html
View file @
90bc30e8
...
...
@@ -70,7 +70,7 @@
canvas
.
height
=
document
.
body
.
clientHeight
*
(
window
.
devicePixelRatio
||
1
)
var
main
=
new
Main
(
canvas
,
{
isNewGuy
:
true
,
debug
:
tru
e
,
debug
:
fals
e
,
musicSwitchDefault
:
false
});
var
mouseEvent
=
main
.
stage
.
onMouseEvent
.
bind
(
main
.
stage
);
...
...
src/scenes/LevonoGameScene/ConveyorBelt.ts
View file @
90bc30e8
...
...
@@ -66,7 +66,7 @@ export class ConveyorBelt extends FYGE.Container {
isMove
:
boolean
=
false
// 是否已经开始
clock
:
Clock
conveyorItems
:
Array
<
ConveyorBeltItemConstruct
>
=
[]
scaleEndProportion
:
number
=
0.
5
scaleEndProportion
:
number
=
0.
3
_config
:
ConveyorItemConfig
totalTy
:
number
=
0
// 一共走了多少距离 计算分数
updateScore
:
Function
...
...
src/scenes/LevonoGameScene/GameEle.ts
View file @
90bc30e8
...
...
@@ -32,7 +32,7 @@ export const GameDiffConfig: GameDiffConfigType = (function() {
speed
:
330
,
},
{
mileage
:
200
,
mileage
:
2
2
00
,
proportion
:
[
0.1
,
0.7
,
1
],
speed
:
500
,
}
...
...
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