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

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

11. layacmd 安装不成功 [ 71%]

...ode install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the electron package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can ...

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

12. [0]laya-zip让你的游戏加载速度提升350%!! [ 69%]

...定文件资源。[size=14][code]// Loads the file at the specified path and uses it Laya.loader.create([{ url: "xx.zip", type:"ZIP",constructParams:["xx/xxx1.lh","xx/xxx2.lh"]}], Laya.Handler.create(this, () => { let player1 = Laya.loader.getRes("xx/xxx1.lh").clone(); let player2 = Laya.loader.g...

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

13. 官方案例里摄像机绕物体旋转脚本的问题 [ 68%]

...= new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3); /// <summary> /// Range limit of angle. /// </summary> public angleRange: MyRange = new MyRange(5, 90); ///...

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

14. 引擎代码严重问题 导致react报错 [ 68%]

... occurred; use the non-minified dev environment for the full error message and additional helpful warnings. jacksing888 • 2017-03-21 11:19 这里更加合理的做法应该是 自己封装一个函数 去调用 才是比较合理的 尽量少去污染全局的东西 cuixueying • 2017-03-21 11:19...

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

15. 运行器在手机上一打开就崩溃 [ 67%]

...22 15:28:49.255: E/LayaConch5(13400): >>>>>>>conchjar android-2.0.8 07-22 15:28:49.258: E/LayaConch5(13400): plugin-----------------onCreate()  07-22 15:28:49.275: E/LayaBox(13400): =======================addStaticMethod=========zzb98cfb20 07-22 15:28:49.275: E/0(13400): ======...

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

16. native 1.0.2 连不上wss [ 66%]

...bwebsockets version: 2.3.0 layabox_mac@localhost- NOTICE: IPV6 compiled in and enabled NOTICE: libev support not compiled in NOTICE: libuv support not compiled in NOTICE: Threads: 1 each 2560 fds NOTICE: mem: platform fd map: 20480 bytes NOTICE: Compiled with OpenSSL support NOTICE: Doing SSL librar...

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

17. 3D中摄像机绕物体旋转该如何实现? [ 65%]

...= new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3); /// <summary> /// Range limit of angle. /// </summary> public angleRange: MyRange = new MyRange(5, 90); ///...

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

18. 微信小游戏中不能加载proto文件 [ 64%]

... (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoBuf.load("res/protobuf/Login.proto", onAssetsLoaded);  function onAssetsL...

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

19. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 62%]

... this.loadFont(); }   loadFont() { const  BitmapFont = Laya.BitmapFont, Handler = Laya.Handler;   Laya.loader.load([{     url: ['res/bitmapFont/test.fnt'],     type: Laya.Loader.FONT }], Handler.create(this, () => {             console.log('bitmapFont loaded');               ...

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

20. 安装layaair2-cmd一直失败 [ 53%]

... npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage  due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. C:\Users\Administrator\AppData\Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\R...

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