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

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

1. js飞机大战报错 请大神看看 [ 100%]

...钮 label)都是"空的" 一访问就报出异常   我查了layaUI.max.all.js文件 里面的组件名正确  layaUI.max.all.js:          this.pauseBtn=null;          this.hpLabel=null;          this.levelLabel=null;          this.scoreLabel=null;          ...

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

2. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 88%]

...in { constructor() { Laya.init(480, 852); Laya.stage.scaleMode = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("r...

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

3. playSound和playMusic结束时候有异常抛出 [ 87%]

...;         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage.alignH = "center";         //设置横竖屏         Laya.stage.screenMode = "vertical";         //显示FPS         Laya.Stat.show(0, 50);     ...

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

4. 针对2.0.0 beta5 setLoadingPage 做增强 [ 77%]

...his.openScene) Laya.Scene.showLoadingPage(null, 0) // 同步执行 Promise.all([this._load(url, progress), otherHandler()]).then(res => { let nextScene = res[0] if (res.length > 1) param = .concat((param || ), [res[1]]) nextScene.open(closeOther, param) if (complete) complete.runWith(nextScene...

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

5. layacmd 安装不成功 [ 74%]

...trator\AppData\Roaming\npm\node_modules\layacmd\node_modules\ele ctron\install.js:48 throw err ^ Error: read ECONNRESET at exports._errnoException (util.js:1022:11) at TLSWrap.onread (net.js:569:26) C:\Users\Administrator\AppData\Roaming\npm `-- (empty) npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:...

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

6. 苹果审核发现使用了私有API [ 74%]

... in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store. 2018-02-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_XS 赞同来自: 你的问题已经...

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

7. 打包成LayaNative之后,在oppo r9s和小米note上面,程序后台经常卡死Anr [ 68%]

...,只要是Android回调了onPause之后出现一些问题:   suspend all histogram: Sum: 10.466ms 99% C.I. 3us-1564.320us Avg: 222.680us Max: 1613us DALVIK THREADS (140): "Signal Catcher" daemon prio=5 tid=2 Runnable   | group="system" sCount=0 dsCount=0 obj=0x32c070a0 self=0xaebd7000   | sys...

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

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

...r ground = Bodies.rectangle(400, 500, 810, 60, { isStatic: true }); // add all of the bodies to the world World.add(engine.world, [boxA, boxB, ground]); // run the engine Engine.run(engine); // run the renderer Render.run(render);显示效果如下 但是这还没有用Laya来渲染,需要做下...

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

9. 打包成Android的apk之后,在某些机型一后台就有很大几率发现卡死Anr的情况,有anr日志 [ 67%]

...,主要是Android回调了onPause之后出现一些问题:   suspend all histogram: Sum: 10.466ms 99% C.I. 3us-1564.320us Avg: 222.680us Max: 1613us DALVIK THREADS (140): "Signal Catcher" daemon prio=5 tid=2 Runnable   | group="system" sCount=0 dsCount=0 obj=0x32c070a0 self=0xaebd7000   | sys...

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

10. 安装layaair2-cmd一直失败 [ 66%]

...np m\node_modules\layaair2-cmd\layaair2-cmd.js > core-js@2.6.11 postinstall C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for pol...

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