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

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

371. Spine动画资源加载时不能同时使用"版本管理"和"URL.basePath" [ 52%]

...getRes(this._skBufferUrl); if (!tSkBuffer){ this.event(/*laya.events.Event.ERROR*/"error","load failed:"+this._skBufferUrl); return; } //MODIFIED:使用formatPath进行路径过滤 this._path=this.formatPath(this._skBufferUrl.slice(0,this._skBufferUrl.lastIndexOf("/"))+"/"); this.parseData(null,tSkB...

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

372. LayaAir1.8.2打包的js,放到华为快游戏rpk里没有背景音乐和音效 [ 52%]

...05 13:14 初始化过了的 1599732437用户 • 2021-02-21 02:00 [WARN]: [error]Failed to load: res/sound/xieshibg.mp3 预加载声音文件会提示错误,其他类型文件没有报错

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

373. laya的粒子到底怎么用的。编辑器编辑的是个.part的文件,怎么加载的也没个例子,要疯了 [ 52%]

...到类的定义!这是为什么? 已上传 Demo 附件 Ts 编辑提示error TS5023: Unknown option 'p' 图集打包找不到图集文件 FairyGUI是一款专业的 UI编辑器(千万别点) 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存...

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

374. parameter 2 is not of type 'WebGLTexture'. [ 51%]

...正常Chrome F12手机模式调试播放报laya.core.js:906 Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLTexture'. 代码如下:// 创建video对象 let videoElement = new Laya.Video(); videoElement.x = 0; videoElement.y = 0; vid...

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

375. ReferenceError: Laya3D is not defined? [ 51%]

ReferenceError: Laya3D is not defined? 我按着官方实例写的,为什么老是提示我没有定义场景?     ReferenceError: Laya3D is not defined preload.js:55 at new HelloWord3D (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:26:9)   at Object.1 (file:///E:/LayaWorkSpace/He...

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

376. 在微信小游戏中使用BitmapFont会导致报错. [ 51%]

...游戏用"微信开发者工具"打开就报错.   堆栈: gameThirdScriptError undefined;at api readFile success callback function console.error @ VM1782:1 errorReport @ WAGame.js:3 thirdErrorReport @ WAGame.js:3 (anonymous) @ WAGame.js:3 u @ WAGame.js:4 (anonymous) @ WAGame.js:4 function.setTimeo...

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

377. 运行器在手机上一打开就崩溃 [ 51%]

...3400 07-22 15:28:49.398: E/AndroidRuntime(13400): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/impl/client/DefaultHttpClient; 07-22 15:28:49.398: E/AndroidRuntime(13400): at layaair.autoupdateversion.NetHelper.httpStringGet(NetHelper.java:28) 07-22 15:28:49.398: E/AndroidRu...

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

378. laya.media.VideoTexture_API3.0 [ 51%]

...y currentSrc currentTime defaultTexture destroyed dimension duration ended error filterMode format frameRender gammaCorrection gammaSpace gpuMemory height id loop maxMipmapLevel mipmap mipmapCount muted obsolute paused playbackRate preload readyState referenceCount seekable seeking source videoHeigh...

来源: Laya3.0_api 发布时间: 20231115

379. 为何我加载spine的动画drawcall会那么高,shader的指标也很高 [ 50%]

...is.buildAmature();             }         }         private onError():void         {             console.log("load spine error");         }         private parseComplete():void         {             this.m_loadedUrlArr.push(this.m_curLoadingUrl);         ...

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

380. HTTP通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...404 Not Found” 表示请求的资源不存在;“500 Internal Server Error” 表示服务器内部出现错误。 响应头部包含了关于响应的各种信息,如内容类型(Content - Type)、内容长度(Content - Length)、服务器软件(Server)等。例如,“Content - ...

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