Commit c9400664 authored by wildfirecode's avatar wildfirecode

1

parent a086e8a7
debug debug
node_modules
\ No newline at end of file
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import { dynamic, engine, Entity } from "scilla"; import { dynamic, engine, Entity } from "scilla/src";
import Toast from "./common/Toast"; import Toast from "./common/Toast";
import { initEnv } from "./common/BuriedPoint"; import { initEnv } from "./common/BuriedPoint";
import Popup from "./popup/Popup"; import Popup from "./popup/Popup";
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* Api接口组件基类 * Api接口组件基类
*/ */
import {engine, ScillaEvent} from "scilla"; import {engine, ScillaEvent} from "scilla/src";
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
export enum RequestMethod{ export enum RequestMethod{
GET = 'GET', GET = 'GET',
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* 简单的api组件 * 简单的api组件
*/ */
import {utils, } from 'scilla' import {utils, } from 'scilla/src'
import ApiComponent from "./ApiComponent"; import ApiComponent from "./ApiComponent";
import {callApi} from "../net/webService"; import {callApi} from "../net/webService";
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* 轮询api组件 * 轮询api组件
*/ */
import {raw, utils,} from 'scilla' import {raw, utils,} from 'scilla/src'
import ApiComponent from "./ApiComponent"; import ApiComponent from "./ApiComponent";
import { polling} from "../net/webService"; import { polling} from "../net/webService";
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
* *
* 埋点按钮 * 埋点按钮
*/ */
import InteractComponent from "components/base/InteractComponent"; import InteractComponent from "scilla-components/src/base/InteractComponent";
import {callApi} from "../net/webService"; import {callApi} from "../net/webService";
import {engine} from "scilla"; import {engine} from "scilla/src";
export default class BuriedPoint extends InteractComponent { export default class BuriedPoint extends InteractComponent {
dpm: string; dpm: string;
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
* Toast * Toast
*/ */
import {Entity, createTween, Tween, ease, engine,} from "scilla"; import {Entity, createTween, Tween, ease, engine,} from "scilla/src";
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import TextRenderer from "components/renderer/TextRenderer"; import TextRenderer from "scilla-components/src/renderer/TextRenderer";
import Transform from "components/base/Transform"; import Transform from "scilla-components/src/base/Transform";
export default class Toast extends ScillaComponent { export default class Toast extends ScillaComponent {
Label: Entity; Label: Entity;
......
import ScillaComponent from 'components/base/ScillaComponent'; import ScillaComponent from 'scilla-components/src/base/ScillaComponent';
export default class GameOverPanel extends ScillaComponent{ export default class GameOverPanel extends ScillaComponent{
onAwake(){ onAwake(){
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* 规则对话框内容 * 规则对话框内容
*/ */
import HtmlRenderer from "components/renderer/HtmlRenderer"; import HtmlRenderer from "scilla-components/src/renderer/HtmlRenderer";
import { dynamic, Entity } from "scilla"; import { dynamic, Entity } from "scilla/src";
import DialogContent from "../popup/DialogContent"; import DialogContent from "../popup/DialogContent";
export default class RuleDialogContent extends DialogContent { export default class RuleDialogContent extends DialogContent {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* 自定义文本渲染器 * 自定义文本渲染器
*/ */
import TextRenderer from "components/renderer/TextRenderer"; import TextRenderer from "scilla-components/src/renderer/TextRenderer";
export default class CustomTextRenderer extends TextRenderer { export default class CustomTextRenderer extends TextRenderer {
} }
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* 场景导航器 * 场景导航器
*/ */
import {EventEmitter} from 'scilla' import {EventEmitter} from 'scilla/src'
import {alien} from "./StackNavigator"; import {alien} from "./StackNavigator";
import NavigatorAction = alien.NavigatorAction; import NavigatorAction = alien.NavigatorAction;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
import {VirtualNavigator} from "./VirtualNavigator"; import {VirtualNavigator} from "./VirtualNavigator";
import {SceneStart, ScenePlay} from "../scenes"; import {SceneStart, ScenePlay} from "../scenes";
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
export default class SingleSceneNavigator extends ScillaComponent { export default class SingleSceneNavigator extends ScillaComponent {
_navigator: VirtualNavigator; _navigator: VirtualNavigator;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* 场景导航器 * 场景导航器
*/ */
import {Entity, EventEmitter} from 'scilla' import {Entity, EventEmitter} from 'scilla/src'
import {alien} from "./StackNavigator"; import {alien} from "./StackNavigator";
import NavigatorAction = alien.NavigatorAction; import NavigatorAction = alien.NavigatorAction;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 网络组件 * 网络组件
*/ */
import {utils, engine} from "scilla"; import {utils, engine} from "scilla/src";
/** /**
* 调用接口 * 调用接口
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
* 对话框内容组件 * 对话框内容组件
*/ */
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import { fade, flew, none, zoom } from "./PopupEffect"; import { fade, flew, none, zoom } from "./PopupEffect";
import { raw } from "scilla"; import { raw } from "scilla/src";
import { decorators } from "scilla"; import { decorators } from "scilla/src";
import { Button } from "scilla-components/src"; import { Button } from "scilla-components/src";
const { dirtyFieldTrigger } = decorators; const { dirtyFieldTrigger } = decorators;
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
*/ */
import DialogContent from "./DialogContent"; import DialogContent from "./DialogContent";
import RectRenderer from "components/renderer/RectRenderer"; import RectRenderer from "scilla-components/src/renderer/RectRenderer";
import TouchInterrupt from "components/base/TouchInterrupt"; import TouchInterrupt from "scilla-components/src/base/TouchInterrupt";
import Transform from "components/base/Transform"; import Transform from "scilla-components/src/base/Transform";
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import {none} from "./PopupEffect"; import {none} from "./PopupEffect";
import {createTween} from "scilla"; import {createTween} from "scilla/src";
export default class Popup extends ScillaComponent { export default class Popup extends ScillaComponent {
blackLayerDuration = 300; blackLayerDuration = 300;
......
/** /**
* Created by rockyl on 2019-05-15. * Created by rockyl on 2019-05-15.
*/ */
import Transform from "components/base/Transform"; import Transform from "scilla-components/src/base/Transform";
import {createTween, ease, engine} from "scilla"; import {createTween, ease, engine} from "scilla/src";
function bearingsToOutPos(bearings) { function bearingsToOutPos(bearings) {
const {width, height} = engine.renderContext.stageSize; const {width, height} = engine.renderContext.stageSize;
......
import ScillaComponent from 'components/base/ScillaComponent'; import ScillaComponent from 'scilla-components/src/base/ScillaComponent';
import SingleSceneNavigator from '../navigator/SingleSceneNavigator'; import SingleSceneNavigator from '../navigator/SingleSceneNavigator';
export default class SceneController extends ScillaComponent{ export default class SceneController extends ScillaComponent{
......
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import { alien } from "../navigator/StackNavigator"; import { alien } from "../navigator/StackNavigator";
import { INavigatorViewBase } from "../navigator/VirtualNavigator"; import { INavigatorViewBase } from "../navigator/VirtualNavigator";
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* Created by rockyl on 2019-04-09. * Created by rockyl on 2019-04-09.
*/ */
import ScillaComponent from "components/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import { dynamic, Entity } from "scilla"; import { dynamic, Entity } from "scilla/src";
import { setText } from "../entityUtils"; import { setText } from "../entityUtils";
import { alien } from "../navigator/StackNavigator"; import { alien } from "../navigator/StackNavigator";
import { INavigatorViewBase } from "../navigator/VirtualNavigator"; import { INavigatorViewBase } from "../navigator/VirtualNavigator";
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Created by rockyl on 2018-11-30. * Created by rockyl on 2018-11-30.
*/ */
import HashObject from "../core/HashObject"; import HashObject from "./HashObject";
import Texture, {createTexture} from "./Texture"; import Texture, {createTexture} from "./Texture";
import {Frame} from "../ReType"; import {Frame} from "../ReType";
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
*/ */
import Bounds from "../support/Bounds"; import Bounds from "../support/Bounds";
import HashObject from "../core/HashObject"; import HashObject from "./HashObject";
import {createCanvas} from "./context/RenderContext"; import {createCanvas} from "./context/RenderContext";
import {Frame} from "../ReType"; import {Frame} from "../ReType";
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* 配置文件解释器 * 配置文件解释器
*/ */
import {Entity} from "../core/Entity"; import {Entity} from "./Entity";
import {ScillaEvent} from "../core/ScillaEvent"; import {ScillaEvent} from "./ScillaEvent";
import {EngineConfig} from "../engine-config"; import {EngineConfig} from "../engine-config";
import engine from "./ScillaEngine"; import engine from "./ScillaEngine";
......
This diff is collapsed.
...@@ -18,5 +18,7 @@ ...@@ -18,5 +18,7 @@
"scilla-components": "git+http://gitlab2.dui88.com/laoqifeng/scilla-components#dev", "scilla-components": "git+http://gitlab2.dui88.com/laoqifeng/scilla-components#dev",
"scilla-launcher": "git+http://gitlab2.dui88.com/laoqifeng/scilla-launcher#dev" "scilla-launcher": "git+http://gitlab2.dui88.com/laoqifeng/scilla-launcher#dev"
}, },
"devDependencies": {} "devDependencies": {
"livereload": "^0.8.0"
}
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Created by rockyl on 2018-12-12. * Created by rockyl on 2018-12-12.
*/ */
import {EventEmitter} from 'scilla' import {EventEmitter} from 'scilla/src'
const eventEmitter = new EventEmitter(); const eventEmitter = new EventEmitter();
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
import { import {
utils, utils,
} from 'scilla' } from 'scilla/src'
const options: any = {}; const options: any = {};
......
...@@ -3,42 +3,42 @@ ...@@ -3,42 +3,42 @@
* DO NOT MODIFY THIS FILE * DO NOT MODIFY THIS FILE
*/ */
import {registerDef} from 'scilla' import {registerDef} from 'scilla/src'
import component0 from 'components/other/CameraController'; import component0 from 'scilla-components/src/other/CameraController';
registerDef('components/other/CameraController', component0); registerDef('components/other/CameraController', component0);
import component1 from 'components/base/Transform'; import component1 from 'scilla-components/src/base/Transform';
registerDef('components/base/Transform', component1); registerDef('components/base/Transform', component1);
import component2 from 'components/renderer/TextureRenderer'; import component2 from 'scilla-components/src/renderer/TextureRenderer';
registerDef('components/renderer/TextureRenderer', component2); registerDef('components/renderer/TextureRenderer', component2);
import component3 from 'components/renderer/TextRenderer'; import component3 from 'scilla-components/src/renderer/TextRenderer';
registerDef('components/renderer/TextRenderer', component3); registerDef('components/renderer/TextRenderer', component3);
import component4 from 'components/animation/TouchZoom'; import component4 from 'scilla-components/src/animation/TouchZoom';
registerDef('components/animation/TouchZoom', component4); registerDef('components/animation/TouchZoom', component4);
import component5 from 'components/ui/Button'; import component5 from 'scilla-components/src/ui/Button';
registerDef('components/ui/Button', component5); registerDef('components/ui/Button', component5);
import component6 from 'components/other/FullStageSize'; import component6 from 'scilla-components/src/other/FullStageSize';
registerDef('components/other/FullStageSize', component6); registerDef('components/other/FullStageSize', component6);
import component7 from 'components/renderer/RectRenderer'; import component7 from 'scilla-components/src/renderer/RectRenderer';
registerDef('components/renderer/RectRenderer', component7); registerDef('components/renderer/RectRenderer', component7);
import component8 from 'components/base/TouchInterrupt'; import component8 from 'scilla-components/src/base/TouchInterrupt';
registerDef('components/base/TouchInterrupt', component8); registerDef('components/base/TouchInterrupt', component8);
import component9 from 'components/ui/ScrollView'; import component9 from 'scilla-components/src/ui/ScrollView';
registerDef('components/ui/ScrollView', component9); registerDef('components/ui/ScrollView', component9);
import component10 from 'components/other/RelativeLayout'; import component10 from 'scilla-components/src/other/RelativeLayout';
registerDef('components/other/RelativeLayout', component10); registerDef('components/other/RelativeLayout', component10);
import component11 from 'components/renderer/HtmlRenderer'; import component11 from 'scilla-components/src/renderer/HtmlRenderer';
registerDef('components/renderer/HtmlRenderer', component11); registerDef('components/renderer/HtmlRenderer', component11);
import component12 from '../../assets/scripts/scenes/SceneController'; import component12 from '../../assets/scripts/scenes/SceneController';
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* 游戏入口 * 游戏入口
*/ */
import {modifyEngineConfig} from 'scilla' import {modifyEngineConfig} from 'scilla/src'
import ScillaLauncher from 'launcher' import ScillaLauncher from 'scilla-launcher/src'
import './generated/MustCompile' import './generated/MustCompile'
let launcher: ScillaLauncher; let launcher: ScillaLauncher;
......
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