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

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

891. layacmd mac 系统安装不上,急 [ 65%]

...layacmd/node_modules/electron/install.js:47 throw err ^ Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/layacmd/node_modules/electron/.electron' npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron@1.8.6 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm E...

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

892. 一个修复Laya1.8.3中的粒子销毁时报错黑屏问题的思路 [ 65%]

...保证可靠。   参考:https://stackoverflow.com/questions/12427880/is-it-important-to-call-gldisablevertexattribarray   问题出在粒子系统的shader用到了很多顶点属性,一般的shader顶多用2~3个,粒子系统用到了10个,而这些属性在enableVertexAttribArray之后...

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

893. HTMLIframeElement报错 [ 65%]

...rseFromString(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

894. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 65%]

ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found 环境win10 layaboxide 2.6.0 beta 已经全局安装typescript,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported he...

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

895. 最新版LayaAir IDE 2.2.0beta4的几个问题 [ 65%]

...试(断点不触发,运行变灰)。 2、物理碰撞失效。 (onCollisionEnter没触发,确认碰撞盒和刚体都存在,在2.0的版本运行触发) 3、拖尾Trail Render的问题(因新项目需要拖尾,一直在关注这个版本更新,已解决了之前错乱和超长拖尾...

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

896. [LayaAir3]3.2spine动画和3.0.8效果不一样 [ 64%]

...,运行时会报错是什么原因的 sha3.ts:210 Uncaught TypeError: ft is not a function at node_modules/@noble/hashes/esm/sha3.js (sha3.ts:210:43) at bundle-f6bf8.js:1:232 at node_modules/viem/_esm/utils/hash/keccak256.js (bundle-f6bf8.js:1:21864) at bundle-f6bf8.js:1:232 at encodeEventTopics.t...

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

897. 给Dictionary添加个长度 [ 64%]

...ndex:int = _keys.indexOf(key); if (index >= 0) return index; key = (key is String) ? Number(key) : ((key is Number) ? key.toString() : key); return _keys.indexOf(key); } /** * 返回指定键名的值。 * @param key 键名对象。 * @return 指定键名的值。 */ public function get(key:*):* ...

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

898. Error: 代码包大小为 5533 kb,上限为 4096 kb,请删除文件后重试? [ 64%]

... { constructor() { console.log(Laya.Browser.width, Laya.Browser.height); this.current = { x: 0, y: Laya.Browser.height }; // Laya.stage.bgColor = "#3F51B5"; this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); } render() { console.log("render"); var l = [ 0, 0, 0, -(Laya.Browser.height >&gt...

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

899. tween complete 报错 以及如何判断对象正在缓动中 [ 64%]

...断对象是否正在缓动中的API,你可以自己定义个变量比如isComplete,默认值为true,当该变量为false时,表示处在缓动中,则调用complete(),否则调用to方法同时将该变量设为false,在缓动完成回调函数中将该值设为true。 注意complete()...

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

900. [LayaAirIDE 3.0]更新LayaAir 3.1.0-beta.1后编译不了 [ 64%]

...aya.core.js:1 Failed to load internal/sky.jpg: ReferenceError: ImageBitmap is not defined     at http://127.0.0.1:24647/game/li ... 14785     at async Promise.all (index 0)     at async Promise.all (index 0) warn @ laya.core.js:1 warnFailed @ laya.core.js:1 (anonymous) @ laya.core.js:1 Promise...

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