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

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

11. 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

12. 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

13. [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

14. 官方案例里摄像机绕物体旋转脚本的问题 [ 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

15. 引擎代码严重问题 导致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

16. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 67%]

...eout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); function processHandler(data){ console.log(data); } function errorHandler(data){ } funct...

来源: Laya2.0_文档 发布时间: 20210714

17. 运行器在手机上一打开就崩溃 [ 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

18. 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

19. 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

20. 微信小游戏中不能加载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