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
77893eeb
Commit
77893eeb
authored
Mar 14, 2019
by
huangwenjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换分享图片和端外胜利弹窗为白色情人节
parent
ff479257
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
index.html
egret/index.html
+1
-1
drawMsg.png
egret/resource/assets/outwin_panel/drawMsg.png
+0
-0
GameScene.ts
egret/src/gameScene/GameScene.ts
+7
-1
RevivePanel.ts
egret/src/revivePanel/RevivePanel.ts
+1
-1
No files found.
egret/index.html
View file @
77893eeb
...
...
@@ -97,7 +97,7 @@
window
[
'CMBLS'
].
socialShare
=
{};
window
[
'CMBLS'
].
TopBarUI
=
{};
window
[
'bulletNum'
]
=
[
5
,
8
,
1
2
]
window
[
'bulletNum'
]
=
[
2
,
2
,
2
]
// 分享的图片 base64
window
[
'sharePosterIMG'
]
=
'12312'
// 端外 活动首页
...
...
egret/resource/assets/outwin_panel/drawMsg.png
View replaced file @
ff479257
View file @
77893eeb
5.87 KB
|
W:
|
H:
7.07 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/src/gameScene/GameScene.ts
View file @
77893eeb
...
...
@@ -449,7 +449,13 @@ export default class GameScene extends Scene {
offAngle
=
40
;
}
let
endAngle
=
offAngle
+
Math
.
floor
(
100
*
Math
.
random
());
let
time
=
1000
;
//100 + 1500 * Math.random(); //endAngle * (5 + 10 * Math.random());
let
time
=
1000
;
// if (this.isMPBank()) {
// time = 1000;
// } else {
// time = 600;
// }
//100 + 1500 * Math.random(); //endAngle * (5 + 10 * Math.random());
const
endRot
=
this
.
turnGroup
.
rotation
+
endAngle
*
this
.
direct
;
//有时候会连续两次,给turngroup添加转动,到时候转动闪动
...
...
egret/src/revivePanel/RevivePanel.ts
View file @
77893eeb
This diff is collapsed.
Click to expand it.
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