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
d61814d4
Commit
d61814d4
authored
Jun 18, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
beefb4f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
158 additions
and
46 deletions
+158
-46
main.scene
assets/scenes/main.scene
+134
-19
MustCompile.ts
src/generated/MustCompile.ts
+24
-27
No files found.
assets/scenes/main.scene
View file @
d61814d4
...
...
@@ -90,8 +90,9 @@
"script": "components/base/Transform",
"properties": {
"position": {
"y": 80,
"_type_": "scilla/support/Vector2D"
"_hashCode": 38795,
"_x": 0,
"_y": 80
}
}
},
...
...
@@ -145,37 +146,155 @@
"uuid": "cd518011-9d11-4376-af30-f64cef2a08cd"
},
{
"name": "
Image
",
"name": "
ScrollView
",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 300,
"height": 200,
"position": {
"
y": -15
0,
"
_type_": "scilla/support/Vector2D"
"
x":
0,
"
y": -350
}
}
},
{
"script": "components/renderer/
Texture
Renderer",
"script": "components/renderer/
Rect
Renderer",
"properties": {
"texture": "res|8ad59445-0ff2-4382-bb1c-9f7a07845e48"
}
"fillColor": "rgba(255, 255, 255, 0.7)",
"cornerRadius": 20
},
"disabled": true
},
{
"script": "components/
animation/Wave
",
"script": "components/
ui/ScrollView
",
"properties": {
"loop": 1,
"waveMethod": "rotate",
"autoPlay": false,
"duration": 400
"viewport": "entity|c733e83b-ca39-46cc-8924-6ae528e2920a",
"content": "entity|e2930f12-a588-46f1-89f1-90f88b9f3769",
"lockingType": 1
}
}
],
"uuid": "6f148871-0515-4ef8-9c0c-d3ed7baa0a11"
"uuid": "81498e7c-0764-45d1-b57f-c50ca858b8e5",
"children": [
{
"name": "Viewport",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(214, 66, 228, 1)",
"isMask": true,
"cornerRadius": 20
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"once": false
}
}
],
"uuid": "c733e83b-ca39-46cc-8924-6ae528e2920a",
"children": [
{
"name": "Content",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(84, 230, 81, 1)",
"height": 300,
"cornerRadius": 20
},
"disabled": true
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 0
},
"disabled": false
}
],
"uuid": "e2930f12-a588-46f1-89f1-90f88b9f3769",
"children": [
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "fuck",
"fillColor": "rgba(228, 71, 66, 1)",
"textStyle": {
"fontSize": 100
}
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 0
}
}
],
"uuid": "dfc1a09a-bcc8-48ee-a3de-8e8ab2540859"
},
{
"name": "Label",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "fuck2",
"fillColor": "rgba(228, 71, 66, 1)",
"textStyle": {
"fontSize": 100
}
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"bottom": 0
}
}
],
"uuid": "1a533fcf-c040-401d-9bce-5a12a2ffcaca"
}
]
}
]
}
],
"disabled": false
}
],
"disabled":
tru
e
"disabled":
fals
e
}
]
},
...
...
@@ -467,10 +586,6 @@
}
]
}
},
{
"uuid": "8ad59445-0ff2-4382-bb1c-9f7a07845e48",
"url": "singles/logo.png"
}
]
}
...
...
src/generated/MustCompile.ts
View file @
d61814d4
...
...
@@ -14,17 +14,17 @@ registerDef('components/base/Transform', component1);
import
component2
from
'components/renderer/HtmlRenderer'
;
registerDef
(
'components/renderer/HtmlRenderer'
,
component2
);
import
component3
from
'components/
other/RelativeLayout
'
;
registerDef
(
'components/
other/RelativeLayout
'
,
component3
);
import
component3
from
'components/
renderer/TextureRenderer
'
;
registerDef
(
'components/
renderer/TextureRenderer
'
,
component3
);
import
component4
from
'components/
ui/ScrollView
'
;
registerDef
(
'components/
ui/ScrollView
'
,
component4
);
import
component4
from
'components/
base/TouchInterrupt
'
;
registerDef
(
'components/
base/TouchInterrupt
'
,
component4
);
import
component5
from
'components/
base/TouchInterrup
t'
;
registerDef
(
'components/
base/TouchInterrup
t'
,
component5
);
import
component5
from
'components/
other/RelativeLayou
t'
;
registerDef
(
'components/
other/RelativeLayou
t'
,
component5
);
import
component6
from
'components/
animation/Wave
'
;
registerDef
(
'components/
animation/Wave
'
,
component6
);
import
component6
from
'components/
ui/ScrollView
'
;
registerDef
(
'components/
ui/ScrollView
'
,
component6
);
import
component7
from
'components/renderer/RectRenderer'
;
registerDef
(
'components/renderer/RectRenderer'
,
component7
);
...
...
@@ -38,32 +38,29 @@ registerDef('components/ui/Button', component9);
import
component10
from
'components/other/CameraController'
;
registerDef
(
'components/other/CameraController'
,
component10
);
import
component11
from
'
components/renderer/TextureRenderer
'
;
registerDef
(
'
components/renderer/TextureRenderer
'
,
component11
);
import
component11
from
'
../../assets/scripts/scenes/SceneStart
'
;
registerDef
(
'
./scripts/scenes/SceneStart
'
,
component11
);
import
component12
from
'../../assets/scripts/
scenes/SceneStart
'
;
registerDef
(
'./scripts/
scenes/SceneStart
'
,
component12
);
import
component12
from
'../../assets/scripts/
navigator/SingleSceneNavigator
'
;
registerDef
(
'./scripts/
navigator/SingleSceneNavigator
'
,
component12
);
import
component13
from
'../../assets/scripts/popup/Popup'
;
registerDef
(
'./scripts/popup/Popup'
,
component13
);
import
component14
from
'../../assets/scripts/
navigator/SingleSceneNavigato
r'
;
registerDef
(
'./scripts/
navigator/SingleSceneNavigato
r'
,
component14
);
import
component14
from
'../../assets/scripts/
scenes/SceneControlle
r'
;
registerDef
(
'./scripts/
scenes/SceneControlle
r'
,
component14
);
import
component15
from
'../../assets/scripts/
dialogs/RuleDialogContent
'
;
registerDef
(
'./scripts/
dialogs/RuleDialogContent
'
,
component15
);
import
component15
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component15
);
import
component16
from
'../../assets/scripts/
scenes/SceneController
'
;
registerDef
(
'./scripts/
scenes/SceneController
'
,
component16
);
import
component16
from
'../../assets/scripts/
dialogs/RuleDialogContent
'
;
registerDef
(
'./scripts/
dialogs/RuleDialogContent
'
,
component16
);
import
component17
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component17
);
import
component17
from
'../../assets/scripts/
game/CustomTextRenderer
'
;
registerDef
(
'./scripts/
game/CustomTextRenderer
'
,
component17
);
import
component18
from
'../../assets/scripts/
game/CustomTextRender
er'
;
registerDef
(
'./scripts/
game/CustomTextRender
er'
,
component18
);
import
component18
from
'../../assets/scripts/
MainControll
er'
;
registerDef
(
'./scripts/
MainControll
er'
,
component18
);
import
component19
from
'../../assets/scripts/MainController'
;
registerDef
(
'./scripts/MainController'
,
component19
);
import
component20
from
'../../assets/scripts/common/Toast'
;
registerDef
(
'./scripts/common/Toast'
,
component20
);
import
component19
from
'../../assets/scripts/common/Toast'
;
registerDef
(
'./scripts/common/Toast'
,
component19
);
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