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

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

101. Array buffer allocation failed [ 65%]

...load resource: net::ERR_FILE_NOT_FOUND 2.0.0编译报错Cannot find global type 'Array' 求助!华为快游戏发布后报错 Unexpected end of JSON input Failed to load: 调试工具正常,真机报错:Request failed Status:0 text( 加载场景失败) HttpRequest在ios系统出现Request ...

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

102. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 65%]

...XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObj...

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

103. config.jsh中无法使用confirm [ 65%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 请问2.0的版本开始,我用ts编写的相关内容,都要使用impo...

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

104. 本地双击html如何打开laya项目? [ 65%]

...() > 0 && file.exists() && file.isFile()) { i.setDataAndType(Uri.parse("file://" + filePath), "application/vnd.android.package-archive" ); i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity( i); return true ; } return false ; }  安装完之后,我们只需要根...

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

105. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 65%]

...成操作的机会;就是简单的立即停止 ### 属性 | Property | Type | Description | | ----------- | ---------------------------------------- | ---------------------------------------- | | `onmessage` | [`EventListener`](https://developer.mozilla.org/zh-CN/docs/Web/API/EventListener) | 一...

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

106. ts项目,我在程序主入口声明了公共静态类,下面new出了一个对象,把他添加到舞台中出错。 [ 65%]

...3A/LAYABOX/CaiCi/src/GameMain.ts' severity: '错误' message: 'Argument of type 'GameStart' is not assignable to parameter of type 'Node'. Property '_childs' is missing in type 'GameStart'.' at: '56,29' source: 'ts' 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

107. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 65%]

...成操作的机会;就是简单的立即停止 ### 属性 | Property | Type | Description | | ----------- | ---------------------------------------- | ---------------------------------------- | | `onmessage` | [`EventListener`](https://developer.mozilla.org/zh-CN/docs/Web/API/EventListener) | 一...

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

108. 播放音效时报错Failed to set the 'buffer' property on 'AudioBufferSourceNode'的问题 [ 64%]

...'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.",我把这段代码注释掉之后就没有了,希望有大佬能够解答一下,哈哈 2018-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

109. 如何使用graphics绘画虚线 [ 64%]

...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 使用钢体设置防穿后仍有几率会穿透 关于使用matterjs物理引擎鼠标问题 预设怎么在代码中使用 问题状态 最新...

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

110. import Event = laya.events.Event; 报错 [ 64%]

...录 发起人 136*****441 相关问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 请问2.0的版本开始,我用ts编写的相关内容,都要...

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