Commit ea0a8c9b authored by wildfirecode's avatar wildfirecode

1

parent 129d2ba2
......@@ -16,7 +16,8 @@
"properties": {}
},
{
"script": "components/other/CameraController"
"script": "components/other/CameraController",
"properties": {}
},
{
"script": "./scripts/HelloScilla",
......@@ -134,18 +135,253 @@
}
],
"uuid": "cd518011-9d11-4376-af30-f64cef2a08cd"
},
{
"name": "SceneContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
],
"uuid": "23b027e4-3a90-4e46-a74e-dc5de005238c",
"children": [
{
"name": "SceneStart",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
],
"uuid": "41f0a20e-9d0a-445b-8ffc-d8a0b04ab02c"
}
]
},
{
"name": "PopupContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
],
"uuid": "dbfac9aa-8955-4725-89cf-eae9f8cf7595",
"children": [
{
"name": "Rule",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|48aa7079-65a9-45dd-9449-e765b6996674",
"anchor": {
"x": 0.48,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "./scripts/dialogs/RuleDialogContent",
"properties": {
"effect": "flew",
"Content": "entity|4d9e497d-0507-4c38-b639-54336e9ee8e6",
"ruleContent": "dynamic|CFG|rule",
"ajaxElement": "dynamic|API|ajaxElement"
}
}
],
"uuid": "aae552b6-377b-4168-a67b-4adb75b4cb5e",
"children": [
{
"name": "CloseButton",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"x": 13,
"y": 347,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|987a5caa-e372-4c76-a853-c8adea9e6686"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"upRes": "res|987a5caa-e372-4c76-a853-c8adea9e6686",
"downRes": "res|987a5caa-e372-4c76-a853-c8adea9e6686",
"disabledRes": "res|987a5caa-e372-4c76-a853-c8adea9e6686"
}
}
],
"children": [],
"uuid": "0ff6a935-78d7-4d96-9205-a5f4f2dd9a7d"
},
{
"name": "ScrollView",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 450,
"height": 290,
"position": {
"_hashCode": 16610,
"_x": 2,
"_y": -45,
"x": 2,
"y": -37
}
}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 0.7)"
},
"disabled": true
},
{
"script": "components/ui/ScrollView",
"properties": {
"viewport": "entity|8edf31e4-36c6-40b1-ba79-8a677e8e4fdb",
"content": "entity|ae35a1ab-c189-4fd1-8f39-083f3e68cdad",
"lockingType": 1
}
}
],
"uuid": "df717c85-ce00-4390-9c08-7d2959e12935",
"children": [
{
"name": "Viewport",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"properties": {
"fillColor": "rgba(214, 66, 228, 1)",
"isMask": true
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"left": 0,
"right": 0,
"top": 0,
"bottom": 0,
"once": false
}
}
],
"uuid": "8edf31e4-36c6-40b1-ba79-8a677e8e4fdb",
"children": [
{
"name": "Content",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "./scripts/game/CustomTextRenderer",
"properties": {
"fillColor": "rgba(189, 66, 0, 1)",
"text": "登录后即可参与活动",
"textStyle": {
"fontSize": 30
},
"textAlign": "left"
}
},
{
"script": "components/other/RelativeLayout",
"properties": {
"top": 0,
"left": 0,
"right": 0
}
}
],
"uuid": "ae35a1ab-c189-4fd1-8f39-083f3e68cdad"
}
]
}
],
"disabled": true
},
{
"name": "Content",
"components": [
{
"script": "components/base/Transform",
"properties": {
"width": 450,
"height": 350,
"position": {
"y": 9,
"_type_": "scilla/support/Vector2D",
"x": 10
}
}
},
{
"script": "components/renderer/HtmlRenderer",
"properties": {
"htmlText": "",
"color": "rgba(255, 255, 255, 1)"
}
}
],
"uuid": "4d9e497d-0507-4c38-b639-54336e9ee8e6"
}
],
"disabled": false
}
]
}
]
}
]
},
"entity-cache": [
"797fad3f-17ed-4a9e-841f-a6b91aed37fa",
"6f148871-0515-4ef8-9c0c-d3ed7baa0a11",
"20181212032053"
],
"resource-groups": {
"preload": [
{
"uuid": "57b12603-85b6-4aa9-9fa6-072674a8d674",
"url": "sheets/rule.sht-disperse",
"config": {
"textures": [
{
"name": "closeBtn-1.png",
"uuid": "987a5caa-e372-4c76-a853-c8adea9e6686"
},
{
"name": "游戏说明-1.png",
"uuid": "48aa7079-65a9-45dd-9449-e765b6996674"
}
]
}
},
{
"uuid": "8ad59445-0ff2-4382-bb1c-9f7a07845e48",
"url": "singles/logo.png"
......
{"ver":"1.0.1","uuid":"6264e54e-3a4e-4bb8-baed-91b9a0c6b85d","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"9abb2447-83bb-49e0-8912-39814676b8a4","subMetas":{},"isGroup":true}
{"ver":"1.0.1","uuid":"de65cf24-dfc0-4728-8ef5-83c97dca9b15","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"02450709-0578-4315-82d3-b6676111fc8f","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"92de3cc4-8222-4f87-baca-5d84079f4537","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"621fdc18-2185-4d12-b199-0d650c2cca94","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"e67c7e07-1a4a-44eb-a56e-74fba7534c1a","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"cf6a3b27-3203-4229-9d0b-6e0c9132b754","subMetas":{},"isGroup":true}
{"ver":"1.0.1","uuid":"222398f9-001b-4213-b2d0-0484f49da18f","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"27a4ad71-7fcb-4509-9b6e-d2eb4624a07c","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"20e51d98-2b67-455d-b86f-b238d80fef2c","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"f4a580ec-d00d-4bb0-8cb1-cc955f990e22","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"4d662288-5dcb-4f4f-af88-0b1233d96770","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"ead52dd1-f4cf-4869-b471-0f820c005d69","subMetas":{},"isGroup":true}
{"ver":"1.0.1","uuid":"23c9a081-bf70-4728-adfc-b95143c2bd18","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"1baca7a6-0db8-4109-8b3c-a13459a83ff5","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"60f88e76-e1dc-43a4-a74b-75f71a2f6eef","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"4ae843bd-25a7-4979-a39d-59486f4cbc55","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"aa006aad-50a3-49b2-ae49-6b031b154793","subMetas":{},"isGroup":true}
{"ver":"1.0.1","uuid":"0657cdf0-0b97-4286-ae87-8f356140e662","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"b6b6a4f7-1aa0-4aa8-a325-1184927abd90","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"03597fde-0a6d-4c4f-b0f6-d1079ddb777d","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"9b5487b8-a2a7-44ea-a370-ab8e3ea7ba93","subMetas":{},"isGroup":true}
{"ver":"1.0.1","uuid":"848eeea5-4afe-4725-bb21-7d1d01a309ef","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"a6fb727e-d71c-484f-b3eb-480b3a5f3e42","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"b838249c-6046-4347-bfc0-30dce9ba1a3f","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"08c7c305-540f-4203-a98e-037454900419","subMetas":{},"isGroup":true}
{"ver":"1.0.1","uuid":"57b12603-85b6-4aa9-9fa6-072674a8d674","subMetas":{"closeBtn-1.png":{"ver":"1.0.1","uuid":"987a5caa-e372-4c76-a853-c8adea9e6686","rawTextureUuid":"57b12603-85b6-4aa9-9fa6-072674a8d674","type":"texture"},"游戏说明-1.png":{"ver":"1.0.1","uuid":"48aa7079-65a9-45dd-9449-e765b6996674","rawTextureUuid":"57b12603-85b6-4aa9-9fa6-072674a8d674","type":"texture"}},"type":"sheet"}
......@@ -5,29 +5,44 @@
import {registerDef} from 'scilla'
import component0 from 'components/base/Transform';
registerDef('components/base/Transform', component0);
import component0 from 'components/animation/TouchZoom';
registerDef('components/animation/TouchZoom', component0);
import component1 from 'components/other/CameraController';
registerDef('components/other/CameraController', component1);
import component1 from 'components/base/Transform';
registerDef('components/base/Transform', component1);
import component2 from 'components/renderer/TextureRenderer';
registerDef('components/renderer/TextureRenderer', component2);
import component2 from 'components/other/RelativeLayout';
registerDef('components/other/RelativeLayout', component2);
import component3 from 'components/animation/Wave';
registerDef('components/animation/Wave', component3);
import component3 from 'components/renderer/TextureRenderer';
registerDef('components/renderer/TextureRenderer', component3);
import component4 from 'components/renderer/TextRenderer';
registerDef('components/renderer/TextRenderer', component4);
import component4 from 'components/animation/Wave';
registerDef('components/animation/Wave', component4);
import component5 from 'components/renderer/RectRenderer';
registerDef('components/renderer/RectRenderer', component5);
import component5 from 'components/renderer/TextRenderer';
registerDef('components/renderer/TextRenderer', component5);
import component6 from 'components/animation/TouchZoom';
registerDef('components/animation/TouchZoom', component6);
import component6 from 'components/renderer/RectRenderer';
registerDef('components/renderer/RectRenderer', component6);
import component7 from 'components/ui/Button';
registerDef('components/ui/Button', component7);
import component7 from 'components/other/CameraController';
registerDef('components/other/CameraController', component7);
import component8 from '../../assets/scripts/HelloScilla';
registerDef('./scripts/HelloScilla', component8);
import component8 from 'components/ui/Button';
registerDef('components/ui/Button', component8);
import component9 from 'components/ui/ScrollView';
registerDef('components/ui/ScrollView', component9);
import component10 from 'components/renderer/HtmlRenderer';
registerDef('components/renderer/HtmlRenderer', component10);
import component11 from '../../assets/scripts/dialogs/RuleDialogContent';
registerDef('./scripts/dialogs/RuleDialogContent', component11);
import component12 from '../../assets/scripts/HelloScilla';
registerDef('./scripts/HelloScilla', component12);
import component13 from '../../assets/scripts/game/CustomTextRenderer';
registerDef('./scripts/game/CustomTextRenderer', component13);
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