• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)

121. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 62%]

...mber[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number of values must be even"); } this.points = points; } private static distance(x1: number, y1: number, x2: number, y2: number): number { let dx = x2-x1...

来源: Laya_社区 发布时间: 20241008

122. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 62%]

...dler); this.socket.on(Event.CLOSE,this,closeHandler); this.socket.on(Event.ERROR,this,errorHandler); } public function connect():void { if(!this.socket.connected){ this.socket.connectByUrl("ws://127.0.0.1:9000");//建立连接; } } public function send(msg:String):void { if(this.socket.connected){...

来源: Laya_社区 发布时间: 20180202

123. webgl模式下对Panel组件旋转时Panel子对象显示错误的BUG! [ 61%]

...个方法,走进了第二方法里 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 laya2的Scene默认是文件...

来源: Laya_社区 发布时间: 20170814

124. EXT:webgl support OES_vertex_array_object! [ 61%]

...ass[MiniAdpter] already exist: Object {init: } LayaAirIDE2.2 - Laya3D init error ,must support webGL 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 2.5引擎版本webgl使用遮罩动态变换位置和缩放时,会有线条,并未遮罩完整 2.0.0编译...

来源: Laya_社区 发布时间: 20181012

125. layaair 2.0 个人觉得编辑器【难用】的地方 [ 61%]

...编辑器的,用的最新版引擎 切换场景编辑器时 Laya3D init error must support webGl LayaAir IDE 最新版LayaAir IDE 2.2.0beta4的几个问题 MAC系统下使用IDE的场景编辑器时用MacBook的触摸板轻击有问题 问题状态 最新活动: 2019-03-28 11:53 浏览: 1593 关...

来源: Laya_社区 发布时间: 20190328

126. httpRequest send返回Request failed Status:0 [ 61%]

...Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载...

来源: Laya_社区 发布时间: 20180629

127. Resources already exist,is repeated loading 加载特效报重复加载 [ 60%]

...ng: D:/myLaya/myLaya/bin/res/threeDimen/particle/2d.lh laya.core.js:16639 [error]Failed to load: null 为什么加载自己从unity导出的特效会报已经存在不能重复加载?从打印的1111来看加载方法只调用过一次,但是用官方给的特效就不会报错 particleNew.part ...

来源: Laya_社区 发布时间: 20190509

128. 载入场景报错 [ 60%]

...cene); } } new GameMain();工程文件在附件,运行后报错 Uncaught Error: LoaderManager:unknown file(G:/LayaTest/bin/TestScene/TestScene.ls) extension with: ls.     at LoaderManager.__proto._create (laya.core.js:12387)     at LoaderManager.__proto.create (laya.core.js:12375)     at new...

来源: Laya_社区 发布时间: 20171227

129. 多次加载一个页面出现_$P为null的情况 [ 60%]

...听(A页面派发 B页面侦听) 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不...

来源: Laya_社区 发布时间: 20171219

130. [临时解决]bug?加载sk问题 [ 60%]

...re.js的7430行    if (this._pos_+2 > this._length)throw "getUint16 error - Out of bounds"; 但是,不使用预加载,就不报错,只是不知道什么时候真的加载完成,那个_template不再为null,我就可以调用play了。   怎么解决?   我上传了用到从骨...

来源: Laya_社区 发布时间: 20180622