Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobaominiDemo
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
wildfirecode13
taobaominiDemo
Commits
bbc2b056
Commit
bbc2b056
authored
Jun 29, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8761886d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
app.js
client/app.js
+3
-1
package-lock.json
client/package-lock.json
+3
-3
output.js
client/pages/index/output.js
+3
-4
No files found.
client/app.js
View file @
bbc2b056
...
...
@@ -14,7 +14,9 @@ App({
console
.
info
(
'App onLaunch'
);
const
{
activityId
}
=
options
.
query
||
{};
console
.
log
(
activityId
)
this
.
activityId
=
activityId
||
'5ef1b4f72ad1116ce639e23e'
;
this
.
activityId
=
activityId
||
'5ef9d7290cb7338a0a125d32'
;
// this.activityId = activityId || '5ef880873075d9927e7f10b4';
// this.activityId = activityId || '5ef1b4f72ad1116ce639e23e';
},
onShow
(
options
)
{
// 从后台被 scheme 重新打开
...
...
client/package-lock.json
View file @
bbc2b056
...
...
@@ -22,9 +22,9 @@
"integrity"
:
"sha512-oEO3/scR66LhUwEdrm9JABi2DIUgbblVc4TyiA2PkLd1TY+nj2o7zKY80qZxnsRqMiFvOjBidp4ANlt3I16+/A=="
},
"fyge-tbmini"
:
{
"version"
:
"1.2.
1
"
,
"resolved"
:
"https://registry.npm.taobao.org/fyge-tbmini/download/fyge-tbmini-1.2.
1
.tgz"
,
"integrity"
:
"sha1-
u+0zHE5Opmn+4ufRKzOGbG975J4
="
"version"
:
"1.2.
2
"
,
"resolved"
:
"https://registry.npm.taobao.org/fyge-tbmini/download/fyge-tbmini-1.2.
2
.tgz"
,
"integrity"
:
"sha1-
yYNkMVudeAxVrclYYt4T89ApUzw
="
},
"svga-parser"
:
{
"version"
:
"1.1.0"
,
...
...
client/pages/index/output.js
View file @
bbc2b056
...
...
@@ -4211,7 +4211,7 @@ exports.ResJson = {
}
}
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/159343
1604
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/kickball-feile/159343
2476
/resource/"
};
...
...
@@ -6136,9 +6136,8 @@ var Ball = (function (_super) {
if
(
other
.
group
==
Collider_1
.
ColliderGroup
.
Ground
)
{
this
.
physics
.
velocity
.
y
=
-
(
MConst_1
.
MConst
.
BallVelocityY
*
(
1
+
((
1
/
this
.
scaleRatio
)
-
1
)
*
MUtils_1
.
MUtils
.
random
(
0
,
MConst_1
.
MConst
.
BallVelocityYRandomFactor
)));
var
clip
=
DataMgr_1
.
DataMgr
.
game
.
_createAnimation
(
"duang"
);
clip
.
x
=
this
.
x
-
140
*
this
.
scaleRatio
;
clip
.
y
=
this
.
y
-
50
*
this
.
scaleRatio
;
clip
.
scaleX
=
clip
.
scaleY
=
this
.
scaleRatio
;
clip
.
x
=
this
.
x
;
clip
.
y
=
this
.
y
;
clip
.
play
();
if
(
this
.
sizeIndex
>=
MConfigs_1
.
MConfigs
.
size
.
length
-
2
)
{
DataMgr_1
.
DataMgr
.
game
.
_shake
();
...
...
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