大约有 10 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0049 秒)
...; //设置适配模式 Laya.stage.scaleMode = "showall"; //设置剧中对齐 Laya.stage.alignH = "center"; //设置横竖屏 Laya.stage.screenMode = "vertical"; //显示FPS Laya.Stat.show(0, 50); ...
来源: Laya_社区 发布时间: 20170105
...his.openScene) Laya.Scene.showLoadingPage(null, 0) // 同步执行 Promise.all([this._load(url, progress), otherHandler()]).then(res => { let nextScene = res[0] if (res.length > 1) param = .concat((param || ), [res[1]]) nextScene.open(closeOther, param) if (complete) complete.runWith(nextScene...
来源: Laya_社区 发布时间: 20181124
...示 iOS 接入微信登录,配置了"Other Linker Flags"中加入"-Objc -all_load"后编译不通过 有人知道大天使之剑H5的选服界面和load界面的实现原理么? 我二进制资源load之后,为什么通过getRes获取不到。 Uncaught TypeError: Cannot read property 'load' of...
来源: Laya_社区 发布时间: 20170108
...注: 2 人 qq_、风轻云淡。 • 2016-12-11 13:01 这个好像是max.all.js 文件不是max.js文件。我看了,生成的文件是不一样的。 Monica • 2016-12-11 13:09 @qq_、风轻云淡。:下边有对应的max.js文件,你看下 qq_、风轻云淡。 • 2016-12-11 13:23 @Monica:...
来源: Laya_社区 发布时间: 20161211
...报错: 路径不对,我能想到解决的办法就是修改layaUI.max.all.js里这个lava.png的路径,如下图: 这样可以让lava.png正常被加载显示不报错,可是这样的作法非常不方便,特别是每次重新发布,IDE都会更新layaUI.max.all.js,导致我又要...
来源: Laya_社区 发布时间: 20160527
...in { constructor() { Laya.init(480, 852); Laya.stage.scaleMode = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("r...
来源: Laya_社区 发布时间: 20171213
...et.angel.level; // 构造 function IsLand() { // 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.bal...
来源: Laya_社区 发布时间: 20170720
...e RES_OLD_CLIENT:number = 501; private socket:Laya.Socket = null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}; private heartbeatInterval:number = 0; private heartbeatTimeout:number = 0; private nextHeartbeatTimeout:number = 0; private ...
来源: Laya_社区 发布时间: 20180119
...r ground = Bodies.rectangle(400, 500, 810, 60, { isStatic: true }); // add all of the bodies to the world World.add(engine.world, [boxA, boxB, ground]); // run the engine Engine.run(engine); // run the renderer Render.run(render);显示效果如下 但是这还没有用Laya来渲染,需要做下...
来源: Laya_社区 发布时间: 20170905
...原因吗? 08-14 10:57:48.464 22228-22354/? I/LayaBox: JSRuntime::callMethod {} 08-14 10:57:48.470 22228-22268/? I/System: core_booster, getBoosterConfig = true 08-14 10:57:48.523 2977-2977/? E/Thermal-daemon: [ap] temp_new :49 temp_old :48 Report temperature: [ap] temp :49 report_t...
来源: Laya_社区 发布时间: 20180814