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

大约有 622 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0051 秒)

401. [LayaAir3]全屏bug [ 59%]

...ue;   设置这个必报错。作用域不对。 发生异常: TypeError: this.event is not a function 附件 : --> 2023-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: 已在3.0.9中...

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

402. 导出素材,不拷贝未打包资源 [ 59%]

...g\npm\node_modules\layacmd\node_modules\@types' npm ERR! A complete log of this run can be found in: npm ERR!     C:\Users\itadmin3\AppData\Roaming\npm-cache\_logs\2017-10-27T02_56_ 14_026Z-debug.log 2017-10-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

403. 求解:2D项目中加载View,Laya.Scene.load应该如何使用? [ 59%]

...后,运行就不显示。 必须手动在View的runtime脚本中加一个this.loadScene("aaa.scene")才能正常显示。   但是我看API中说loadScene是为了兼容老项目用的,新项目用Laya.Scene.load。 包括官方文档也是这么写的:   然而我无论是在主场景的run...

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

404. worker的问题 [ 59%]

...接报错了 "Failed to construct 'Worker': Please use the 'new' operator, this DOM object constructor cannot be called as a function." 2018-01-08 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 还要在index.html中写啊,我以为在as3脚本里写就行了? 2018-01-08 0 1 分享 微...

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

405. 加材质后报错 [ 59%]

...WebGL: too many errors, no more errors will be reported to the console for this context. 2017-09-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 183*****755 赞同来自: 请附上简单示例和资源文件 201...

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

406. Opp rpk一启动就黑屏 [ 58%]

...age 05-31 15:57:02.604 17874 17959 E jswrapper: ERROR: Uncaught TypeError: this.drawImage is not a function, location: /data/user/0/com.nearme.instant.platform/app_game/app/com.fuck.module/1/libs/laya.core.js:0:0 05-31 15:57:02.604 17874 17959 E jswrapper: STACK: 05-31 15:57:02.604 17874 17959 E jsw...

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

407. Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 [ 58%]

...信 cuixueying 赞同来自: Tween.to(sp,{x:400},1000,null,Handler.create(this,onTweeed)) onTween就是你的缓动完成后的回调function 2017-01-04 0 2 分享 微博 QZONE 微信 匿名用户 赞同来自: function begingame(){     console.log("开始游戏");     var Tween   = Laya.Twee...

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

408. laya.utils.Handler_API3.0 [ 58%]

...caller caller: Object | null Defined in laya/utils/Handler.ts:14 执行域(this)。 method method: Function | null Defined in laya/utils/Handler.ts:16 处理方法。 once once: boolean = false Defined in laya/utils/Handler.ts:20 表示是否只执行一次。如果为true,回调后执行recover()...

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

409. 2.0 beta3 物理 DestroyJoint 报错 [ 58%]

...到box2d.b2World.prototype.DestroyJoint 在下面两行代码之前添加this.m_jointCount判断 box2d.ENABLE_ASSERTS && box2d.b2Assert(0 < this.m_jointCount); --this.m_jointCount;   完整代码如下: box2d.b2World.prototype.DestroyJoint = function(a) {     box2d.ENABLE_ASSERTS &am...

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

410. HTMLIframeElement报错 [ 58%]

...parseFromString(value,'text/xml'); if (rst.firstChild.textContent.indexOf("This page contains the following errors")>-1){ throw new Error(rst.firstChild.firstChild.textContent); } return rst; } 2018-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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