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

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

3581. 我用layaIDE构建了一个Android Studio原生APP,构建的时候选择的单机版,构建成功后,我运行项目,提示加载游戏失败,可能由于您的网络不稳定,请退出重进,可是我的是单机版的啊 [ 42%]

...提交,因违反苹果3.1.1导致APP上架被拒的说明 Ts 编辑提示error TS5023: Unknown option 'p' 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1....

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

3582. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 42%]

TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' 使用1.7.15或16,在项目总增加如下几句,在layaAir内测试可以正常(以下资源是拷贝自GitHub上官网的范例包下的资源: // 创建天空盒 var skyBox:Laya.SkyBox = new Laya.SkyBox(); //清除标...

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

3583. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 42%]

...andler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } new WatchPosition(); ``` ​ 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1...

来源: Laya2.0_文档 发布时间: 20210714

3584. 使用百度地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...andler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1。百度地图界面的初始...

来源: Laya3.0_文档 发布时间: 20251010

3585. [LayaAir3]Laya3.x graphics.drawCurves 闪烁的问题 [ 41%]

...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

3586. 微信小游戏报错 the .lh file root type must be Scene [ 41%]

...ther function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. at Scene.__proto.onAsynLoaded (http://127.0.0.1:62629/game/code.js:81644:10) at ResInfo.onLoaded (http://127.0.0.1:62629/game/cod...

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

3587. 重要问题:关于苹果审核被拒 [ 41%]

...这两个,但是会报 ld: library not found for -lJavaScriptCore clang: error: linker command failed with exit code 1 (use -v to see invocation)。 helloworldlv • 2018-03-21 11:00 build settings /other linker flag 里面把删的库删掉 helloworldlv • 2018-03-21 11:03 如果再报错在buil...

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

3588. Box2D使用Destory join报错? [ 41%]

... 使用box2d物理系统 在destory被collider绑定的sprite时会报错 Error preload.js:55     at Object.box2d.b2Assert (file:///D:/develop/layaspace/smallballs/bin/libs/laya.physics.js:38:57)     at box2d.b2World.DestroyJoint (file:///D:/develop/layaspace/smallballs/bin/libs/laya.physics.j...

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

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

...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

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

...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