Commit 4d58552a authored by wildfirecode's avatar wildfirecode

1

parent 0044ce7d
{"currentScene":"assets/scenes/main.scene"}
\ No newline at end of file
......@@ -16,139 +16,81 @@
"properties": {}
},
{
"script": "components/other/CameraController"
},
{
"script": "./scripts/HelloScilla",
"properties": {
"label": "entity|797fad3f-17ed-4a9e-841f-a6b91aed37fa",
"name": "Tom",
"logo": "entity|6f148871-0515-4ef8-9c0c-d3ed7baa0a11"
}
"script": "components/other/CameraController",
"properties": {}
}
],
"children": [
{
"name": "Image",
"name": "SceneContainer",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": -150,
"_type_": "scilla/support/Vector2D"
}
}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|8ad59445-0ff2-4382-bb1c-9f7a07845e48"
}
},
{
"script": "components/animation/Wave",
"properties": {
"loop": 1,
"waveMethod": "rotate",
"autoPlay": false,
"duration": 400
}
"properties": {}
}
],
"uuid": "6f148871-0515-4ef8-9c0c-d3ed7baa0a11"
},
"uuid": "74d86361-3aa2-4ce6-ba1f-796598147075",
"children": [
{
"name": "Label",
"name": "SceneStart",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"fillColor": "rgba(255, 255, 255, 1)",
"text": "Tap Button"
}
}
],
"uuid": "797fad3f-17ed-4a9e-841f-a6b91aed37fa"
},
"uuid": "887e3162-ef6e-4f1e-95ba-2c94c4cbff25",
"children": [
{
"name": "Button",
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {
"position": {
"y": 80,
"_type_": "scilla/support/Vector2D"
}
}
"properties": {}
},
{
"script": "components/renderer/RectRenderer",
"script": "components/renderer/TextureRenderer",
"properties": {
"fillColor": "rgba(0, 192, 255, 1)",
"width": 150,
"height": 60,
"cornerRadius": 10
"texture": "res|65ad1c9d-457e-437c-a678-1f52ebb98381"
}
},
{
"script": "components/animation/TouchZoom",
"properties": {
"easeName": "backOut"
}
},
{
"script": "components/ui/Button",
"properties": {
"onClick": [
{
"entity": "entity|20181212032053",
"component": 1,
"method": "tapMe"
],
"uuid": "34cfbf69-3216-4aef-9d99-936659fbca19"
}
]
}
}
],
"children": [
]
},
{
"name": "label",
"name": "PopupContainer",
"components": [
{
"script": "components/base/Transform"
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "button",
"fillColor": "rgba(255, 255, 255, 1)"
}
"script": "components/base/Transform",
"properties": {}
}
],
"uuid": "4f7d630d-026c-4c1a-bf40-19a5cbecadb6"
"uuid": "3f66eb80-5d67-4b76-a0c1-f385e0a6e947"
},
{
"name": "Toast",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
],
"uuid": "cd518011-9d11-4376-af30-f64cef2a08cd"
"uuid": "0dd3ddfd-5da9-4b66-be26-0e4dea8331fd",
"disabled": true
}
]
}
]
},
"entity-cache": [
"797fad3f-17ed-4a9e-841f-a6b91aed37fa",
"6f148871-0515-4ef8-9c0c-d3ed7baa0a11",
"20181212032053"
],
"resource-groups": {
"preload": [
{
"uuid": "8ad59445-0ff2-4382-bb1c-9f7a07845e48",
"url": "singles/logo.png"
"uuid": "65ad1c9d-457e-437c-a678-1f52ebb98381",
"url": "singles/bg.jpg"
}
]
}
......
{"ver":"1.0.1","uuid":"65ad1c9d-457e-437c-a678-1f52ebb98381","subMetas":{"bg":{"ver":"1.0.1","uuid":"719a4bf8-e2f0-4822-81a6-6870eba0ab37","rawTextureUuid":"65ad1c9d-457e-437c-a678-1f52ebb98381","type":"texture"}},"type":"texture","imagePath":"/Users/wanghongyuan/new-kickball/assets/singles/bg.jpg"}
{"ver":"1.0.1","uuid":"8e27acb0-5de3-4923-a0d6-74c8f97ecf03","subMetas":{"bg_play":{"ver":"1.0.1","uuid":"21efcb53-689b-482d-bcff-91176ecbad9e","rawTextureUuid":"8e27acb0-5de3-4923-a0d6-74c8f97ecf03","type":"texture"}},"type":"texture","imagePath":"/Users/wanghongyuan/new-kickball/assets/singles/bg_play.jpg"}
......@@ -21,3 +21,7 @@
- "scaleMode": "fixedWidth",
- "webServiceUrl": "http://localhost:4001"
- dataCenterConfig
# 日报
- 5.28 跑新的demo,运行成功
-
\ No newline at end of file
......@@ -13,21 +13,3 @@ registerDef('components/other/CameraController', component1);
import component2 from 'components/renderer/TextureRenderer';
registerDef('components/renderer/TextureRenderer', component2);
import component3 from 'components/animation/Wave';
registerDef('components/animation/Wave', component3);
import component4 from 'components/renderer/TextRenderer';
registerDef('components/renderer/TextRenderer', component4);
import component5 from 'components/renderer/RectRenderer';
registerDef('components/renderer/RectRenderer', component5);
import component6 from 'components/animation/TouchZoom';
registerDef('components/animation/TouchZoom', component6);
import component7 from 'components/ui/Button';
registerDef('components/ui/Button', component7);
import component8 from '../../assets/scripts/HelloScilla';
registerDef('./scripts/HelloScilla', component8);
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