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
48dfb7cb
Commit
48dfb7cb
authored
Sep 30, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9da1b068
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
26 deletions
+2
-26
.DS_Store
.DS_Store
+0
-0
Gun.ts
egret/src/Gun.ts
+2
-2
Main.ts
egret/src/Main.ts
+0
-24
No files found.
.DS_Store
View file @
48dfb7cb
No preview for this file type
egret/src/Gun.ts
View file @
48dfb7cb
...
...
@@ -19,8 +19,8 @@ export default class Gun extends egret.Sprite {
}
fire
(
vec
:
egret
.
Point
)
{
let
a
:
any
;
console
.
log
(
a
.
b
.
c
)
let
b
:
any
;
console
.
log
(
b
.
c
)
egret
.
Tween
.
get
(
this
.
_gun
)
.
to
({
scaleY
:
0.6
},
100
)
.
to
({
scaleY
:
1
},
100
);
...
...
egret/src/Main.ts
View file @
48dfb7cb
...
...
@@ -95,30 +95,6 @@ export class Main extends eui.UILayer {
}
private
async
runGame
()
{
window
[
'_error_storage_'
]
=
[];
window
[
'ERROR_CONFIG'
]
=
{
client
:
"duiba-game"
,
pageId
:
'skyeye-test-demo'
,
imgUrl
:
"http://retcode.tuipink.com/report?"
};
function
r
()
{
window
[
'_error_storage_'
]
&&
window
[
'_error_storage_'
].
push
([].
slice
.
call
(
arguments
))
}
window
.
addEventListener
&&
window
.
addEventListener
(
"error"
,
r
,
true
);
var
t
=
3
,
n
=
function
e
()
{
var
r
=
document
.
createElement
(
"script"
);
r
.
async
=
!
0
,
r
.
src
=
"//yun.tuia.cn/tuia/skyeye/skyeye.js"
,
r
.
crossOrigin
=
"anonymous"
,
r
.
onerror
=
function
()
{
t
--
,
t
>
0
&&
setTimeout
(
e
,
1500
)
},
document
.
head
&&
document
.
head
.
appendChild
(
r
)
};
setTimeout
(
n
,
1500
);
await
this
.
loadResource
()
this
.
createGameScene
();
}
...
...
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