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

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

131. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 69%]

...); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //数据传输失败后返回 //post数据的写法 console.log(JSON.stringify(request)); this.http.send(url,JSON.stringify(request), 'post', 'text',["content-type","application/json"]); } function o...

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

132. TypeError: relativePath is undefined [ 69%]

TypeError: relativePath is undefined 文档 --> 扩展模块 --> 用LayaAir引擎解析Tiled Map地图 我的代码完全是复制的,一个字都不差 但是运行之后报错:TypeError: relativePath is undefined 文档传送门:https://ldc.layabox.com/doc/?nav=zh-js-3-4-0 2017-12-05 ...

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

133. 资源加载过程中断网 [ 69%]

...加载完成的回到函数执行失败,经测试是不会触发回调,Error事件也不会触发,网络连接后再继续加载会导致进不去游戏,请问大神,在加载资源过程中断网底层是怎么处理的呢,有没有什么办法可以解决这个问题呢? 2018-04-02 ...

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

134. Uncaught TypeError: Game.super is not a function [ 68%]

Uncaught TypeError: Game.super is not a function var Game = (function(_super){ function Game() { Game.super(this); } Laya.ClassUtils(Game,"Game",_super) return Game; })(ui.GameUI) 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

135. uglify压缩后的错误堆栈解析 [ 68%]

...mes:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')) .on('error', function (err) { console.warn(err.toString()); }) .pipe(gulp.dest(releaseDir)); } }); 可以看到laya是用uglify工具压缩的js   2、生成js对应的 .js.map文件 .js.map :map文件是js文件压缩后,文...

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

136. 使用layaair调试的问题 [ 68%]

...信小游戏如何使用ttf字体? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 问题状态 最新活动: 2018-03-20 18:23 浏览: 1102 关注: 2 人

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

137. laya.resource.PrefabImpl_API3.0 [ 68%]

...source> Returns void create create(options?: Record<string, any>, errors?: any[]): Node Overrides Prefab.create Defined in laya/resource/PrefabImpl.ts:43 创建一个 Parameters Optional options: Record<string, any> Optional errors: any[] Returns Node destroy destroy(): void Inherited...

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

138. 使用深度纹理绘制水面PC正常,Mobile出现条纹 [ 68%]

...小游戏:HTMLDivElement的使用 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target LayaAirIDE下如何使用mask? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. iphoneX环境下新手引导的抠图透明区域为黑...

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

139. 使用tiled map出现黑边,求指导 [ 68%]

...动呢?比如position或者scale 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小...

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

140. parameter 2 is not of type 'WebGLTexture' [ 68%]

...roperty 'BoxMesh' does not exist on type 'typeof Laya' Spine 格式转换, Error: Invalid timeline type for a slot:twoColor XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. 读URL parameter textinput(type=password)手机打开华为安全...

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