Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
super-miner
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
劳工
super-miner
Commits
7cea778d
Commit
7cea778d
authored
Jun 03, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
轮训判断2或者4都为成功
parent
94e07989
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
67 deletions
+1
-67
.scilla
.scilla
+1
-28
Animation.ts
assets/scripts/Animation.ts
+0
-37
Animation.ts.meta
assets/scripts/Animation.ts.meta
+0
-1
package.json
package.json
+0
-1
No files found.
.scilla
View file @
7cea778d
{
"currentScene": "assets/scenes/main.scene",
"dependencies": {
"animation/Zoom": "1.0.0",
"animation/Translation": "1.0.0",
"renderer/HtmlRenderer": "1.0.0",
"ui/ScrollView": "1.0.0",
"ui/Button": "1.0.0",
"animation/TouchZoom": "1.0.0",
"animation/Fade": "1.0.0",
"animation/Wave": "1.0.0",
"other/RelativeLayout": "1.0.0",
"other/FullStageSize": "1.0.0",
"other/CameraController": "1.0.0",
"renderer/TextureRenderer": "1.0.0",
"renderer/RectRenderer": "1.0.0",
"renderer/FrameAnimationRenderer": "1.0.0",
"renderer/TextRenderer": "1.0.0",
"renderer/LineRenderer": "1.0.0",
"renderer/CircleRenderer": "1.0.0",
"base/TouchInterrupt": "1.0.0",
"base/InteractComponent": "1.0.0",
"renderer/GraphicRenderer": "1.0.0",
"base/Transform": "1.0.3",
"base/ScillaComponent": "1.0.0",
"renderer/Renderer": "1.0.0"
}
}
\ No newline at end of file
{"currentScene":"assets/scenes/main.scene","dependencies":{"animation/Zoom":"1.0.0","animation/Translation":"1.0.0","renderer/HtmlRenderer":"1.0.0","ui/ScrollView":"1.0.0","ui/Button":"1.0.0","animation/TouchZoom":"1.0.0","animation/Fade":"1.0.0","animation/Wave":"1.0.0","other/RelativeLayout":"1.0.0","other/FullStageSize":"1.0.0","other/CameraController":"1.0.0","renderer/TextureRenderer":"1.0.0","renderer/RectRenderer":"1.0.0","renderer/FrameAnimationRenderer":"1.0.0","renderer/TextRenderer":"1.0.0","renderer/LineRenderer":"1.0.0","renderer/CircleRenderer":"1.0.0","base/TouchInterrupt":"1.0.0","base/InteractComponent":"1.0.0","renderer/GraphicRenderer":"1.0.0","base/Transform":"1.0.3","base/ScillaComponent":"1.0.0","renderer/Renderer":"1.0.0"}}
\ No newline at end of file
assets/scripts/Animation.ts
deleted
100644 → 0
View file @
94e07989
/**
* Created by rockyl on 2019-04-18.
*
* 抖动
*/
import
ScillaComponent
from
"components/base/ScillaComponent"
;
import
{
createTween
}
from
"scilla"
;
export
default
class
Animation
extends
ScillaComponent
{
onCreate
()
{
super
.
onCreate
();
}
onAwake
()
{
super
.
onAwake
();
createTween
(
this
,
this
.
transform
,
true
,
{
fields
:
[
'x'
,
'y'
]})
.
to
({
position
:
{
x
:
100
,
y
:
100
},
scale
:
{
x
:
2
,
y
:
3
},
rotation
:
270
},
1000
)
}
onUpdate
(
t
)
{
super
.
onUpdate
(
t
);
}
onSleep
()
{
super
.
onSleep
();
}
onDestroy
()
{
super
.
onDestroy
();
}
}
assets/scripts/Animation.ts.meta
deleted
100644 → 0
View file @
94e07989
{"ver":"1.0.1","uuid":"5f2419c1-237c-4901-92ce-4079420063dc","subMetas":{},"type":"script"}
package.json
View file @
7cea778d
...
...
@@ -14,7 +14,6 @@
},
"dependencies"
:
{
"scilla"
:
"git+http://gitlab2.dui88.com/laoqifeng/scilla-core#dev"
,
"scilla-components"
:
"git+http://gitlab2.dui88.com/laoqifeng/scilla-components#dev"
,
"scilla-launcher"
:
"git+http://gitlab2.dui88.com/laoqifeng/scilla-launcher#dev"
},
"devDependencies"
:
{}
...
...
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