大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0144 秒)
...擎出错。 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 本地调试加载本地图片都报错 LayaAir下如何成功调试matter.js物理引擎Demo? 在FB中编译后能不...
来源: Laya_社区 发布时间: 20191113
...ist); // 设置数据项为对应图片的路径 var data: Array<string> = []; for (var i: number = 0; i < 2; ++i) { data.push("img_common_pinzhi0.png"); data.push("img_common_pinzhi1.png"); data.push("img_common_pinzhi2.png"); data.push("img_common_pinzhi3.png"); data.push("img_common_pinz...
来源: Laya_社区 发布时间: 20180410
...加的元素始终保持在最底部显示? LayaFlash:求ByteArray.jas ->readMultiByte对gb2312的实现翻译 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is no...
来源: Laya_社区 发布时间: 20190809
...、屏蔽APP窗口弹出脚本错误信息 的问题 (function () { (() => { //初始化屏幕 宽高 使用WebGL渲染 Laya.init(640,960,Laya.WebGL); //屏幕缩放模式 stage 舞台 Laya.stage.scaleMode= Laya.Stage.SCALE_NOSCALE ; //水平对齐方式 Laya.stage.alignH = Laya.Stage.ALIGN_CENTE...
来源: Laya_社区 发布时间: 20170228
...Laya.init(1024, 1024); } //等待可调试 Laya.timer.once(1000, null, ()=>{ let mask = new Laya.Sprite() let sprite = new Laya.Sprite() sprite.mask = mask Laya.stage.addChild(sprite) //正方形 sprite.graphics.drawPoly(0, 0, [100, 100, 100, 200, 200, 200, 200, 100], "#ffffff") //一挑粗直线...
来源: Laya_社区 发布时间: 20180224
...uire (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (D:\LayaGame\LayaAirIDE2.5.0\resources\app\out\layarepublic\oppo\quickgame-toolkit\lib\commands\cocos_v2.js:85:16) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (i...
来源: Laya_社区 发布时间: 20200619
...设置此属性为true能大大提高性能 List cells : Vector.<Box>[read-only] 单元格集合。 List centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器...
来源: Laya2.0_api 发布时间: 20190513
...g", "resources/res/ui/close.png"]; Laya.loader.load(this.assets).then( ()=>{ this.onSkinLoadComplete(); } ); } private onSkinLoadComplete(e: any = null): void { this.dialog = new Laya.Dialog(); var bg: Laya.Image = new Laya.Image(this.assets[0]); this.dialog.addChild(bg); var button: Laya.Button ...
来源: Laya3.0_文档 发布时间: 20230303
...----------------- true true true 0 0 0 false false true --> 1 1 0 false false true 1 1 0 路径:0,0, 0,1, 1,2, 2,2 然后 0,1, 1,2 的walkable都是false的 (怀疑结果路径的点xy是反的,应该是0,0, 1,0, 2,1, 2,2) -------------------------------...
来源: Laya_社区 发布时间: 20161221
layaAir2.0动效模板报错Uncaught Can not find class ui.aniTemplates.bigToSmallUI layaAir2.0动效模板报错 Uncaught Can not find class ui.aniTemplates.bigToSmallUI 在1.0上同样的步骤是没有问题的 2018-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20181011