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

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

501. 官网的微信小游戏2D例子,发布以后无法运行 [ 84%]

...erenceError: Laya is not defined     at http://127.0.0.1:16026/game/code.js:29:15     at require (http://127.0.0.1:16026/game/__ ... :96033)     at http://127.0.0.1:16026/game/__ ... 95643     at http://127.0.0.1:16026/game/game.js:3:30     at require (http://127.0.0.1:16026/game/__ ... :9...

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

502. Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? [ 84%]

...后getImageData去替代即可。参考代码如下: // var imgdata=/*__JS__ */new ImageData(canvasWidth,canvasHeight); //注释这一句,这句是报错的地方             var canvx = new HTMLCanvas(true); //创建一个canvas             canvx.size(canvasWidth, canvas...

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

503. AS3怎样调用js里自定义的方法 [ 84%]

AS3怎样调用js里自定义的方法 AS3怎样调用js里自定义的方法 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: https://ldc.layabox.com/doc/?nav=zh-as-3-4-3    ...

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

504. box2d引擎报错问题 [ 84%]

...动到终点时再回收到Pool中,有概率报如下错误laya.physics.js:430 Uncaught TypeError: Cannot read property 'GetType' of null     at box2d.b2Fixture.GetType (laya.physics.js:430)     at box2d.b2ContactFactory.Create (laya.physics.js:576)     at box2d.b2ContactManager.AddPair (lay...

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

505. Laya.loader.load加载位图字体 [ 84%]

Laya.loader.load加载位图字体 在laya.core.js16251行 __proto.onLoaded   else if (type==="font"){//这里,启用webgl后,HTMLImage.create返回的是Texture2D,不是HTMLImage,data上没有_source这个属性 //导致重复加载图片,走不到else里面,if的判断是否应该改为 ...

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

506. 小程序不支持matter.js[ 84%]

小程序不支持matter.js吗 VM145:1 gameThirdScriptError Matter is not defined ReferenceError: Matter is not defined at http://xxx.xxx.x.x:14680/game/code.js:1:839076 at http://xxx.xxx.x.x:14680/game/code.js:1:843108 at require (http://xxx.xxx.x.x:14680/game/ ... :77964) at http://xxx.xxx.x.x:14...

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

507. 如何使用类似AS库打包的方式来分包 [ 84%]

...ework'); return Framework; })() })(window,document,Laya);  可见,分包js内并无ToolA。   2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 在你的启动文件的导包...

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

508. 关于直播流 [ 84%]

关于直播流 目前JS有第三方的库可以支持hls的直播流,不知道我们引擎在as3方向有没有这方面的规划。 2017-03-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同...

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

509. 源码List的一次代码错误 [ 84%]

...言服务(2.1.5)。可能出现不一致的编译错误 请问layaair2.0-js 怎么用程序在list中添加多元素的item 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 List滑动条会引起单元格上的按钮点击后多次触发点...

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

510. ios打包单机版本问题,显示conchShader找不到和Status bar could not find cached time string image. 然后直接黑屏!!!!!! [ 84%]

...string image. 然后直接黑屏!!!!!! layabox[4357:2764240] ==JSERROR: exception info: [ReferenceError: Can't find variable: ConchShader] at line 21042 layabox[4357:2763988] Status bar could not find cached time string image. Rendering in-process. 2018-04-28 15:33:09.747096+0800 layabox...

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