Commit d61814d4 authored by wildfirecode's avatar wildfirecode

1

parent beefb4f4
......@@ -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": -150,
"_type_": "scilla/support/Vector2D"
"x": 0,
"y": -350
}
}
},
{
"script": "components/renderer/TextureRenderer",
"script": "components/renderer/RectRenderer",
"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": true
"disabled": false
}
]
},
......@@ -467,10 +586,6 @@
}
]
}
},
{
"uuid": "8ad59445-0ff2-4382-bb1c-9f7a07845e48",
"url": "singles/logo.png"
}
]
}
......
......@@ -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/TouchInterrupt';
registerDef('components/base/TouchInterrupt', component5);
import component5 from 'components/other/RelativeLayout';
registerDef('components/other/RelativeLayout', 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/SingleSceneNavigator';
registerDef('./scripts/navigator/SingleSceneNavigator', component14);
import component14 from '../../assets/scripts/scenes/SceneController';
registerDef('./scripts/scenes/SceneController', 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/CustomTextRenderer';
registerDef('./scripts/game/CustomTextRenderer', component18);
import component18 from '../../assets/scripts/MainController';
registerDef('./scripts/MainController', 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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment