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

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

1. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 100%]

...content = readcontentfromfile(filepath, backuporiginalfile) if pos != None and pos > 0: content = content[:pos] + '\n' + add_content + '\n' + content[pos:] savefilewithnewcontent(content, filepath) return pos = content.find(probe) if pos != -1: if tofront: content = content[:pos] + add_content + ...

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

2. 设置声音 在 chrome 的一个警告 [ 89%]

....js:16299 [Deprecation] GainNode.gain.value setter smoothing is deprecated and will be removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details. (anonymous) @ laya.core.js:16299 SoundManager.playSo...

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

3. 打包安卓Android studio黑屏 [ 85%]

打包安卓Android studio黑屏 Laya2.0实例打包安卓,打开后LayaLogo加载解锁,就黑屏了。 2019-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 刘海东 赞同来自: 1111111111 2019-07-23...

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

4. Laya tiledmap 监听事件未响应 [ 85%]

...;          this.tiledMap.createMap("resource/tiledMap/isometric_grass_and_water.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800));      }      private mapLoaded(): void {         let _mapSprite = this.til...

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

5. 说的的新版本更新的问题呢 [ 82%]

... occurred; use the non-minified dev environment for the full error message and additional helpful warnings.乱起八糟也不知道什么错误,非得要我们自己手动的把substr改为原生的 每次更新库都得这样   问题2 另外一个 形状和形状的碰撞 这个好像也是很...

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

6. 在Laya中使用Matter.js的最简示例 (JS) [ 82%]

...er.create({ element: document.body, engine: engine }); // create two boxes and a ground var boxA = Bodies.rectangle(400, 200, 80, 80); var boxB = Bodies.rectangle(450, 50, 80, 80); var ground = Bodies.rectangle(400, 500, 810, 60, { isStatic: true }); // add all of the bodies to the world World.add(e...

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

7. VScode指令编译出错 [ 79%]

... in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. 附件 : --> FrameWork2_0.zip 2020-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠?...

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

8. 全局安装layaair2-cmd报错怎么办啊 [ 77%]

...pm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your depend...

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

9. layaair2-cmd无法编译 [ 74%]

...6:08] Starting 'compile'... stderr: events.js:167       throw er; // Unhandled 'error' event       ^ SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' exit:1   但是我是新创建的代码,一行代码都没改动 附件 : --> myLaya2.zip 2019-09-24 添加评...

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

10. Error: asBitmap no size! [ 72%]

...二进制数据出错:writeUint8 error - Out of range261, 怎样解决? Unhandled promise rejection: Error: Cannot navigate to invalid URL FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 问题状态 最新活动: 2020-09-20 00:58 浏览: 3092 关注: 3 人 果粒...

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