Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shuijf2
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
shuijf2
Commits
36e428d0
Commit
36e428d0
authored
Jul 02, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a0191521
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8715 additions
and
8666 deletions
+8715
-8666
.DS_Store
.DS_Store
+0
-0
main.scene
assets/scenes/main.scene
+91
-77
Rotation.ts
assets/scripts/Rotation.ts
+14
-0
Rotation.ts.meta
assets/scripts/Rotation.ts.meta
+1
-0
bundle.js
debug/bundle.js
+8549
-8532
bundle.js.map
debug/bundle.js.map
+1
-1
fuck.html
fuck.html
+2
-2
MustCompile.ts
src/generated/MustCompile.ts
+57
-54
No files found.
.DS_Store
View file @
36e428d0
No preview for this file type
assets/scenes/main.scene
View file @
36e428d0
...
@@ -557,102 +557,116 @@
...
@@ -557,102 +557,116 @@
"uuid": "1fb25a95-98c0-4f3c-9ae9-e8d4e67adf79"
"uuid": "1fb25a95-98c0-4f3c-9ae9-e8d4e67adf79"
},
},
{
{
"name": "
musiconbtn
",
"name": "
Entity
",
"components": [
"components": [
{
{
"script": "components/base/Transform",
"script": "components/base/Transform",
"properties": {
"properties": {
"scale": {
"x": 0.3,
"y": 0.3,
"_type_": "scilla/support/Vector2D"
},
"position": {
"position": {
"x": 223.63636363636363,
"x": 223.63636363636363,
"y": -761.8181818181818
"y": -761.8181818181818,
"_type_": "scilla/support/Vector2D"
}
}
}
}
},
},
{
{
"script": "components/renderer/TextureRenderer",
"script": "./scripts/Rotation",
"properties": {
"properties": {}
"texture": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"disabledRes": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b",
"downRes": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b",
"upRes": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b",
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onclick_music"
}
]
}
}
}
],
],
"children": [],
"uuid": "5741c1ee-4664-4f11-b6d7-f84e47373664",
"uuid": "779a9967-716b-4061-ab31-5f3b8f8027f7",
"children": [
"disabled": false
},
{
"name": "musicoffbtn",
"components": [
{
{
"script": "components/base/Transform",
"name": "musiconbtn",
"properties": {
"components": [
"scale": {
{
"x": 0.3,
"script": "components/base/Transform",
"y": 0.3,
"properties": {
"_type_": "scilla/support/Vector2D"
"scale": {
"x": 0.3,
"y": 0.3,
"_type_": "scilla/support/Vector2D"
}
}
},
},
"position": {
{
"x": 223.63636363636363,
"script": "components/renderer/TextureRenderer",
"y": -761.8181818181818
"properties": {
"texture": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"disabledRes": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b",
"downRes": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b",
"upRes": "res|458c9c03-4163-42af-bbcc-5c6d7ef33f6b",
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onclick_music"
}
]
}
}
}
}
],
},
"children": [],
{
"uuid": "779a9967-716b-4061-ab31-5f3b8f8027f7",
"script": "components/renderer/TextureRenderer",
"disabled": false
"properties": {
"texture": "res|224ff589-99e7-4a92-b688-703822bae78b"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
},
{
{
"
script": "components/ui/Butto
n",
"
name": "musicoffbt
n",
"
properties": {
"
components": [
"disabledRes": "res|224ff589-99e7-4a92-b688-703822bae78b",
{
"downRes": "res|224ff589-99e7-4a92-b688-703822bae78b
",
"script": "components/base/Transform
",
"upRes": "res|224ff589-99e7-4a92-b688-703822bae78b",
"properties": {
"onClick": [
"scale": {
{
"x": 0.3,
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c"
,
"y": 0.3
,
"component": 1,
"_type_": "scilla/support/Vector2D"
"method": "onclick_music"
}
}
}
]
},
}
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|224ff589-99e7-4a92-b688-703822bae78b"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"disabledRes": "res|224ff589-99e7-4a92-b688-703822bae78b",
"downRes": "res|224ff589-99e7-4a92-b688-703822bae78b",
"upRes": "res|224ff589-99e7-4a92-b688-703822bae78b",
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onclick_music"
}
]
}
}
],
"children": [],
"uuid": "24103cfb-0fa4-4864-a600-262508f5d443",
"disabled": true
}
}
],
]
"children": [],
"uuid": "24103cfb-0fa4-4864-a600-262508f5d443",
"disabled": true
}
}
],
],
"disabled": false
"disabled": false
...
...
assets/scripts/Rotation.ts
0 → 100644
View file @
36e428d0
import
ScillaComponent
from
'components/base/ScillaComponent'
;
import
{
getRotation
,
setRotation
}
from
'./transformUtils'
;
export
default
class
Rotation
extends
ScillaComponent
{
onAwake
()
{
super
.
onAwake
();
}
speed
=
.
5
onUpdate
(
t
)
{
super
.
onUpdate
(
t
);
setRotation
(
this
.
entity
,
getRotation
(
this
.
entity
)
-
this
.
speed
);
}
}
assets/scripts/Rotation.ts.meta
0 → 100644
View file @
36e428d0
{"ver":"1.0.1","uuid":"35e19022-2070-4632-b76f-d234e7c2da9d","subMetas":{},"type":"script"}
debug/bundle.js
View file @
36e428d0
This diff is collapsed.
Click to expand it.
debug/bundle.js.map
View file @
36e428d0
This diff is collapsed.
Click to expand it.
fuck.html
View file @
36e428d0
...
@@ -9,10 +9,10 @@
...
@@ -9,10 +9,10 @@
<div
id=
"gameContainer"
style=
"width: 100%;height: 100%;overflow: hidden;"
></div>
<div
id=
"gameContainer"
style=
"width: 100%;height: 100%;overflow: hidden;"
></div>
<script
src=
"//yun.duiba.com.cn/db_games/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/zepto.min.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/security.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/security.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/156
1967214
/bundle.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/156
2055416
/bundle.js"
></script>
<script>
setTimeout
(
function
()
{
<script>
setTimeout
(
function
()
{
var
loadingEl
=
document
.
getElementById
(
'loading'
);
function
onProcess
(
p
)
{
if
(
p
>=
1
)
{
loadingEl
.
style
.
display
=
'none'
;
}
}
var
loadingEl
=
document
.
getElementById
(
'loading'
);
function
onProcess
(
p
)
{
if
(
p
>=
1
)
{
loadingEl
.
style
.
display
=
'none'
;
}
}
var
options
=
{
resPath
:
"//yun.duiba.com.cn/db_games/156
1967214
/"
};
window
[
'shuijf'
].
startup
(
document
.
getElementById
(
'gameContainer'
),
options
,
onProcess
);
var
options
=
{
resPath
:
"//yun.duiba.com.cn/db_games/156
2055416
/"
};
window
[
'shuijf'
].
startup
(
document
.
getElementById
(
'gameContainer'
),
options
,
onProcess
);
},
100
);
},
100
);
window
[
'COUNT_DOWN_SEC'
]
=
10
;
window
[
'COUNT_DOWN_SEC'
]
=
10
;
...
...
src/generated/MustCompile.ts
View file @
36e428d0
...
@@ -5,92 +5,95 @@
...
@@ -5,92 +5,95 @@
import
{
registerDef
}
from
'scilla'
import
{
registerDef
}
from
'scilla'
import
component0
from
'components/
renderer/RectRender
er'
;
import
component0
from
'components/
other/CameraControll
er'
;
registerDef
(
'components/
renderer/RectRender
er'
,
component0
);
registerDef
(
'components/
other/CameraControll
er'
,
component0
);
import
component1
from
'components/base/Transform'
;
import
component1
from
'components/base/Transform'
;
registerDef
(
'components/base/Transform'
,
component1
);
registerDef
(
'components/base/Transform'
,
component1
);
import
component2
from
'components/renderer/
Html
Renderer'
;
import
component2
from
'components/renderer/
Texture
Renderer'
;
registerDef
(
'components/renderer/
Html
Renderer'
,
component2
);
registerDef
(
'components/renderer/
Texture
Renderer'
,
component2
);
import
component3
from
'components/
base/TouchInterrupt
'
;
import
component3
from
'components/
animation/TouchZoom
'
;
registerDef
(
'components/
base/TouchInterrupt
'
,
component3
);
registerDef
(
'components/
animation/TouchZoom
'
,
component3
);
import
component4
from
'components/
other/RelativeLayout
'
;
import
component4
from
'components/
ui/Button
'
;
registerDef
(
'components/
other/RelativeLayout
'
,
component4
);
registerDef
(
'components/
ui/Button
'
,
component4
);
import
component5
from
'components/
ui/ScrollView
'
;
import
component5
from
'components/
renderer/TextRenderer
'
;
registerDef
(
'components/
ui/ScrollView
'
,
component5
);
registerDef
(
'components/
renderer/TextRenderer
'
,
component5
);
import
component6
from
'components/other/FullStageSize'
;
import
component6
from
'components/other/FullStageSize'
;
registerDef
(
'components/other/FullStageSize'
,
component6
);
registerDef
(
'components/other/FullStageSize'
,
component6
);
import
component7
from
'components/
other/CameraControll
er'
;
import
component7
from
'components/
renderer/RectRender
er'
;
registerDef
(
'components/
other/CameraControll
er'
,
component7
);
registerDef
(
'components/
renderer/RectRender
er'
,
component7
);
import
component8
from
'components/
renderer/TextureRenderer
'
;
import
component8
from
'components/
ui/ScrollView
'
;
registerDef
(
'components/
renderer/TextureRenderer
'
,
component8
);
registerDef
(
'components/
ui/ScrollView
'
,
component8
);
import
component9
from
'components/
animation/TouchZoom
'
;
import
component9
from
'components/
other/RelativeLayout
'
;
registerDef
(
'components/
animation/TouchZoom
'
,
component9
);
registerDef
(
'components/
other/RelativeLayout
'
,
component9
);
import
component10
from
'components/
ui/Button
'
;
import
component10
from
'components/
base/TouchInterrupt
'
;
registerDef
(
'components/
ui/Button
'
,
component10
);
registerDef
(
'components/
base/TouchInterrupt
'
,
component10
);
import
component11
from
'components/renderer/
Text
Renderer'
;
import
component11
from
'components/renderer/
Html
Renderer'
;
registerDef
(
'components/renderer/
Text
Renderer'
,
component11
);
registerDef
(
'components/renderer/
Html
Renderer'
,
component11
);
import
component12
from
'../../assets/scripts/
dialogs/RuleDialogContent
'
;
import
component12
from
'../../assets/scripts/
Rotation
'
;
registerDef
(
'./scripts/
dialogs/RuleDialogContent
'
,
component12
);
registerDef
(
'./scripts/
Rotation
'
,
component12
);
import
component13
from
'../../assets/scripts/scenes/ScenePlay'
;
import
component13
from
'../../assets/scripts/scenes/ScenePlay'
;
registerDef
(
'./scripts/scenes/ScenePlay'
,
component13
);
registerDef
(
'./scripts/scenes/ScenePlay'
,
component13
);
import
component14
from
'../../assets/scripts/scenes/Scene
Result
'
;
import
component14
from
'../../assets/scripts/scenes/Scene
Guide
'
;
registerDef
(
'./scripts/scenes/Scene
Result
'
,
component14
);
registerDef
(
'./scripts/scenes/Scene
Guide
'
,
component14
);
import
component15
from
'../../assets/scripts/scenes/
SceneStart
'
;
import
component15
from
'../../assets/scripts/scenes/
result/RankItem
'
;
registerDef
(
'./scripts/scenes/
SceneStart
'
,
component15
);
registerDef
(
'./scripts/scenes/
result/RankItem
'
,
component15
);
import
component16
from
'../../assets/scripts/
navigator/SingleSceneNavigator
'
;
import
component16
from
'../../assets/scripts/
scenes/SceneStart
'
;
registerDef
(
'./scripts/
navigator/SingleSceneNavigator
'
,
component16
);
registerDef
(
'./scripts/
scenes/SceneStart
'
,
component16
);
import
component17
from
'../../assets/scripts/
scenes/result/RankList
'
;
import
component17
from
'../../assets/scripts/
MainController
'
;
registerDef
(
'./scripts/
scenes/result/RankList
'
,
component17
);
registerDef
(
'./scripts/
MainController
'
,
component17
);
import
component18
from
'../../assets/scripts/scenes/
SceneController
'
;
import
component18
from
'../../assets/scripts/scenes/
result/RankList
'
;
registerDef
(
'./scripts/scenes/
SceneController
'
,
component18
);
registerDef
(
'./scripts/scenes/
result/RankList
'
,
component18
);
import
component19
from
'../../assets/scripts/
popup/Popup
'
;
import
component19
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
popup/Popup
'
,
component19
);
registerDef
(
'./scripts/
api/SampleApi
'
,
component19
);
import
component20
from
'../../assets/scripts/
api/SampleApi
'
;
import
component20
from
'../../assets/scripts/
popup/Popup
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component20
);
registerDef
(
'./scripts/
popup/Popup
'
,
component20
);
import
component21
from
'../../assets/scripts/scenes/Scene
Guide
'
;
import
component21
from
'../../assets/scripts/scenes/Scene
Controller
'
;
registerDef
(
'./scripts/scenes/Scene
Guide
'
,
component21
);
registerDef
(
'./scripts/scenes/Scene
Controller
'
,
component21
);
import
component22
from
'../../assets/scripts/
game/CustomTextRenderer
'
;
import
component22
from
'../../assets/scripts/
dialogs/RuleDialogContent
'
;
registerDef
(
'./scripts/
game/CustomTextRenderer
'
,
component22
);
registerDef
(
'./scripts/
dialogs/RuleDialogContent
'
,
component22
);
import
component23
from
'../../assets/scripts/
MainControll
er'
;
import
component23
from
'../../assets/scripts/
game/CustomTextRender
er'
;
registerDef
(
'./scripts/
MainControll
er'
,
component23
);
registerDef
(
'./scripts/
game/CustomTextRender
er'
,
component23
);
import
component24
from
'../../assets/scripts/
dialogs/AlertDialogContent
'
;
import
component24
from
'../../assets/scripts/
navigator/SingleSceneNavigator
'
;
registerDef
(
'./scripts/
dialogs/AlertDialogContent
'
,
component24
);
registerDef
(
'./scripts/
navigator/SingleSceneNavigator
'
,
component24
);
import
component25
from
'../../assets/scripts/dialogs/
Prize
DialogContent'
;
import
component25
from
'../../assets/scripts/dialogs/
Alert
DialogContent'
;
registerDef
(
'./scripts/dialogs/
Prize
DialogContent'
,
component25
);
registerDef
(
'./scripts/dialogs/
Alert
DialogContent'
,
component25
);
import
component26
from
'../../assets/scripts/dialogs/
Scor
eDialogContent'
;
import
component26
from
'../../assets/scripts/dialogs/
Priz
eDialogContent'
;
registerDef
(
'./scripts/dialogs/
Scor
eDialogContent'
,
component26
);
registerDef
(
'./scripts/dialogs/
Priz
eDialogContent'
,
component26
);
import
component27
from
'../../assets/scripts/
common/Toas
t'
;
import
component27
from
'../../assets/scripts/
dialogs/ScoreDialogConten
t'
;
registerDef
(
'./scripts/
common/Toas
t'
,
component27
);
registerDef
(
'./scripts/
dialogs/ScoreDialogConten
t'
,
component27
);
import
component28
from
'../../assets/scripts/
Icon
'
;
import
component28
from
'../../assets/scripts/
common/Toast
'
;
registerDef
(
'./scripts/
Icon
'
,
component28
);
registerDef
(
'./scripts/
common/Toast
'
,
component28
);
import
component29
from
'../../assets/scripts/scenes/result/RankItem'
;
import
component29
from
'../../assets/scripts/Icon'
;
registerDef
(
'./scripts/scenes/result/RankItem'
,
component29
);
registerDef
(
'./scripts/Icon'
,
component29
);
import
component30
from
'../../assets/scripts/scenes/SceneResult'
;
registerDef
(
'./scripts/scenes/SceneResult'
,
component30
);
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