Commit 6331f693 authored by wildfirecode's avatar wildfirecode

1

parent 884f7178
No preview for this file type
{"currentScene":"assets/prefabs/i1.pfb"}
\ No newline at end of file
{"currentScene":"assets/prefabs/rankItem.pfb"}
\ No newline at end of file
{
"name": "rankItem",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
},
{
"script": "components/other/CameraController"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "rankItem",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
],
"children": [
{
"name": "rankTxt",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextRenderer",
"properties": {
"text": "1",
"fillColor": "rgba(255, 247, 224, 1)"
}
}
],
"uuid": "723b6f9f-ed88-4e03-ae63-9b5efc3990c6"
}
]
}
]
}
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"681aaec9-4063-4399-b56f-2a88de1a902e","subMetas":{},"type":"prefab"}
This diff is collapsed.
/**
* Created by rockyl on 2019-04-10.
*
* 警告对话框内容
*/
import { Entity } from "scilla/src";
import DialogContent from "../popup/DialogContent";
export default class ScoreDialogContent extends DialogContent {
content: Entity;
onAwake() {
super.onAwake();
}
setup(data: any = {}) {
}
}
{"ver":"1.0.1","uuid":"3a09e137-303f-434e-a26e-6f19216e962f","subMetas":{},"type":"script"}
......@@ -108,7 +108,7 @@ export default class ScenePlay extends ScillaComponent implements INavigatorView
if (!this._startTag) return;
this._msPassed += (Date.now() - this._lastTimer);
const left = this.COUNT_DOWN_SEC * 1000 - this._msPassed;
console.log(left)
// console.log(left)
const mPassed = Math.floor(left / 1000);
let msPassed = left % 1000;
msPassed = Math.floor(msPassed / 10);
......
......@@ -2,11 +2,16 @@
import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import { alien } from "../navigator/StackNavigator";
import { INavigatorViewBase } from "../navigator/VirtualNavigator";
import { Entity } from "scilla/src";
import { RectRenderer, Transform } from "scilla-components/src";
export default class SceneResult extends ScillaComponent implements INavigatorViewBase {
avatar: Entity;
onAwake() {
super.onAwake();
// const rectRender = this.avatar.getComponent(RectRenderer);
// rectRender.isMask = true;
// rectRender.maskVisible = true;
}
// _timer
......
......@@ -31,8 +31,8 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
onClick_startbtn() {
this.startbtn.getComponent(Button).enabled = false;
// this.sendDojoin();
this.bubbling('fuck', 'play');
this.sendDojoin();
// this.bubbling('fuck', 'play');
}
sendDojoin() {
......@@ -115,7 +115,8 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
}
onClick_rankbtn() {
alert('onClick_rankbtn')
// alert('onClick_rankbtn');
this.bubbling('fuck', 'result');
// globalEvent.emit('alert', {title: 'Success', content: 'You complete this puzzle', button: 'Next level'}, this.onAlertClose);
}
......
{"ver":"1.0.1","uuid":"8de41bf2-0b03-42d7-bbb9-8d01f3cad181","subMetas":{},"isGroup":true}
/**
* Created by rockyl on 2019-01-03.
*
* 砖块动画单体
*/
import ScillaComponent from 'components/base/ScillaComponent';
export default class RankList extends ScillaComponent {
onAwake() {
super.onAwake();
}
}
{"ver":"1.0.1","uuid":"8960d977-3ca8-482b-b15a-9dac7438d253","subMetas":{},"type":"script"}
assets/sheets/prize.sht/prizebg.png

192 KB | W: | H:

assets/sheets/prize.sht/prizebg.png

78.5 KB | W: | H:

assets/sheets/prize.sht/prizebg.png
assets/sheets/prize.sht/prizebg.png
assets/sheets/prize.sht/prizebg.png
assets/sheets/prize.sht/prizebg.png
  • 2-up
  • Swipe
  • Onion skin
assets/sheets/prize.sht/usebtn.png

12 KB | W: | H:

assets/sheets/prize.sht/usebtn.png

16.7 KB | W: | H:

assets/sheets/prize.sht/usebtn.png
assets/sheets/prize.sht/usebtn.png
assets/sheets/prize.sht/usebtn.png
assets/sheets/prize.sht/usebtn.png
  • 2-up
  • Swipe
  • Onion skin
{"ver":"1.0.1","uuid":"1fbceff5-d327-43eb-ab17-4cd54cb440a5","subMetas":{"1.png":{"ver":"1.0.1","uuid":"598c0eb5-ea0e-41dc-adcb-d808fe0ac95f","rawTextureUuid":"1fbceff5-d327-43eb-ab17-4cd54cb440a5","type":"texture"},"2.png":{"ver":"1.0.1","uuid":"cf2931eb-bd7a-4ef6-8b71-9b67dc633306","rawTextureUuid":"1fbceff5-d327-43eb-ab17-4cd54cb440a5","type":"texture"},"3.png":{"ver":"1.0.1","uuid":"d6139441-67ce-4290-94b4-43971b310753","rawTextureUuid":"1fbceff5-d327-43eb-ab17-4cd54cb440a5","type":"texture"},"返回首页.png":{"ver":"1.0.1","uuid":"96f7f590-a82a-422f-803d-6e4e454b6dc5","rawTextureUuid":"1fbceff5-d327-43eb-ab17-4cd54cb440a5","type":"texture"}},"type":"sheet"}
{"ver":"1.0.1","uuid":"30d8c878-4721-452c-be69-5a7ff3b8c384","subMetas":{},"isGroup":true}
{"ver":"1.0.1","uuid":"6e959768-d04d-4a1b-a28d-649d0ee9c769","subMetas":{"弹窗-完成.png":{"ver":"1.0.1","uuid":"19642cc5-45c3-41ce-9086-5389a295e3ef","rawTextureUuid":"6e959768-d04d-4a1b-a28d-649d0ee9c769","type":"texture"},"按钮.png":{"ver":"1.0.1","uuid":"5d3225cc-1a94-471c-a8db-d24cb44a62c7","rawTextureUuid":"6e959768-d04d-4a1b-a28d-649d0ee9c769","type":"texture"}},"type":"sheet"}
assets/sheets/start.sht/recordbtn.png

5.29 KB | W: | H:

assets/sheets/start.sht/recordbtn.png

5.12 KB | W: | H:

assets/sheets/start.sht/recordbtn.png
assets/sheets/start.sht/recordbtn.png
assets/sheets/start.sht/recordbtn.png
assets/sheets/start.sht/recordbtn.png
  • 2-up
  • Swipe
  • Onion skin
assets/sheets/start.sht/rulebtn.png

5.06 KB | W: | H:

assets/sheets/start.sht/rulebtn.png

5.11 KB | W: | H:

assets/sheets/start.sht/rulebtn.png
assets/sheets/start.sht/rulebtn.png
assets/sheets/start.sht/rulebtn.png
assets/sheets/start.sht/rulebtn.png
  • 2-up
  • Swipe
  • Onion skin
assets/singles/alertbg.png

156 KB | W: | H:

assets/singles/alertbg.png

77.8 KB | W: | H:

assets/singles/alertbg.png
assets/singles/alertbg.png
assets/singles/alertbg.png
assets/singles/alertbg.png
  • 2-up
  • Swipe
  • Onion skin
{"ver":"1.0.1","uuid":"8b7f9aab-a69b-4bff-99b7-f3710d565403","subMetas":{"ran_cankao":{"ver":"1.0.1","uuid":"d747a595-961c-4084-b44c-e8bcbd984319","rawTextureUuid":"8b7f9aab-a69b-4bff-99b7-f3710d565403","type":"texture"}},"type":"texture","imagePath":"/Users/wanghongyuan/shuijf2/assets/singles/ran_cankao.png"}
{"ver":"1.0.1","uuid":"6c90daea-7dde-4b18-823a-e4f8141b7b41","subMetas":{"rankbg":{"ver":"1.0.1","uuid":"e792599d-4776-478c-b0d7-5c667ea9f1f0","rawTextureUuid":"6c90daea-7dde-4b18-823a-e4f8141b7b41","type":"texture"}},"type":"texture","imagePath":"/Users/wanghongyuan/shuijf2/assets/singles/rankbg.jpg"}
assets/singles/按钮.png

11.6 KB | W: | H:

assets/singles/按钮.png

9.46 KB | W: | H:

assets/singles/按钮.png
assets/singles/按钮.png
assets/singles/按钮.png
assets/singles/按钮.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
This diff is collapsed.
......@@ -26,17 +26,17 @@ registerDef('components/renderer/TextRenderer', component5);
import component6 from 'components/other/FullStageSize';
registerDef('components/other/FullStageSize', component6);
import component7 from 'components/base/TouchInterrupt';
registerDef('components/base/TouchInterrupt', component7);
import component7 from 'components/renderer/RectRenderer';
registerDef('components/renderer/RectRenderer', component7);
import component8 from 'components/renderer/RectRenderer';
registerDef('components/renderer/RectRenderer', component8);
import component8 from 'components/ui/ScrollView';
registerDef('components/ui/ScrollView', component8);
import component9 from 'components/ui/ScrollView';
registerDef('components/ui/ScrollView', component9);
import component9 from 'components/other/RelativeLayout';
registerDef('components/other/RelativeLayout', component9);
import component10 from 'components/other/RelativeLayout';
registerDef('components/other/RelativeLayout', component10);
import component10 from 'components/base/TouchInterrupt';
registerDef('components/base/TouchInterrupt', component10);
import component11 from 'components/renderer/HtmlRenderer';
registerDef('components/renderer/HtmlRenderer', component11);
......@@ -53,23 +53,23 @@ registerDef('./scripts/Icon', component14);
import component15 from '../../assets/scripts/scenes/SceneResult';
registerDef('./scripts/scenes/SceneResult', component15);
import component16 from '../../assets/scripts/popup/Popup';
registerDef('./scripts/popup/Popup', component16);
import component16 from '../../assets/scripts/scenes/SceneStart';
registerDef('./scripts/scenes/SceneStart', component16);
import component17 from '../../assets/scripts/scenes/SceneStart';
registerDef('./scripts/scenes/SceneStart', component17);
import component17 from '../../assets/scripts/api/SamplePollingApi';
registerDef('./scripts/api/SamplePollingApi', component17);
import component18 from '../../assets/scripts/api/SamplePollingApi';
registerDef('./scripts/api/SamplePollingApi', component18);
import component18 from '../../assets/scripts/MainController';
registerDef('./scripts/MainController', component18);
import component19 from '../../assets/scripts/dialogs/RuleDialogContent';
registerDef('./scripts/dialogs/RuleDialogContent', component19);
import component19 from '../../assets/scripts/popup/Popup';
registerDef('./scripts/popup/Popup', component19);
import component20 from '../../assets/scripts/MainController';
registerDef('./scripts/MainController', component20);
import component20 from '../../assets/scripts/api/SampleApi';
registerDef('./scripts/api/SampleApi', component20);
import component21 from '../../assets/scripts/api/SampleApi';
registerDef('./scripts/api/SampleApi', component21);
import component21 from '../../assets/scripts/dialogs/RuleDialogContent';
registerDef('./scripts/dialogs/RuleDialogContent', component21);
import component22 from '../../assets/scripts/game/CustomTextRenderer';
registerDef('./scripts/game/CustomTextRenderer', component22);
......
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