Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shuijf
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
shuijf
Commits
83b2f8ea
Commit
83b2f8ea
authored
Jul 02, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9a236b7e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
157 additions
and
125 deletions
+157
-125
.DS_Store
.DS_Store
+0
-0
main.scene
assets/scenes/main.scene
+113
-99
Rotation.ts
assets/scripts/Rotation.ts
+14
-0
Rotation.ts.meta
assets/scripts/Rotation.ts.meta
+1
-0
fuck.html
fuck.html
+2
-2
MustCompile.ts
src/generated/MustCompile.ts
+27
-24
No files found.
.DS_Store
View file @
83b2f8ea
No preview for this file type
assets/scenes/main.scene
View file @
83b2f8ea
...
...
@@ -109,7 +109,8 @@
"Drop": "res|f46e6c22-442d-4e5c-a03f-b1b5a073f5a2",
"countTxt": "entity|69f9ed92-756e-4962-a4ad-7513b8f0b41f",
"musiconbtn": "entity|69ea9749-a112-4228-931a-413b00818f7a",
"musicoffbtn": "entity|0b73e51e-93dc-4080-851f-0b9e37c24e56"
"musicoffbtn": "entity|0b73e51e-93dc-4080-851f-0b9e37c24e56",
"musicbtnGroup": "entity|56c05a76-780a-4e7c-aa05-545336b31d55"
},
"disabled": false
},
...
...
@@ -748,104 +749,6 @@
"children": [],
"uuid": "47299b0c-16e5-4ef6-8d9b-5b6b6ad1077d"
},
{
"name": "musiconBtn",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 229.2727272727273,
"y": -756.7121212121212,
"_type_": "scilla/support/Vector2D"
},
"scale": {
"x": 0.3,
"y": 0.3,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onclick_music"
}
],
"disabledRes": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18",
"upRes": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18",
"downRes": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18"
}
}
],
"children": [],
"uuid": "69ea9749-a112-4228-931a-413b00818f7a"
},
{
"name": "musicoffBtn",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 229.2727272727273,
"y": -756.7121212121212,
"_type_": "scilla/support/Vector2D"
},
"scale": {
"x": 0.3,
"y": 0.3,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onclick_music"
}
],
"disabledRes": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4",
"upRes": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4",
"downRes": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4"
}
}
],
"children": [],
"uuid": "0b73e51e-93dc-4080-851f-0b9e37c24e56"
},
{
"name": "startBtn",
"components": [
...
...
@@ -983,6 +886,117 @@
}
],
"uuid": "69f9ed92-756e-4962-a4ad-7513b8f0b41f"
},
{
"name": "Entity",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 229.2727272727273,
"y": -756.7121212121212,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "./scripts/Rotation",
"properties": {}
}
],
"uuid": "56c05a76-780a-4e7c-aa05-545336b31d55",
"children": [
{
"name": "musicoffBtn",
"components": [
{
"script": "components/base/Transform",
"properties": {
"scale": {
"x": 0.3,
"y": 0.3,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onclick_music"
}
],
"disabledRes": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4",
"upRes": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4",
"downRes": "res|dc1cb3bf-9d3f-48fe-a99c-49f0d3b42fb4"
}
}
],
"children": [],
"uuid": "0b73e51e-93dc-4080-851f-0b9e37c24e56"
},
{
"name": "musiconBtn",
"components": [
{
"script": "components/base/Transform",
"properties": {
"scale": {
"x": 0.3,
"y": 0.3,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c",
"component": 1,
"method": "onclick_music"
}
],
"disabledRes": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18",
"upRes": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18",
"downRes": "res|06cc951c-e0ac-47b9-a7eb-ce4bd2436f18"
}
}
],
"children": [],
"uuid": "69ea9749-a112-4228-931a-413b00818f7a"
}
],
"disabled": false
}
],
"disabled": false
...
...
assets/scripts/Rotation.ts
0 → 100644
View file @
83b2f8ea
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 @
83b2f8ea
{"ver":"1.0.1","uuid":"8a0daba4-280f-4e90-a9b5-5db37460508e","subMetas":{},"type":"script"}
fuck.html
View file @
83b2f8ea
...
...
@@ -12,7 +12,7 @@
<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/activity/wwjsjf-20190619/downloadApp.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/156
1982277
/bundle.js"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/156
2055539
/bundle.js"
></script>
<script>
setTimeout
(
function
()
{
...
...
@@ -25,7 +25,7 @@
}
var
options
=
{
resPath
:
"//yun.duiba.com.cn/db_games/156
1982277
/"
resPath
:
"//yun.duiba.com.cn/db_games/156
2055539
/"
};
window
[
'shuijf'
].
startup
(
document
.
getElementById
(
'gameContainer'
),
options
,
onProcess
);
},
100
);
...
...
src/generated/MustCompile.ts
View file @
83b2f8ea
...
...
@@ -5,8 +5,8 @@
import
{
registerDef
}
from
'scilla'
import
component0
from
'components/
other/RelativeLayout
'
;
registerDef
(
'components/
other/RelativeLayout
'
,
component0
);
import
component0
from
'components/
renderer/TextRenderer
'
;
registerDef
(
'components/
renderer/TextRenderer
'
,
component0
);
import
component1
from
'components/base/Transform'
;
registerDef
(
'components/base/Transform'
,
component1
);
...
...
@@ -26,11 +26,11 @@ registerDef('components/animation/TouchZoom', component5);
import
component6
from
'components/other/FullStageSize'
;
registerDef
(
'components/other/FullStageSize'
,
component6
);
import
component7
from
'components/
renderer/TextRender
er'
;
registerDef
(
'components/
renderer/TextRender
er'
,
component7
);
import
component7
from
'components/
other/CameraControll
er'
;
registerDef
(
'components/
other/CameraControll
er'
,
component7
);
import
component8
from
'components/other/
CameraController
'
;
registerDef
(
'components/other/
CameraController
'
,
component8
);
import
component8
from
'components/other/
RelativeLayout
'
;
registerDef
(
'components/other/
RelativeLayout
'
,
component8
);
import
component9
from
'components/renderer/TextureRenderer'
;
registerDef
(
'components/renderer/TextureRenderer'
,
component9
);
...
...
@@ -53,29 +53,32 @@ registerDef('./scripts/navigator/SingleSceneNavigator', component14);
import
component15
from
'../../assets/scripts/scenes/SceneController'
;
registerDef
(
'./scripts/scenes/SceneController'
,
component15
);
import
component16
from
'../../assets/scripts/
popup/Popup
'
;
registerDef
(
'./scripts/
popup/Popup
'
,
component16
);
import
component16
from
'../../assets/scripts/
Rotation
'
;
registerDef
(
'./scripts/
Rotation
'
,
component16
);
import
component17
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component17
);
import
component17
from
'../../assets/scripts/
popup/Popup
'
;
registerDef
(
'./scripts/
popup/Popup
'
,
component17
);
import
component18
from
'../../assets/scripts/
scenes/SceneStart
'
;
registerDef
(
'./scripts/
scenes/SceneStart
'
,
component18
);
import
component18
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component18
);
import
component19
from
'../../assets/scripts/
game/CustomTextRenderer
'
;
registerDef
(
'./scripts/
game/CustomTextRenderer
'
,
component19
);
import
component19
from
'../../assets/scripts/
scenes/SceneStart
'
;
registerDef
(
'./scripts/
scenes/SceneStart
'
,
component19
);
import
component20
from
'../../assets/scripts/
MainControll
er'
;
registerDef
(
'./scripts/
MainControll
er'
,
component20
);
import
component20
from
'../../assets/scripts/
game/CustomTextRender
er'
;
registerDef
(
'./scripts/
game/CustomTextRender
er'
,
component20
);
import
component21
from
'../../assets/scripts/
dialogs/AlertDialogContent
'
;
registerDef
(
'./scripts/
dialogs/AlertDialogContent
'
,
component21
);
import
component21
from
'../../assets/scripts/
MainController
'
;
registerDef
(
'./scripts/
MainController
'
,
component21
);
import
component22
from
'../../assets/scripts/dialogs/
Prize
DialogContent'
;
registerDef
(
'./scripts/dialogs/
Prize
DialogContent'
,
component22
);
import
component22
from
'../../assets/scripts/dialogs/
Alert
DialogContent'
;
registerDef
(
'./scripts/dialogs/
Alert
DialogContent'
,
component22
);
import
component23
from
'../../assets/scripts/
common/Toas
t'
;
registerDef
(
'./scripts/
common/Toas
t'
,
component23
);
import
component23
from
'../../assets/scripts/
dialogs/PrizeDialogConten
t'
;
registerDef
(
'./scripts/
dialogs/PrizeDialogConten
t'
,
component23
);
import
component24
from
'../../assets/scripts/scenes/Drop'
;
registerDef
(
'./scripts/scenes/Drop'
,
component24
);
import
component24
from
'../../assets/scripts/common/Toast'
;
registerDef
(
'./scripts/common/Toast'
,
component24
);
import
component25
from
'../../assets/scripts/scenes/Drop'
;
registerDef
(
'./scripts/scenes/Drop'
,
component25
);
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